diff options
author | Christian König <christian.koenig@amd.com> | 2022-10-26 12:48:24 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-15 15:25:45 -0500 |
commit | 0788a47e7cec7ebdcb1ad8912754b8b8b06ee915 (patch) | |
tree | d3df0ce42580ba1cf340ebf563ae3a5fd3f02200 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 6868a2c46560670efc0d1f2b446cc57edcaf960d (diff) |
drm/amdgpu: stop resubmittting jobs in amdgpu_pci_resume
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 62b508053eb1..0f5cbc70682a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -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); } |