summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 58558159..4878fdd6 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -408,6 +408,7 @@ struct gpu_ops {
408 void (*resume_single_sm)(struct gk20a *g, 408 void (*resume_single_sm)(struct gk20a *g,
409 u32 gpc, u32 tpc, u32 sm); 409 u32 gpc, u32 tpc, u32 sm);
410 void (*resume_all_sms)(struct gk20a *g); 410 void (*resume_all_sms)(struct gk20a *g);
411 void (*disable_rd_coalesce)(struct gk20a *g);
411 } gr; 412 } gr;
412 struct { 413 struct {
413 void (*init_hw)(struct gk20a *g); 414 void (*init_hw)(struct gk20a *g);
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 608b011a..cd1d31a5 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -4521,6 +4521,9 @@ static int gk20a_init_gr_setup_hw(struct gk20a *g)
4521 if (g->ops.fb.init_cbc) 4521 if (g->ops.fb.init_cbc)
4522 g->ops.fb.init_cbc(g, gr); 4522 g->ops.fb.init_cbc(g, gr);
4523 4523
4524 if (g->ops.gr.disable_rd_coalesce)
4525 g->ops.gr.disable_rd_coalesce(g);
4526
4524 /* load ctx init */ 4527 /* load ctx init */
4525 for (i = 0; i < sw_ctx_load->count; i++) 4528 for (i = 0; i < sw_ctx_load->count; i++)
4526 gk20a_writel(g, sw_ctx_load->l[i].addr, 4529 gk20a_writel(g, sw_ctx_load->l[i].addr,