diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h index d68f6479..a6010696 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.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, |
@@ -114,6 +114,10 @@ static inline u32 fb_mmu_invalidate_pdb_aperture_vid_mem_f(void) | |||
114 | { | 114 | { |
115 | return 0x0; | 115 | return 0x0; |
116 | } | 116 | } |
117 | static inline u32 fb_mmu_invalidate_pdb_aperture_sys_mem_f(void) | ||
118 | { | ||
119 | return 0x2; | ||
120 | } | ||
117 | static inline u32 fb_mmu_invalidate_pdb_addr_f(u32 v) | 121 | static inline u32 fb_mmu_invalidate_pdb_addr_f(u32 v) |
118 | { | 122 | { |
119 | return (v & 0xfffffff) << 4; | 123 | return (v & 0xfffffff) << 4; |
@@ -174,6 +178,14 @@ static inline u32 fb_mmu_debug_wr_aperture_vid_mem_f(void) | |||
174 | { | 178 | { |
175 | return 0x0; | 179 | return 0x0; |
176 | } | 180 | } |
181 | static inline u32 fb_mmu_debug_wr_aperture_sys_mem_coh_f(void) | ||
182 | { | ||
183 | return 0x2; | ||
184 | } | ||
185 | static inline u32 fb_mmu_debug_wr_aperture_sys_mem_ncoh_f(void) | ||
186 | { | ||
187 | return 0x3; | ||
188 | } | ||
177 | static inline u32 fb_mmu_debug_wr_vol_false_f(void) | 189 | static inline u32 fb_mmu_debug_wr_vol_false_f(void) |
178 | { | 190 | { |
179 | return 0x0; | 191 | return 0x0; |
@@ -202,6 +214,14 @@ static inline u32 fb_mmu_debug_rd_aperture_vid_mem_f(void) | |||
202 | { | 214 | { |
203 | return 0x0; | 215 | return 0x0; |
204 | } | 216 | } |
217 | static inline u32 fb_mmu_debug_rd_aperture_sys_mem_coh_f(void) | ||
218 | { | ||
219 | return 0x2; | ||
220 | } | ||
221 | static inline u32 fb_mmu_debug_rd_aperture_sys_mem_ncoh_f(void) | ||
222 | { | ||
223 | return 0x3; | ||
224 | } | ||
205 | static inline u32 fb_mmu_debug_rd_vol_false_f(void) | 225 | static inline u32 fb_mmu_debug_rd_vol_false_f(void) |
206 | { | 226 | { |
207 | return 0x0; | 227 | return 0x0; |