summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
diff options
context:
space:
mode:
authorChunming Zhou <David1.Zhou@amd.com>2016-06-30 06:23:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 22:06:13 +0300
commit754ce0fa55c4e464626e961ddb98f935ab85aa19 (patch)
tree489d8f3d127e768357bc6ffd8a468fa9a38bfc35 /drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
parentf263ec622f06c3cf2da3a29e5ad0184dc50d1c2c (diff)
downloadlinux-754ce0fa55c4e464626e961ddb98f935ab85aa19.tar.xz
drm/amd: add parent for sched fence
Parent of sched fence is hw fence which is to signal sched fence. Signed-off-by: Chunming Zhou <David1.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
index 9024dc5592e3..545fda73a05f 100644
--- a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
+++ b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
@@ -69,6 +69,7 @@ struct amd_sched_fence {
struct fence scheduled;
struct fence finished;
struct fence_cb cb;
+ struct fence *parent;
struct amd_gpu_scheduler *sched;
spinlock_t lock;
void *owner;