summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/fb_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/fb_gm20b.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
index b2a815fb..2ca8d86c 100644
--- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
@@ -42,6 +42,12 @@ void fb_gm20b_init_fs_state(struct gk20a *g)
42 42
43 gk20a_writel(g, fb_fbhub_num_active_ltcs_r(), 43 gk20a_writel(g, fb_fbhub_num_active_ltcs_r(),
44 g->ltc_count); 44 g->ltc_count);
45
46 if (!nvgpu_is_enabled(g, NVGPU_SEC_PRIVSECURITY)) {
47 /* Bypass MMU check for non-secure boot. For
48 * secure-boot,this register write has no-effect */
49 gk20a_writel(g, fb_priv_mmu_phy_secure_r(), 0xffffffffU);
50 }
45} 51}
46 52
47void gm20b_fb_set_mmu_page_size(struct gk20a *g) 53void gm20b_fb_set_mmu_page_size(struct gk20a *g)