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_perf_gv100.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h
index 268efc52..a7ba460e 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h
@@ -232,4 +232,28 @@ static inline u32 perf_pmasys_enginestatus_rbufempty_empty_f(void)
232{ 232{
233 return 0x10U; 233 return 0x10U;
234} 234}
235static inline u32 perf_pmmsys_engine_sel_r(u32 i)
236{
237 return 0x0024006cU + i*512U;
238}
239static inline u32 perf_pmmsys_engine_sel__size_1_v(void)
240{
241 return 0x00000020U;
242}
243static inline u32 perf_pmmfbp_engine_sel_r(u32 i)
244{
245 return 0x0020006cU + i*512U;
246}
247static inline u32 perf_pmmfbp_engine_sel__size_1_v(void)
248{
249 return 0x00000020U;
250}
251static inline u32 perf_pmmgpc_engine_sel_r(u32 i)
252{
253 return 0x0018006cU + i*512U;
254}
255static inline u32 perf_pmmgpc_engine_sel__size_1_v(void)
256{
257 return 0x00000020U;
258}
235#endif 259#endif