summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hw_top_gp106.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hw_top_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/hw_top_gp106.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hw_top_gp106.h b/drivers/gpu/nvgpu/gp106/hw_top_gp106.h
index e833c152..85350954 100644
--- a/drivers/gpu/nvgpu/gp106/hw_top_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/hw_top_gp106.h
@@ -74,6 +74,14 @@ static inline u32 top_num_fbps_value_v(u32 r)
74{ 74{
75 return (r >> 0) & 0x1f; 75 return (r >> 0) & 0x1f;
76} 76}
77static inline u32 top_num_fbpas_r(void)
78{
79 return 0x0002243c;
80}
81static inline u32 top_num_fbpas_value_v(u32 r)
82{
83 return (r >> 0) & 0x1f;
84}
77static inline u32 top_ltc_per_fbp_r(void) 85static inline u32 top_ltc_per_fbp_r(void)
78{ 86{
79 return 0x00022450; 87 return 0x00022450;