summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h
index ff9c046c..506a8181 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h
@@ -80,6 +80,14 @@ static inline u32 top_num_fbps_value_v(u32 r)
80{ 80{
81 return (r >> 0U) & 0x1fU; 81 return (r >> 0U) & 0x1fU;
82} 82}
83static inline u32 top_num_fbpas_r(void)
84{
85 return 0x0002243cU;
86}
87static inline u32 top_num_fbpas_value_v(u32 r)
88{
89 return (r >> 0U) & 0x1fU;
90}
83static inline u32 top_ltc_per_fbp_r(void) 91static inline u32 top_ltc_per_fbp_r(void)
84{ 92{
85 return 0x00022450U; 93 return 0x00022450U;