summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index dd0197d6..84983cc6 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -68,7 +68,8 @@ struct channel_ctx_gk20a {
68struct channel_gk20a_job { 68struct channel_gk20a_job {
69 struct mapped_buffer_node **mapped_buffers; 69 struct mapped_buffer_node **mapped_buffers;
70 int num_mapped_buffers; 70 int num_mapped_buffers;
71 struct gk20a_channel_fence fence; 71 struct gk20a_channel_fence pre_fence;
72 struct gk20a_channel_fence post_fence;
72 struct list_head list; 73 struct list_head list;
73}; 74};
74 75
@@ -112,7 +113,10 @@ struct channel_gk20a {
112 u32 timeout_gpfifo_get; 113 u32 timeout_gpfifo_get;
113 114
114 bool cmds_pending; 115 bool cmds_pending;
115 struct gk20a_channel_fence last_submit_fence; 116 struct {
117 struct gk20a_channel_fence pre_fence;
118 struct gk20a_channel_fence post_fence;
119 } last_submit;
116 120
117 void (*remove_support)(struct channel_gk20a *); 121 void (*remove_support)(struct channel_gk20a *);
118#if defined(CONFIG_GK20A_CYCLE_STATS) 122#if defined(CONFIG_GK20A_CYCLE_STATS)