summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index 060cc9fb..813b8891 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -2361,8 +2361,6 @@ int gr_gp10b_init_preemption_state(struct gk20a *g)
2361 gr_debug_2_gfxp_wfi_always_injects_wfi_enabled_f()); 2361 gr_debug_2_gfxp_wfi_always_injects_wfi_enabled_f());
2362 gk20a_writel(g, gr_debug_2_r(), debug_2); 2362 gk20a_writel(g, gr_debug_2_r(), debug_2);
2363 2363
2364 g->gr.czf_bypass = gr_gpc0_prop_debug1_czf_bypass_init_v();
2365
2366 return 0; 2364 return 0;
2367} 2365}
2368 2366
@@ -2376,6 +2374,11 @@ void gr_gp10b_set_preemption_buffer_va(struct gk20a *g,
2376 2374
2377} 2375}
2378 2376
2377void gr_gp10b_init_czf_bypass(struct gk20a *g)
2378{
2379 g->gr.czf_bypass = gr_gpc0_prop_debug1_czf_bypass_init_v();
2380}
2381
2379int gr_gp10b_set_czf_bypass(struct gk20a *g, struct channel_gk20a *ch) 2382int gr_gp10b_set_czf_bypass(struct gk20a *g, struct channel_gk20a *ch)
2380{ 2383{
2381 struct nvgpu_dbg_gpu_reg_op ops; 2384 struct nvgpu_dbg_gpu_reg_op ops;