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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index dc43c532..70addf13 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -42,6 +42,8 @@
42 42
43#define RC_TYPE_NORMAL 0 43#define RC_TYPE_NORMAL 0
44#define RC_TYPE_MMU_FAULT 1 44#define RC_TYPE_MMU_FAULT 1
45#define RC_TYPE_PBDMA_FAULT 2
46#define RC_TYPE_NO_RC 0xff
45 47
46/* 48/*
47 * Number of entries in the kickoff latency buffer, used to calculate 49 * Number of entries in the kickoff latency buffer, used to calculate
@@ -391,4 +393,8 @@ bool gk20a_fifo_check_tsg_ctxsw_timeout(struct tsg_gk20a *tsg,
391 bool *verbose, u32 *ms); 393 bool *verbose, u32 *ms);
392bool gk20a_fifo_handle_sched_error(struct gk20a *g); 394bool gk20a_fifo_handle_sched_error(struct gk20a *g);
393 395
396void gk20a_fifo_reset_pbdma_method(struct gk20a *g, int pbdma_id,
397 int pbdma_method_index);
398unsigned int gk20a_fifo_handle_pbdma_intr_0(struct gk20a *g, u32 pbdma_id,
399 u32 pbdma_intr_0, u32 *handled, u32 *error_notifier);
394#endif /*__GR_GK20A_H__*/ 400#endif /*__GR_GK20A_H__*/