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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index 06ce96e7..ee528c31 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -320,6 +320,7 @@ struct gr_gk20a {
320 u32 alpha_cb_default_size; 320 u32 alpha_cb_default_size;
321 u32 alpha_cb_size; 321 u32 alpha_cb_size;
322 u32 timeslice_mode; 322 u32 timeslice_mode;
323 u32 czf_bypass;
323 324
324 struct gr_ctx_buffer_desc global_ctx_buffer[NR_GLOBAL_CTX_BUF]; 325 struct gr_ctx_buffer_desc global_ctx_buffer[NR_GLOBAL_CTX_BUF];
325 326
@@ -563,6 +564,10 @@ struct nvgpu_dbg_gpu_reg_op;
563int gr_gk20a_exec_ctx_ops(struct channel_gk20a *ch, 564int gr_gk20a_exec_ctx_ops(struct channel_gk20a *ch,
564 struct nvgpu_dbg_gpu_reg_op *ctx_ops, u32 num_ops, 565 struct nvgpu_dbg_gpu_reg_op *ctx_ops, u32 num_ops,
565 u32 num_ctx_wr_ops, u32 num_ctx_rd_ops); 566 u32 num_ctx_wr_ops, u32 num_ctx_rd_ops);
567int __gr_gk20a_exec_ctx_ops(struct channel_gk20a *ch,
568 struct nvgpu_dbg_gpu_reg_op *ctx_ops, u32 num_ops,
569 u32 num_ctx_wr_ops, u32 num_ctx_rd_ops,
570 bool ch_is_curr_ctx);
566int gr_gk20a_get_ctx_buffer_offsets(struct gk20a *g, 571int gr_gk20a_get_ctx_buffer_offsets(struct gk20a *g,
567 u32 addr, 572 u32 addr,
568 u32 max_offsets, 573 u32 max_offsets,