mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Move residency and eviction allocations from MemoryManager to CSR
Change-Id: I44185b35375f4cc9d58cac14cac1edefaacde652 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
fa30e0dc1f
commit
8df30ceac1
@@ -227,17 +227,6 @@ class MemoryManager {
|
||||
void setVirtualPaddingSupport(bool virtualPaddingSupport) { virtualPaddingAvailable = virtualPaddingSupport; }
|
||||
GraphicsAllocation *peekPaddingAllocation() { return paddingAllocation; }
|
||||
|
||||
void pushAllocationForResidency(GraphicsAllocation *gfxAllocation);
|
||||
void clearResidencyAllocations();
|
||||
ResidencyContainer &getResidencyAllocations() {
|
||||
return residencyAllocations;
|
||||
}
|
||||
void pushAllocationForEviction(GraphicsAllocation *gfxAllocation);
|
||||
void clearEvictionAllocations();
|
||||
ResidencyContainer &getEvictionAllocations() {
|
||||
return evictionAllocations;
|
||||
}
|
||||
|
||||
DeferredDeleter *getDeferredDeleter() const {
|
||||
return deferredDeleter.get();
|
||||
}
|
||||
@@ -274,8 +263,6 @@ class MemoryManager {
|
||||
bool virtualPaddingAvailable = false;
|
||||
GraphicsAllocation *paddingAllocation = nullptr;
|
||||
void applyCommonCleanup();
|
||||
ResidencyContainer residencyAllocations;
|
||||
ResidencyContainer evictionAllocations;
|
||||
std::unique_ptr<DeferredDeleter> deferredDeleter;
|
||||
bool asyncDeleterEnabled = false;
|
||||
bool enable64kbpages = false;
|
||||
|
||||
Reference in New Issue
Block a user