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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
index 01b66c9c..ea96a9aa 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h
@@ -514,4 +514,12 @@ static inline u32 ltc_ltc0_lts0_tstg_info_1_slices_per_l2_v(u32 r)
514{ 514{
515 return (r >> 16) & 0x1f; 515 return (r >> 16) & 0x1f;
516} 516}
517static inline u32 ltc_ltca_g_axi_pctrl_r(void)
518{
519 return 0x00160000;
520}
521static inline u32 ltc_ltca_g_axi_pctrl_user_sid_f(u32 v)
522{
523 return (v & 0xff) << 2;
524}
517#endif 525#endif