diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 7400a9e4..717e5487 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -725,11 +725,10 @@ static int gr_gm20b_load_ctxsw_ucode(struct gk20a *g) | |||
725 | u32 reg_offset = gr_gpcs_gpccs_falcon_hwcfg_r() - | 725 | u32 reg_offset = gr_gpcs_gpccs_falcon_hwcfg_r() - |
726 | gr_fecs_falcon_hwcfg_r(); | 726 | gr_fecs_falcon_hwcfg_r(); |
727 | u8 falcon_id_mask = 0; | 727 | u8 falcon_id_mask = 0; |
728 | struct gk20a_platform *platform = dev_get_drvdata(g->dev); | ||
729 | 728 | ||
730 | gk20a_dbg_fn(""); | 729 | gk20a_dbg_fn(""); |
731 | 730 | ||
732 | if (platform->is_fmodel) { | 731 | if (g->is_fmodel) { |
733 | gk20a_writel(g, gr_fecs_ctxsw_mailbox_r(7), | 732 | gk20a_writel(g, gr_fecs_ctxsw_mailbox_r(7), |
734 | gr_fecs_ctxsw_mailbox_value_f(0xc0de7777)); | 733 | gr_fecs_ctxsw_mailbox_value_f(0xc0de7777)); |
735 | gk20a_writel(g, gr_gpccs_ctxsw_mailbox_r(7), | 734 | gk20a_writel(g, gr_gpccs_ctxsw_mailbox_r(7), |