summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index 8a4e0a8f..f94fce02 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -22,6 +22,7 @@
22#define __FIFO_GK20A_H__ 22#define __FIFO_GK20A_H__
23 23
24#include "channel_gk20a.h" 24#include "channel_gk20a.h"
25#include "tsg_gk20a.h"
25 26
26#define MAX_RUNLIST_BUFFERS 2 27#define MAX_RUNLIST_BUFFERS 2
27 28
@@ -111,6 +112,9 @@ struct fifo_gk20a {
111 struct channel_gk20a *channel; 112 struct channel_gk20a *channel;
112 struct mutex ch_inuse_mutex; /* protect unused chid look up */ 113 struct mutex ch_inuse_mutex; /* protect unused chid look up */
113 114
115 struct tsg_gk20a *tsg;
116 struct mutex tsg_inuse_mutex;
117
114 void (*remove_support)(struct fifo_gk20a *); 118 void (*remove_support)(struct fifo_gk20a *);
115 bool sw_ready; 119 bool sw_ready;
116 struct { 120 struct {