drm/amdgpu: get rid of incorrect TDR
authorMonk Liu <Monk.Liu@amd.com>
Fri, 4 Mar 2016 06:42:26 +0000 (14:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 May 2016 19:19:42 +0000 (15:19 -0400)
commitcccd9bce978a6644bae75304a05db4faa36faec7
tree462a9d2edf302026416345c40cd61ce16960478c
parent4835096b07420c1d74cc5711c461830016e6cb03
drm/amdgpu: get rid of incorrect TDR

original time out detect routine is incorrect, cuz it measures
the gap from job scheduled, but we should only measure the
gap from processed by hw.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h