summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
index b69e69bd..022a7698 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
@@ -41,9 +41,10 @@ struct zbc_s_table {
41}; 41};
42 42
43struct gk20a; 43struct gk20a;
44struct gr_gk20a;
44struct zbc_entry; 45struct zbc_entry;
45struct zbc_query_params; 46struct zbc_query_params;
46struct channel_ctx_gk20a; 47struct nvgpu_gr_ctx;
47struct nvgpu_warpstate; 48struct nvgpu_warpstate;
48struct nvgpu_gr_sm_error_state; 49struct nvgpu_gr_sm_error_state;
49struct gr_ctx_desc; 50struct gr_ctx_desc;
@@ -128,7 +129,7 @@ int gr_gv11b_dump_gr_status_regs(struct gk20a *g,
128int gr_gv11b_wait_empty(struct gk20a *g, unsigned long duration_ms, 129int gr_gv11b_wait_empty(struct gk20a *g, unsigned long duration_ms,
129 u32 expect_delay); 130 u32 expect_delay);
130void gr_gv11b_commit_global_attrib_cb(struct gk20a *g, 131void gr_gv11b_commit_global_attrib_cb(struct gk20a *g,
131 struct channel_ctx_gk20a *ch_ctx, 132 struct nvgpu_gr_ctx *ch_ctx,
132 u64 addr, bool patch); 133 u64 addr, bool patch);
133void gr_gv11b_set_gpc_tpc_mask(struct gk20a *g, u32 gpc_index); 134void gr_gv11b_set_gpc_tpc_mask(struct gk20a *g, u32 gpc_index);
134void gr_gv11b_get_access_map(struct gk20a *g, 135void gr_gv11b_get_access_map(struct gk20a *g,
@@ -222,13 +223,13 @@ unsigned long gr_gv11b_get_max_gfxp_wfi_timeout_count(struct gk20a *g);
222void gr_gv11b_ecc_init_scrub_reg(struct gk20a *g); 223void gr_gv11b_ecc_init_scrub_reg(struct gk20a *g);
223 224
224int gr_gv11b_set_ctxsw_preemption_mode(struct gk20a *g, 225int gr_gv11b_set_ctxsw_preemption_mode(struct gk20a *g,
225 struct gr_ctx_desc *gr_ctx, 226 struct nvgpu_gr_ctx *gr_ctx,
226 struct vm_gk20a *vm, u32 class, 227 struct vm_gk20a *vm, u32 class,
227 u32 graphics_preempt_mode, 228 u32 graphics_preempt_mode,
228 u32 compute_preempt_mode); 229 u32 compute_preempt_mode);
229 230
230void gr_gv11b_update_ctxsw_preemption_mode(struct gk20a *g, 231void gr_gv11b_update_ctxsw_preemption_mode(struct gk20a *g,
231 struct channel_ctx_gk20a *ch_ctx, 232 struct channel_gk20a *ch_ctx,
232 struct nvgpu_mem *mem); 233 struct nvgpu_mem *mem);
233 234
234#endif 235#endif