Adjustments based on previous handlings for descriptors usage

This commit is contained in:
CamilleLaVey
2026-09-05 13:23:21 -04:00
parent c246f02697
commit 4e33c74895
8 changed files with 69 additions and 43 deletions
+6
View File
@@ -145,6 +145,10 @@ public:
return gpu_addr < address_space_size;
}
u64 MappingGeneration() const noexcept {
return mapping_generation.load(std::memory_order_acquire);
}
PTEKind GetPageKind(GPUVAddr gpu_addr) const;
size_t GetMemoryLayoutSize(GPUVAddr gpu_addr,
@@ -197,6 +201,8 @@ private:
VideoCore::RasterizerInterface* rasterizer = nullptr;
std::atomic<u64> mapping_generation{1};
enum class EntryType : u64 {
Free = 0,
Reserved = 1,