mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Adjust GmmHelper to be HW aware
Related-To: NEO-6523 Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6d43e96dee
commit
c229ace4df
@@ -442,7 +442,7 @@ bool Wddm::mapGpuVirtualAddress(Gmm *gmm, D3DKMT_HANDLE handle, D3DGPU_VIRTUAL_A
|
||||
|
||||
NTSTATUS status = getGdi()->mapGpuVirtualAddress(&mapGPUVA);
|
||||
|
||||
auto gmmHelper = rootDeviceEnvironment.getGmmHelper();
|
||||
auto gmmHelper = gmm->getGmmHelper();
|
||||
gpuPtr = gmmHelper->canonize(mapGPUVA.VirtualAddress);
|
||||
|
||||
if (status == STATUS_PENDING) {
|
||||
|
||||
Reference in New Issue
Block a user