drm/amdgpu: reset VM when an error is detected
authorChristian König <christian.koenig@amd.com>
Tue, 18 Apr 2023 11:18:01 +0000 (13:18 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 15:37:55 +0000 (11:37 -0400)
commit55bf196f60dfc89488c5645d112a9176c6fe4708
tree0997bf3072399c09cf697eb3ad69929855dff67a
parente84e697d92d9d84ca13b4440cea36abe9a2fe079
drm/amdgpu: reset VM when an error is detected

When some problem with the updates of page tables is detected reset the
state machine of the VM and re-create all page tables from scratch.

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