drm/amdgpu: reserve less memory for PDE updates
Allocating 16KB was way to much, just use 2KB as a start for now. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
d1e29462a0
commit
802a4a484a
@@ -1390,7 +1390,7 @@ restart:
|
|||||||
|
|
||||||
params.func = amdgpu_vm_cpu_set_ptes;
|
params.func = amdgpu_vm_cpu_set_ptes;
|
||||||
} else {
|
} else {
|
||||||
ndw = 512 * 8;
|
ndw = 512;
|
||||||
r = amdgpu_job_alloc_with_ib(adev, ndw * 4, &job);
|
r = amdgpu_job_alloc_with_ib(adev, ndw * 4, &job);
|
||||||
if (r)
|
if (r)
|
||||||
return r;
|
return r;
|
||||||
|
|||||||
Reference in New Issue
Block a user