drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7
authorUmio Yasuno <coelacanth_dream@protonmail.com>
Tue, 8 Aug 2023 06:40:42 +0000 (06:40 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2023 22:07:41 +0000 (18:07 -0400)
commite4538bc78b5198f9a7d94348e868f3fc588cf843
tree413de7399f1c1f4f3dbc0573a746f808adb74681
parent1b98a5f8e04b944ba93444a8004690391a60fcf1
drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7

Use the right metrics table version based on the firmware.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2720
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Umio Yasuno <coelacanth_dream@protonmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c