drm/amd/pm: add SMU 13.0.7 missing GetPptLimit message mapping
authorjsg <jsg@openbsd.org>
Wed, 15 Feb 2023 10:09:37 +0000 (10:09 +0000)
committerjsg <jsg@openbsd.org>
Wed, 15 Feb 2023 10:09:37 +0000 (10:09 +0000)
From Evan Quan
62890f3eabf80676c0fefbbdd88e0f3f12528032 in linux-6.1.y/6.1.12
0e763afcb50814e256ecb780fcc0f3bade2e1a0c in mainline linux

sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c

index 74fffb9..7aac410 100644 (file)
@@ -124,6 +124,7 @@ static struct cmn2asic_msg_mapping smu_v13_0_7_message_map[SMU_MSG_MAX_COUNT] =
        MSG_MAP(DFCstateControl,                PPSMC_MSG_SetExternalClientDfCstateAllow, 0),
        MSG_MAP(ArmD3,                          PPSMC_MSG_ArmD3,                       0),
        MSG_MAP(AllowGpo,                       PPSMC_MSG_SetGpoAllow,           0),
+       MSG_MAP(GetPptLimit,                    PPSMC_MSG_GetPptLimit,                 0),
 };
 
 static struct cmn2asic_mapping smu_v13_0_7_clk_map[SMU_CLK_COUNT] = {