summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index 0d511499..4b94f863 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -28,6 +28,7 @@
28 28
29#define GR_IDLE_CHECK_DEFAULT 100 /* usec */ 29#define GR_IDLE_CHECK_DEFAULT 100 /* usec */
30#define GR_IDLE_CHECK_MAX 5000 /* usec */ 30#define GR_IDLE_CHECK_MAX 5000 /* usec */
31#define GR_FECS_POLL_INTERVAL 5 /* usec */
31 32
32#define INVALID_SCREEN_TILE_ROW_OFFSET 0xFFFFFFFF 33#define INVALID_SCREEN_TILE_ROW_OFFSET 0xFFFFFFFF
33#define INVALID_MAX_WAYS 0xFFFFFFFF 34#define INVALID_MAX_WAYS 0xFFFFFFFF
@@ -491,7 +492,8 @@ int gr_gk20a_wait_idle(struct gk20a *g, unsigned long end_jiffies,
491 u32 expect_delay); 492 u32 expect_delay);
492int gr_gk20a_init_ctx_state(struct gk20a *g); 493int gr_gk20a_init_ctx_state(struct gk20a *g);
493int gr_gk20a_submit_fecs_method_op(struct gk20a *g, 494int gr_gk20a_submit_fecs_method_op(struct gk20a *g,
494 struct fecs_method_op_gk20a op); 495 struct fecs_method_op_gk20a op,
496 bool sleepduringwait);
495int gr_gk20a_alloc_gr_ctx(struct gk20a *g, 497int gr_gk20a_alloc_gr_ctx(struct gk20a *g,
496 struct gr_ctx_desc **__gr_ctx, struct vm_gk20a *vm, 498 struct gr_ctx_desc **__gr_ctx, struct vm_gk20a *vm,
497 u32 class, u32 padding); 499 u32 class, u32 padding);