]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: add new data in metrics table
authorKenneth Feng <kenneth.feng@amd.com>
Fri, 5 Mar 2021 21:41:45 +0000 (16:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:00:28 +0000 (23:00 -0400)
commit7f03d582f19cc2709e5c93d7973ecf0aafc802ec
tree31e25bf0ce9c767bdc97f5e0d4eb35c1ece08547
parent8819ecca2650fe956720d516951d494542bfa26f
drm/amd/pm: add new data in metrics table

Export new data in the metrics table for gfx and memory
utilization counter, and each hbm temperature as well.

v2:
change the metrics table version to v1.1

v3:
fix the coding style
v4:
rebase against latest kernel

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/pm/inc/smu_v13_0.h
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c