]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add graceful VM fault handling v3
authorChristian König <christian.koenig@amd.com>
Fri, 7 Dec 2018 14:18:43 +0000 (15:18 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:42:55 +0000 (10:42 -0500)
commitf709983271ef740d76144e3dd56f5679671207ad
tree10c9ba5161733d391d5430f85a66de07922925f9
parent1aa967db9aa0fb0456bb84a6541024eacceb84bf
drm/amdgpu: add graceful VM fault handling v3

Next step towards HMM support. For now just silence the retry fault and
optionally redirect the request to the dummy page.

v2: make sure the VM is not destroyed while we handle the fault.
v3: fix VM destroy check, cleanup comments

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