drm/amdgpu: stop resubmittting jobs in amdgpu_pci_resume
authorChristian König <christian.koenig@amd.com>
Wed, 26 Oct 2022 10:48:24 +0000 (12:48 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 20:25:45 +0000 (15:25 -0500)
The state of VRAM is unreliable due to a PCI event like AER, link reset
or DPC.

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

index 62b5080..0f5cbc7 100644 (file)
@@ -5760,8 +5760,6 @@ void amdgpu_pci_resume(struct pci_dev *pdev)
                if (!ring || !ring->sched.thread)
                        continue;
 
-
-               drm_sched_resubmit_jobs(&ring->sched);
                drm_sched_start(&ring->sched, true);
        }