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>
Wed, 16 Aug 2023 19:46:39 +0000 (15:46 -0400)
commit6a92761a86817ad15c9a562e2a809386237fae3e
treeae74b02bda033838e66643bd879f8e0942bf6205
parent0d6f374c0c66e8ecc2897f0837d2cb4bd169bb42
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c