diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index 6fba0b46..b670d9aa 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -146,6 +146,14 @@ static inline u32 gr_fecs_intr_r(void) | |||
146 | { | 146 | { |
147 | return 0x00400144; | 147 | return 0x00400144; |
148 | } | 148 | } |
149 | static inline u32 gr_class_error_r(void) | ||
150 | { | ||
151 | return 0x00400110; | ||
152 | } | ||
153 | static inline u32 gr_class_error_code_v(u32 r) | ||
154 | { | ||
155 | return (r >> 0) & 0xffff; | ||
156 | } | ||
149 | static inline u32 gr_intr_nonstall_r(void) | 157 | static inline u32 gr_intr_nonstall_r(void) |
150 | { | 158 | { |
151 | return 0x00400120; | 159 | return 0x00400120; |