From 48f0b407f967d73a2301a215bb5c381be3876a20 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 22 May 2014 09:53:51 +0300 Subject: gpu: nvgpu: Add gm20b fecs/gpccs bootloader support Add support for booting FECS and GPCCS via faster bootloader method. We leave this disabled until the bootloader binaries are checked in. Change-Id: I39df5d116f7a33486407518c743638b01923970d Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/413005 --- drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 46a84fd6..50ca0601 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c @@ -2141,10 +2141,10 @@ static void gr_gk20a_load_falcon_with_bootloader(struct gk20a *g) gr_gk20a_load_falcon_bind_instblk(g); - gr_gk20a_load_ctxsw_ucode_segments(g, addr_base, + g->ops.gr.falcon_load_ucode(g, addr_base, &g->ctxsw_ucode_info.fecs, 0); - gr_gk20a_load_ctxsw_ucode_segments(g, addr_base, + g->ops.gr.falcon_load_ucode(g, addr_base, &g->ctxsw_ucode_info.gpccs, gr_gpcs_gpccs_falcon_hwcfg_r() - gr_fecs_falcon_hwcfg_r()); @@ -6845,4 +6845,5 @@ void gk20a_init_gr(struct gpu_ops *gops) gops->gr.init_fs_state = gr_gk20a_ctx_state_floorsweep; gops->gr.set_hww_esr_report_mask = gr_gk20a_set_hww_esr_report_mask; gops->gr.setup_alpha_beta_tables = gr_gk20a_setup_alpha_beta_tables; + gops->gr.falcon_load_ucode = gr_gk20a_load_ctxsw_ucode_segments; } -- cgit v1.2.2