]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 9 Aug 2023 09:38:10 +0000 (11:38 +0200)
commitd2c673e417581b9044d1368ff269845891a3db50
tree39163e67049ec386f3e071146d17e03d51378d59
parentb8d590f88c17074902e5569c5b4412d7efdcb318
drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7

BugLink: https://bugs.launchpad.net/bugs/2028979
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c