diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h index 1fee19b1..236c2f8a 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -106,6 +106,10 @@ static inline u32 fb_mmu_invalidate_pdb_aperture_vid_mem_f(void) | |||
106 | { | 106 | { |
107 | return 0x0; | 107 | return 0x0; |
108 | } | 108 | } |
109 | static inline u32 fb_mmu_invalidate_pdb_aperture_sys_mem_f(void) | ||
110 | { | ||
111 | return 0x2; | ||
112 | } | ||
109 | static inline u32 fb_mmu_invalidate_pdb_addr_f(u32 v) | 113 | static inline u32 fb_mmu_invalidate_pdb_addr_f(u32 v) |
110 | { | 114 | { |
111 | return (v & 0xfffffff) << 4; | 115 | return (v & 0xfffffff) << 4; |
@@ -378,6 +382,14 @@ static inline u32 fb_mmu_debug_wr_aperture_vid_mem_f(void) | |||
378 | { | 382 | { |
379 | return 0x0; | 383 | return 0x0; |
380 | } | 384 | } |
385 | static inline u32 fb_mmu_debug_wr_aperture_sys_mem_coh_f(void) | ||
386 | { | ||
387 | return 0x2; | ||
388 | } | ||
389 | static inline u32 fb_mmu_debug_wr_aperture_sys_mem_ncoh_f(void) | ||
390 | { | ||
391 | return 0x3; | ||
392 | } | ||
381 | static inline u32 fb_mmu_debug_wr_vol_false_f(void) | 393 | static inline u32 fb_mmu_debug_wr_vol_false_f(void) |
382 | { | 394 | { |
383 | return 0x0; | 395 | return 0x0; |
@@ -406,6 +418,14 @@ static inline u32 fb_mmu_debug_rd_aperture_vid_mem_f(void) | |||
406 | { | 418 | { |
407 | return 0x0; | 419 | return 0x0; |
408 | } | 420 | } |
421 | static inline u32 fb_mmu_debug_rd_aperture_sys_mem_coh_f(void) | ||
422 | { | ||
423 | return 0x2; | ||
424 | } | ||
425 | static inline u32 fb_mmu_debug_rd_aperture_sys_mem_ncoh_f(void) | ||
426 | { | ||
427 | return 0x3; | ||
428 | } | ||
409 | static inline u32 fb_mmu_debug_rd_vol_false_f(void) | 429 | static inline u32 fb_mmu_debug_rd_vol_false_f(void) |
410 | { | 430 | { |
411 | return 0x0; | 431 | return 0x0; |