diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index a28a1d0d..fad8d3a6 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -3190,4 +3190,56 @@ static inline u32 gr_gpc0_tpc0_l1c_dbg_cya15_en_f(void) | |||
3190 | { | 3190 | { |
3191 | return 0x8000000; | 3191 | return 0x8000000; |
3192 | } | 3192 | } |
3193 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_r(void) | ||
3194 | { | ||
3195 | return 0x00419ec8; | ||
3196 | } | ||
3197 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_m(void) | ||
3198 | { | ||
3199 | return 0x1 << 0; | ||
3200 | } | ||
3201 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_disable_f(void) | ||
3202 | { | ||
3203 | return 0x0; | ||
3204 | } | ||
3205 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_tile_m(void) | ||
3206 | { | ||
3207 | return 0x1 << 1; | ||
3208 | } | ||
3209 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_tile_disable_f(void) | ||
3210 | { | ||
3211 | return 0x0; | ||
3212 | } | ||
3213 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_phase_m(void) | ||
3214 | { | ||
3215 | return 0x1 << 2; | ||
3216 | } | ||
3217 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_phase_disable_f(void) | ||
3218 | { | ||
3219 | return 0x0; | ||
3220 | } | ||
3221 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_tex_m(void) | ||
3222 | { | ||
3223 | return 0x1 << 3; | ||
3224 | } | ||
3225 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_tex_disable_f(void) | ||
3226 | { | ||
3227 | return 0x0; | ||
3228 | } | ||
3229 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_timeout_m(void) | ||
3230 | { | ||
3231 | return 0xff << 4; | ||
3232 | } | ||
3233 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_tex_hash_timeout_disable_f(void) | ||
3234 | { | ||
3235 | return 0x0; | ||
3236 | } | ||
3237 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_dot_t_unlock_m(void) | ||
3238 | { | ||
3239 | return 0x1 << 16; | ||
3240 | } | ||
3241 | static inline u32 gr_gpcs_tpcs_sm_sch_texlock_dot_t_unlock_disable_f(void) | ||
3242 | { | ||
3243 | return 0x0; | ||
3244 | } | ||
3193 | #endif | 3245 | #endif |