diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index 6a155ccc..a73209f2 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -2990,6 +2990,10 @@ static inline u32 gr_gpcs_tpcs_tpccs_tpc_exception_en_sm_enabled_f(void) | |||
2990 | { | 2990 | { |
2991 | return 0x2; | 2991 | return 0x2; |
2992 | } | 2992 | } |
2993 | static inline u32 gr_gpcs_tpcs_tpccs_tpc_exception_en_tex_enabled_f(void) | ||
2994 | { | ||
2995 | return 0x1; | ||
2996 | } | ||
2993 | static inline u32 gr_gpc0_tpc0_tpccs_tpc_exception_en_r(void) | 2997 | static inline u32 gr_gpc0_tpc0_tpccs_tpc_exception_en_r(void) |
2994 | { | 2998 | { |
2995 | return 0x0050450c; | 2999 | return 0x0050450c; |
@@ -3026,6 +3030,14 @@ static inline u32 gr_gpc0_tpc0_tpccs_tpc_exception_r(void) | |||
3026 | { | 3030 | { |
3027 | return 0x00504508; | 3031 | return 0x00504508; |
3028 | } | 3032 | } |
3033 | static inline u32 gr_gpc0_tpc0_tpccs_tpc_exception_tex_v(u32 r) | ||
3034 | { | ||
3035 | return (r >> 0) & 0x1; | ||
3036 | } | ||
3037 | static inline u32 gr_gpc0_tpc0_tpccs_tpc_exception_tex_pending_v(void) | ||
3038 | { | ||
3039 | return 0x00000001; | ||
3040 | } | ||
3029 | static inline u32 gr_gpc0_tpc0_tpccs_tpc_exception_sm_v(u32 r) | 3041 | static inline u32 gr_gpc0_tpc0_tpccs_tpc_exception_sm_v(u32 r) |
3030 | { | 3042 | { |
3031 | return (r >> 1) & 0x1; | 3043 | return (r >> 1) & 0x1; |
@@ -3170,6 +3182,14 @@ static inline u32 gr_gpc0_tpc0_sm_hww_global_esr_single_step_complete_pending_f( | |||
3170 | { | 3182 | { |
3171 | return 0x40; | 3183 | return 0x40; |
3172 | } | 3184 | } |
3185 | static inline u32 gr_gpc0_tpc0_tex_m_hww_esr_r(void) | ||
3186 | { | ||
3187 | return 0x00504224; | ||
3188 | } | ||
3189 | static inline u32 gr_gpc0_tpc0_tex_m_hww_esr_intr_pending_f(void) | ||
3190 | { | ||
3191 | return 0x1; | ||
3192 | } | ||
3173 | static inline u32 gr_gpc0_tpc0_sm_hww_warp_esr_r(void) | 3193 | static inline u32 gr_gpc0_tpc0_sm_hww_warp_esr_r(void) |
3174 | { | 3194 | { |
3175 | return 0x00504648; | 3195 | return 0x00504648; |