summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c1
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index ab1b166d..2a891647 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -47,6 +47,7 @@ static void gr_gm20b_init_gpc_mmu(struct gk20a *g)
47 temp = gk20a_readl(g, fb_mmu_ctrl_r()); 47 temp = gk20a_readl(g, fb_mmu_ctrl_r());
48 temp &= gr_gpcs_pri_mmu_ctrl_vm_pg_size_m() | 48 temp &= gr_gpcs_pri_mmu_ctrl_vm_pg_size_m() |
49 gr_gpcs_pri_mmu_ctrl_use_pdb_big_page_size_m() | 49 gr_gpcs_pri_mmu_ctrl_use_pdb_big_page_size_m() |
50 gr_gpcs_pri_mmu_ctrl_use_full_comp_tag_line_m() |
50 gr_gpcs_pri_mmu_ctrl_vol_fault_m() | 51 gr_gpcs_pri_mmu_ctrl_vol_fault_m() |
51 gr_gpcs_pri_mmu_ctrl_comp_fault_m() | 52 gr_gpcs_pri_mmu_ctrl_comp_fault_m() |
52 gr_gpcs_pri_mmu_ctrl_miss_gran_m() | 53 gr_gpcs_pri_mmu_ctrl_miss_gran_m() |
diff --git a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h
index 696f518c..6357b372 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h
@@ -3562,6 +3562,11 @@ static inline u32 gr_gpcs_pri_mmu_ctrl_use_pdb_big_page_size_m(void)
3562{ 3562{
3563 return 0x1 << 11; 3563 return 0x1 << 11;
3564} 3564}
3565static inline u32 gr_gpcs_pri_mmu_ctrl_use_full_comp_tag_line_m(void)
3566{
3567 return 0x1 << 12;
3568}
3569
3565static inline u32 gr_gpcs_pri_mmu_ctrl_vol_fault_m(void) 3570static inline u32 gr_gpcs_pri_mmu_ctrl_vol_fault_m(void)
3566{ 3571{
3567 return 0x1 << 1; 3572 return 0x1 << 1;