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>
Wed, 12 Jul 2023 16:07:13 +0000 (12:07 -0400)
commit8a774fe912ff09e39c2d3a3589c729330113f388
tree7063d3d7fdce8a811c858930ddfaac9281d11cf1
parentd934e537c14bfe1227ced6341472571f354383e8
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c