drm/amd/pm: add missing SMU13.0.7 mm_dpm feature mapping
authorjsg <jsg@openbsd.org>
Mon, 9 Jan 2023 04:28:04 +0000 (04:28 +0000)
committerjsg <jsg@openbsd.org>
Mon, 9 Jan 2023 04:28:04 +0000 (04:28 +0000)
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

index 2ee3021..94b6652 100644 (file)
@@ -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] = {