]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7
authorEvan Quan <evan.quan@amd.com>
Fri, 19 May 2023 06:20:17 +0000 (14:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 13:03:19 +0000 (14:03 +0100)
commitae4eab0fe4f327f83d133c3606c7390167e4b978
treea64bfbbd2f740f443489d31ba4ea21bab39e0a97
parent1573137c310fedda571af1ad5e48cbe2af14030c
drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7

commit 0d2dd02d74e6377268f56b90261de0fae8f0d2cb upstream.

Otherwise, the power source switching will fail due to message
unavailable.

Fixes: bf4823267a81 ("drm/amd/pm: fix possible power mode mismatch between driver and PMFW")
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.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/smu13/smu_v13_0_7_ppt.c