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)
commitbea9cd3f8de535ccdb25fd29b0404038f6d63701
tree31e25bf0ce9c767bdc97f5e0d4eb35c1ece08547
parentd86fd724e59af96ae5ab6630f4f07a076e9b80cd
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