]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Avoid endless loop in GPUVM fragment processing
authorFelix Kuehling <Felix.Kuehling@amd.com>
Sun, 25 Nov 2018 04:25:04 +0000 (23:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 19:38:48 +0000 (14:38 -0500)
commitaf0c55b8509201037cf37908f639f93fe66538f2
treecb868a271f83fb6157b3f2b7fed0411c2d2f8294
parentdff3158281bdbf129f7ba552fe723a2191447936
drm/amdgpu: Avoid endless loop in GPUVM fragment processing

Don't bounce back to the root level for fragment processing, because
huge pages are not supported at that level. This is unlikely to happen
with the default VM size on Vega, but can be exposed by limiting the
VM size with the amdgpu.vm_size module parameter.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c