summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
index 45bb1d42..32683dc2 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
@@ -494,4 +494,16 @@ static inline u32 ltc_ltc1_ltss_tstg_cmgmt1_clean_pending_f(void)
494{ 494{
495 return 0x1; 495 return 0x1;
496} 496}
497static inline u32 ltc_ltc0_lts0_tstg_info_1_r(void)
498{
499 return 0x0014058c;
500}
501static inline u32 ltc_ltc0_lts0_tstg_info_1_slice_size_in_kb_v(u32 r)
502{
503 return (r >> 0) & 0xffff;
504}
505static inline u32 ltc_ltc0_lts0_tstg_info_1_slices_per_l2_v(u32 r)
506{
507 return (r >> 16) & 0x1f;
508}
497#endif 509#endif