Use correct aperture for _fmm_unmap_from_gpu_scratch
Passing in the wrong aperture resulted in failure to unmap scratch. Change-Id: Icd7423abfb1bcc773b33becffcbefc233f4ff340
This commit is contained in:
committed by
Gerrit Code Review
parent
0c234c7ef3
commit
bd93eecc64
@@ -1309,7 +1309,7 @@ int fmm_unmap_from_gpu(void *address)
|
|||||||
if ((address >= gpu_mem[i].scratch_physical.base) &&
|
if ((address >= gpu_mem[i].scratch_physical.base) &&
|
||||||
(address <= gpu_mem[i].scratch_physical.limit))
|
(address <= gpu_mem[i].scratch_physical.limit))
|
||||||
return _fmm_unmap_from_gpu_scratch(gpu_mem[i].gpu_id,
|
return _fmm_unmap_from_gpu_scratch(gpu_mem[i].gpu_id,
|
||||||
&gpu_mem[i].gpuvm_aperture,
|
&gpu_mem[i].scratch_physical,
|
||||||
address);
|
address);
|
||||||
|
|
||||||
if ((address >= gpu_mem[i].gpuvm_aperture.base) &&
|
if ((address >= gpu_mem[i].gpuvm_aperture.base) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user