diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-27 13:02:41 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-28 12:04:26 -0400 |
commit | 1ffbb2996fddbb44f6aa524224d09fa415ae1f98 (patch) | |
tree | 7a534276ff1244693f1b2f30b3fd6cdcc202c230 /drivers/gpu/nvgpu/include | |
parent | 69d7652aaa9cf94873cccae13c7b6f6a4eb224af (diff) |
gpu: nvgpu: gp106: Disable MMU write violation reporting
Disable reporting of write privilege violation on FB MMU
registers.
Bug 1846641
Change-Id: I011385c5b06bbb2dcc8d4521236a04a8be5dd34e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1471463
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h index 1248e0f3..64b99cf0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h | |||
@@ -482,6 +482,14 @@ static inline u32 fb_mmu_vpr_info_fetch_true_v(void) | |||
482 | { | 482 | { |
483 | return 0x00000001; | 483 | return 0x00000001; |
484 | } | 484 | } |
485 | static inline u32 fb_mmu_priv_level_mask_r(void) | ||
486 | { | ||
487 | return 0x00100cdc; | ||
488 | } | ||
489 | static inline u32 fb_mmu_priv_level_mask_write_violation_m(void) | ||
490 | { | ||
491 | return 0x1 << 7; | ||
492 | } | ||
485 | static inline u32 fb_niso_flush_sysmem_addr_r(void) | 493 | static inline u32 fb_niso_flush_sysmem_addr_r(void) |
486 | { | 494 | { |
487 | return 0x00100c10; | 495 | return 0x00100c10; |