]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix VM leaf walking
authorChristian König <christian.koenig@amd.com>
Wed, 24 Oct 2018 14:25:23 +0000 (16:25 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Oct 2018 18:27:06 +0000 (13:27 -0500)
commit992316b48f1e7cc8f4287f0a796e2e2359c70593
tree347a2d81b8b35e50ec1ad94f6e0cd856ababbfef
parent78f4ea891b02fcd22c23b892c0988116c318a4c2
drm/amdgpu: fix VM leaf walking

Make sure we don't try to go down further after the leave walk already
ended. This fixes a crash with a new VM test.

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