mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Refactor: Change decanonize method accessing point
Accessing decanonize method as a member of GmmHelper class object Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
7bb3bcbc05
commit
2fcda0a528
@ -797,7 +797,7 @@ bool WddmMemoryManager::mapMultiHandleAllocationWithRetry(WddmAllocation *alloca
|
||||
wddm.destroyAllocations(&allocation->getHandles()[0], allocation->getNumGmms(), allocation->resourceHandle);
|
||||
return false;
|
||||
}
|
||||
gpuAddress = GmmHelper::decanonize(gpuAddress);
|
||||
gpuAddress = getGmmHelper(allocation->getRootDeviceIndex())->decanonize(gpuAddress);
|
||||
UNRECOVERABLE_IF(addressToMap != gpuAddress);
|
||||
addressToMap += allocation->getGmm(currentHandle)->gmmResourceInfo->getSizeAllocation();
|
||||
}
|
||||
|
Reference in New Issue
Block a user