drm/amdgpu: suppress repeating tmo report
Subsystems (2)
PATCH 1/1 drm/amdgpu: suppress repeating tmo report
only report once per TMO job and the timer would be restarted upon the job finished if it's just slow.
Suggested-by Christian König <[email protected]>
Signed-off-by Monk Liu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +2 -0
@@ -51,6 +51,8 @@ static void amdgpu_job_timedout(struct drm_sched_job *s_job)if (amdgpu_device_should_recover_gpu (ring->adev))amdgpu_device_gpu_recover (ring->adev, job); +else +drm_sched_suspend_timeout (&ring->sched); } int amdgpu_job_alloc(struct amdgpu_device *adev, unsigned num_ibs,
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1557727298-21050-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org
Christian König
Reviewed-byAm 13.05.19 um 08:01 schrieb Monk Liu:
Quoted 5 lines
only report once per TMO job and the timer would be restarted upon the job finished if it's just slow.
Suggested-by Christian König <[email protected]>Signed-off-by Monk Liu <[email protected]>
Reviewed-by Christian König <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c static void amdgpu_job_timedout(struct drm_sched_job *s_job) · line 58
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +2
-0@@ -51,6 +51,8 @@ static void amdgpu_job_timedout(struct drm_sched_job *s_job)if (amdgpu_device_should_recover_gpu (ring->adev))amdgpu_device_gpu_recover (ring->adev, job); +else +drm_sched_suspend_timeout (&ring->sched); } int amdgpu_job_alloc(struct amdgpu_device *adev, unsigned num_ibs,
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx