]> 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)
commit009e735d75f60327c60061365ed224eafed89899
treecb868a271f83fb6157b3f2b7fed0411c2d2f8294
parent26034c66695b52aab74fc9839d72fff7cda49bd1
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