summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-01-09 04:28:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-01-09 04:28:05 +0000
commit7e9291eef9c80ee20348b237bff95f0fe946c7f7 (patch)
tree62040282e9e2a9969f9a7164184d5336c36d7179 /sys
parentaf933df3285a1becd34dc07519b4c851a1ab9c6c (diff)
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
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c2
1 files changed, 2 insertions, 0 deletions
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] = {