OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:45:09 +0000 (10:45 -0400)
commitd4281b49c1b6afc66c470c85019fc1eceb676a78
treeaaa7f8cf161d2d6386567cb0d1817f8e5493baec
parent1becc57cd1a905e2aa0e1eca60d2a37744525c4a
drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7

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>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c