From d849e8554b9a095fe81412ab81b664cf19e6b299 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 9 Jan 2023 04:28:04 +0000 Subject: [PATCH] drm/amd/pm: add missing SMU13.0.7 mm_dpm feature mapping From Evan Quan 789c4804d7aed7094845da4a0ebf7099a503f8ba in linux-6.1.y/6.1.4 e0607c10ebf551a654c3577fc74b4bf5533e1cea in mainline linux --- sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 ++ 1 file changed, 2 insertions(+) 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 2ee3021981e..94b6652a623 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 @@ -189,6 +189,8 @@ static struct cmn2asic_mapping smu_v13_0_7_feature_mask_map[SMU_FEATURE_COUNT] = FEA_MAP(MEM_TEMP_READ), FEA_MAP(ATHUB_MMHUB_PG), FEA_MAP(SOC_PCC), + [SMU_FEATURE_DPM_VCLK_BIT] = {1, FEATURE_MM_DPM_BIT}, + [SMU_FEATURE_DPM_DCLK_BIT] = {1, FEATURE_MM_DPM_BIT}, }; static struct cmn2asic_mapping smu_v13_0_7_table_map[SMU_TABLE_COUNT] = { -- 2.20.1