diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index 4e7ada14..a28a1d0d 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -106,6 +106,14 @@ static inline u32 gr_intr_illegal_class_reset_f(void) | |||
106 | { | 106 | { |
107 | return 0x20; | 107 | return 0x20; |
108 | } | 108 | } |
109 | static inline u32 gr_intr_fecs_error_pending_f(void) | ||
110 | { | ||
111 | return 0x80000; | ||
112 | } | ||
113 | static inline u32 gr_intr_fecs_error_reset_f(void) | ||
114 | { | ||
115 | return 0x80000; | ||
116 | } | ||
109 | static inline u32 gr_intr_class_error_pending_f(void) | 117 | static inline u32 gr_intr_class_error_pending_f(void) |
110 | { | 118 | { |
111 | return 0x100000; | 119 | return 0x100000; |
@@ -130,6 +138,10 @@ static inline u32 gr_intr_firmware_method_reset_f(void) | |||
130 | { | 138 | { |
131 | return 0x100; | 139 | return 0x100; |
132 | } | 140 | } |
141 | static inline u32 gr_fecs_intr_r(void) | ||
142 | { | ||
143 | return 0x00400144; | ||
144 | } | ||
133 | static inline u32 gr_intr_nonstall_r(void) | 145 | static inline u32 gr_intr_nonstall_r(void) |
134 | { | 146 | { |
135 | return 0x00400120; | 147 | return 0x00400120; |