aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
diff options
context:
space:
mode:
authorMonk Liu <Monk.Liu@amd.com>2016-03-04 14:42:26 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-05-02 15:19:42 -0400
commitcccd9bce978a6644bae75304a05db4faa36faec7 (patch)
tree462a9d2edf302026416345c40cd61ce16960478c /drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
parentdrm/amdgpu: put job to list before done (diff)
downloadlinux-dev-cccd9bce978a6644bae75304a05db4faa36faec7.tar.xz
linux-dev-cccd9bce978a6644bae75304a05db4faa36faec7.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/scheduler/gpu_scheduler.h')
-rw-r--r--drivers/gpu/drm/amd/scheduler/gpu_scheduler.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
index 2e3b8308186c..b26148d24a3d 100644
--- a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
+++ b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
@@ -74,8 +74,6 @@ struct amd_sched_fence {
struct amd_gpu_scheduler *sched;
spinlock_t lock;
void *owner;
- struct delayed_work dwork;
- struct list_head list;
struct amd_sched_job *s_job;
};
@@ -127,8 +125,6 @@ struct amd_gpu_scheduler {
wait_queue_head_t wake_up_worker;
wait_queue_head_t job_scheduled;
atomic_t hw_rq_count;
- struct list_head fence_list;
- spinlock_t fence_list_lock;
struct task_struct *thread;
struct list_head ring_mirror_list;
spinlock_t job_list_lock;