diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h index 9917f86d..2d5afb29 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | |||
@@ -194,6 +194,34 @@ static inline u32 gr_exception_en_fe_m(void) | |||
194 | { | 194 | { |
195 | return 0x1 << 0; | 195 | return 0x1 << 0; |
196 | } | 196 | } |
197 | static inline u32 gr_exception_en_fe_enabled_f(void) | ||
198 | { | ||
199 | return 0x1; | ||
200 | } | ||
201 | static inline u32 gr_exception_en_gpc_m(void) | ||
202 | { | ||
203 | return 0x1 << 24; | ||
204 | } | ||
205 | static inline u32 gr_exception_en_gpc_enabled_f(void) | ||
206 | { | ||
207 | return 0x1000000; | ||
208 | } | ||
209 | static inline u32 gr_exception_en_memfmt_m(void) | ||
210 | { | ||
211 | return 0x1 << 1; | ||
212 | } | ||
213 | static inline u32 gr_exception_en_memfmt_enabled_f(void) | ||
214 | { | ||
215 | return 0x2; | ||
216 | } | ||
217 | static inline u32 gr_exception_en_ds_m(void) | ||
218 | { | ||
219 | return 0x1 << 4; | ||
220 | } | ||
221 | static inline u32 gr_exception_en_ds_enabled_f(void) | ||
222 | { | ||
223 | return 0x10; | ||
224 | } | ||
197 | static inline u32 gr_exception1_en_r(void) | 225 | static inline u32 gr_exception1_en_r(void) |
198 | { | 226 | { |
199 | return 0x00400130; | 227 | return 0x00400130; |