summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a02215d2..2ede539e 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -382,6 +382,7 @@ struct gpu_ops {
382 } gr; 382 } gr;
383 struct { 383 struct {
384 void (*init_hw)(struct gk20a *g); 384 void (*init_hw)(struct gk20a *g);
385 void (*init_cbc)(struct gk20a *g, struct gr_gk20a *gr);
385 void (*init_fs_state)(struct gk20a *g); 386 void (*init_fs_state)(struct gk20a *g);
386 void (*reset)(struct gk20a *g); 387 void (*reset)(struct gk20a *g);
387 void (*init_uncompressed_kind_map)(struct gk20a *g); 388 void (*init_uncompressed_kind_map)(struct gk20a *g);
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index b2ae77c3..462af65f 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -4828,6 +4828,9 @@ static int gk20a_init_gr_setup_hw(struct gk20a *g)
4828 if (g->ops.ltc.init_cbc) 4828 if (g->ops.ltc.init_cbc)
4829 g->ops.ltc.init_cbc(g, gr); 4829 g->ops.ltc.init_cbc(g, gr);
4830 4830
4831 if (g->ops.fb.init_cbc)
4832 g->ops.fb.init_cbc(g, gr);
4833
4831 /* load ctx init */ 4834 /* load ctx init */
4832 for (i = 0; i < sw_ctx_load->count; i++) 4835 for (i = 0; i < sw_ctx_load->count; i++)
4833 gk20a_writel(g, sw_ctx_load->l[i].addr, 4836 gk20a_writel(g, sw_ctx_load->l[i].addr,