mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Delegate all MemoryManager::getResidencyAllocations() calls through CSR
Change-Id: I9cfbfd86d39b5341598ff2bd8883e13605c58b72 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
888b067adc
commit
fafde2ec15
@@ -224,7 +224,7 @@ void WddmCommandStreamReceiver<GfxFamily>::initPageTableManagerRegisters(LinearS
|
||||
|
||||
template <typename GfxFamily>
|
||||
void WddmCommandStreamReceiver<GfxFamily>::kmDafLockAllocations(ResidencyContainer *allocationsForResidency) {
|
||||
auto &residencyAllocations = allocationsForResidency ? *allocationsForResidency : getMemoryManager()->getResidencyAllocations();
|
||||
auto &residencyAllocations = allocationsForResidency ? *allocationsForResidency : this->getResidencyAllocations();
|
||||
|
||||
for (uint32_t i = 0; i < residencyAllocations.size(); i++) {
|
||||
auto graphicsAllocation = residencyAllocations[i];
|
||||
|
||||
Reference in New Issue
Block a user