diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index a02215d2f..2ede539e7 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -382,6 +382,7 @@ struct gpu_ops { } gr; struct { void (*init_hw)(struct gk20a *g); + void (*init_cbc)(struct gk20a *g, struct gr_gk20a *gr); void (*init_fs_state)(struct gk20a *g); void (*reset)(struct gk20a *g); 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 b2ae77c31..462af65fc 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) if (g->ops.ltc.init_cbc) g->ops.ltc.init_cbc(g, gr); + if (g->ops.fb.init_cbc) + g->ops.fb.init_cbc(g, gr); + /* load ctx init */ for (i = 0; i < sw_ctx_load->count; i++) gk20a_writel(g, sw_ctx_load->l[i].addr,