summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index d57b0fb5..c2aa64ba 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -709,10 +709,11 @@ static int gr_gm20b_load_ctxsw_ucode(struct gk20a *g)
709 u32 reg_offset = gr_gpcs_gpccs_falcon_hwcfg_r() - 709 u32 reg_offset = gr_gpcs_gpccs_falcon_hwcfg_r() -
710 gr_fecs_falcon_hwcfg_r(); 710 gr_fecs_falcon_hwcfg_r();
711 u8 falcon_id_mask = 0; 711 u8 falcon_id_mask = 0;
712 struct gk20a_platform *platform = dev_get_drvdata(g->dev);
712 713
713 gk20a_dbg_fn(""); 714 gk20a_dbg_fn("");
714 715
715 if (tegra_platform_is_linsim()) { 716 if (platform->is_fmodel) {
716 gk20a_writel(g, gr_fecs_ctxsw_mailbox_r(7), 717 gk20a_writel(g, gr_fecs_ctxsw_mailbox_r(7),
717 gr_fecs_ctxsw_mailbox_value_f(0xc0de7777)); 718 gr_fecs_ctxsw_mailbox_value_f(0xc0de7777));
718 gk20a_writel(g, gr_gpccs_ctxsw_mailbox_r(7), 719 gk20a_writel(g, gr_gpccs_ctxsw_mailbox_r(7),