drm/amd/pm: Use same metric table for APU
authorAsad Kamal <asad.kamal@amd.com>
Thu, 18 Jul 2024 10:55:06 +0000 (18:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2024 21:06:16 +0000 (17:06 -0400)
commit56cbb36696407a27cfbfdbc2dee0b1e206178cec
tree086fc79634fcd96b7371d6fb09bb4b9852353866
parent6704dbf71928f3555c20de03af96c13f1f1d7472
drm/amd/pm: Use same metric table for APU

Use same metric table for APU and Non APU systems
for smu_v_13_0_6 to get metric data based on newer pmfw
versions

v2: Use inline func to check for unified metrics support

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c