diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fb_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fb_gv11b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c index 39903405..d6e621eb 100644 --- a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c | |||
@@ -68,6 +68,12 @@ void gv11b_fb_init_fs_state(struct gk20a *g) | |||
68 | nvgpu_log(g, gpu_dbg_info, "mmu active ltcs %u", | 68 | nvgpu_log(g, gpu_dbg_info, "mmu active ltcs %u", |
69 | fb_mmu_num_active_ltcs_count_v( | 69 | fb_mmu_num_active_ltcs_count_v( |
70 | gk20a_readl(g, fb_mmu_num_active_ltcs_r()))); | 70 | gk20a_readl(g, fb_mmu_num_active_ltcs_r()))); |
71 | |||
72 | if (!nvgpu_is_enabled(g, NVGPU_SEC_PRIVSECURITY)) { | ||
73 | /* Bypass MMU check for non-secure boot. For | ||
74 | * secure-boot,this register write has no-effect */ | ||
75 | gk20a_writel(g, fb_priv_mmu_phy_secure_r(), 0xffffffffU); | ||
76 | } | ||
71 | } | 77 | } |
72 | 78 | ||
73 | void gv11b_fb_init_cbc(struct gk20a *g, struct gr_gk20a *gr) | 79 | void gv11b_fb_init_cbc(struct gk20a *g, struct gr_gk20a *gr) |