From ce6ef8234ca5e5c955620c08cfac644d5cf0502a Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 16 Jun 2023 00:49:10 +0000 Subject: [PATCH] drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7 From Evan Quan 6acfbdda4d06d83d434b05b7fe1a9d545d99c027 in linux-6.1.y/6.1.31 0d2dd02d74e6377268f56b90261de0fae8f0d2cb in mainline linux --- sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c index 2bb5c3872d9..57579f5e00e 100644 --- a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +++ b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c @@ -125,6 +125,7 @@ static struct cmn2asic_msg_mapping smu_v13_0_7_message_map[SMU_MSG_MAX_COUNT] = MSG_MAP(ArmD3, PPSMC_MSG_ArmD3, 0), MSG_MAP(AllowGpo, PPSMC_MSG_SetGpoAllow, 0), MSG_MAP(GetPptLimit, PPSMC_MSG_GetPptLimit, 0), + MSG_MAP(NotifyPowerSource, PPSMC_MSG_NotifyPowerSource, 0), }; static struct cmn2asic_mapping smu_v13_0_7_clk_map[SMU_CLK_COUNT] = { -- 2.20.1