drm/amd: Fix SMU 13.0.4/13.0.11 GPU metrics average power
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 10 Aug 2023 10:31:57 +0000 (05:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2023 22:08:29 +0000 (18:08 -0400)
commit629425673b7764637d6052cff591e88215483e91
tree4f92d2213a46d9fc21360c5f45b0081fb7306417
parent3cecafc1970f139ea50f7e6adb45525b069e0636
drm/amd: Fix SMU 13.0.4/13.0.11 GPU metrics average power

The average power for the GPU metrics sysfs file contains the input
power not the average power.  The member that is set is called average
power though, so correct it to the right value.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c