diff options
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, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index b895584bb99f..13acef526c5b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -3325,7 +3325,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev, | |||
3325 | if (job && job->base.sched == &ring->sched) | 3325 | if (job && job->base.sched == &ring->sched) |
3326 | continue; | 3326 | continue; |
3327 | 3327 | ||
3328 | drm_sched_hw_job_reset(&ring->sched, &job->base); | 3328 | drm_sched_hw_job_reset(&ring->sched, job ? &job->base : NULL); |
3329 | 3329 | ||
3330 | /* after all hw jobs are reset, hw fence is meaningless, so force_completion */ | 3330 | /* after all hw jobs are reset, hw fence is meaningless, so force_completion */ |
3331 | amdgpu_fence_driver_force_completion(ring); | 3331 | amdgpu_fence_driver_force_completion(ring); |