aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/memory_manager.h
diff options
context:
space:
mode:
authorbunnei <[email protected]>2022-08-14 02:36:36 -0700
committerFernando Sahmkow <[email protected]>2022-10-06 21:00:53 +0200
commitf5fd6b5c8674fcf64a3e70809ee0a34d3a95beb6 (patch)
tree5156a04816d6556b8babe7d69301f18098b8dd1d /src/video_core/memory_manager.h
parentb2099fbdcc3cb213aec8f836033fb02c4b6bbd09 (diff)
downloadyuzu-mainline-f5fd6b5c8674fcf64a3e70809ee0a34d3a95beb6.tar.gz
yuzu-mainline-f5fd6b5c8674fcf64a3e70809ee0a34d3a95beb6.zip
DMA & InlineToMemory Engines Rework.
Diffstat (limited to 'src/video_core/memory_manager.h')
-rw-r--r--src/video_core/memory_manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h
index 8f8877a92..9c08edc20 100644
--- a/src/video_core/memory_manager.h
+++ b/src/video_core/memory_manager.h
@@ -104,6 +104,12 @@ public:
void FlushRegion(GPUVAddr gpu_addr, size_t size) const;
+ void InvalidateRegion(GPUVAddr gpu_addr, size_t size) const;
+
+ bool IsMemoryDirty(GPUVAddr gpu_addr, size_t size) const;
+
+ size_t MaxContinousRange(GPUVAddr gpu_addr, size_t size) const;
+
private:
template <bool is_big_pages, typename FuncMapped, typename FuncReserved, typename FuncUnmapped>
inline void MemoryOperation(GPUVAddr gpu_src_addr, std::size_t size, FuncMapped&& func_mapped,