]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2023 15:52:40 +0000 (17:52 +0200)
commit7de99bf5bcd6d04b2202dd908782cc05edca0340
treeeb59d4a1331f7eb7326d60947bc2eef7baf5849c
parent9c8c2cf9f9bce4fa4c4c4e821bdaa4e15762e403
drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7

commit 6a92761a86817ad15c9a562e2a809386237fae3e upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c