drm/amdgpu: avoid restore process run into dead loop.
authorgaba <gaba@amd.com>
Fri, 3 Mar 2023 00:03:56 +0000 (19:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Jul 2023 13:02:37 +0000 (09:02 -0400)
commitedc857a682bb6a69367a707db3ebc31de5bd19ce
tree8412d70314070e04771dbf5537c001919615f01d
parent0127ab1bdc61909b0338b00f2737f5fe3860e322
drm/amdgpu: avoid restore process run into dead loop.

In restore process worker, pinned BO cause update PTE fail, then
the function re-schedule the restore_work. This will generate dead loop.

Signed-off-by: gaba <gaba@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_amdkfd_gpuvm.c