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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index 7216302c..5866dd1b 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -44,6 +44,7 @@ enum {
44#define FIFO_INVAL_ENGINE_ID ((u32)~0) 44#define FIFO_INVAL_ENGINE_ID ((u32)~0)
45#define FIFO_INVAL_CHANNEL_ID ((u32)~0) 45#define FIFO_INVAL_CHANNEL_ID ((u32)~0)
46#define FIFO_INVAL_TSG_ID ((u32)~0) 46#define FIFO_INVAL_TSG_ID ((u32)~0)
47#define FIFO_INVAL_RUNLIST_ID ((u32)~0)
47 48
48#define ID_TYPE_CHANNEL 0 49#define ID_TYPE_CHANNEL 0
49#define ID_TYPE_TSG 1 50#define ID_TYPE_TSG 1
@@ -374,7 +375,7 @@ u32 gk20a_fifo_intr_0_error_mask(struct gk20a *g);
374int gk20a_fifo_is_preempt_pending(struct gk20a *g, u32 id, unsigned int id_type, 375int gk20a_fifo_is_preempt_pending(struct gk20a *g, u32 id, unsigned int id_type,
375 unsigned int timeout_rc_type); 376 unsigned int timeout_rc_type);
376int __locked_fifo_preempt(struct gk20a *g, u32 id, bool is_tsg); 377int __locked_fifo_preempt(struct gk20a *g, u32 id, bool is_tsg);
377void __locked_fifo_preempt_timeout_rc(struct gk20a *g, u32 id, 378void gk20a_fifo_preempt_timeout_rc(struct gk20a *g, u32 id,
378 unsigned int id_type); 379 unsigned int id_type);
379int gk20a_fifo_setup_ramfc(struct channel_gk20a *c, 380int gk20a_fifo_setup_ramfc(struct channel_gk20a *c,
380 u64 gpfifo_base, u32 gpfifo_entries, 381 u64 gpfifo_base, u32 gpfifo_entries,