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:
Christian König
2019-03-18 15:28:25 +01:00
committed by Alex Deucher
parent d1e29462a0
commit 802a4a484a

View File

@@ -1390,7 +1390,7 @@ restart:
params.func = amdgpu_vm_cpu_set_ptes;
} else {
ndw = 512 * 8;
ndw = 512;
r = amdgpu_job_alloc_with_ib(adev, ndw * 4, &job);
if (r)
return r;