Skip to content

Commit 592cd24

Browse files
Evan Quanalexdeucher
authored andcommitted
drm/amd/pm: add missing SMU13.0.0 mm_dpm feature mapping
Without this, the pp_dpm_vclk and pp_dpm_dclk outputs are not with correct data. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 6.0.x
1 parent f95f51a commit 592cd24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ static struct cmn2asic_mapping smu_v13_0_0_feature_mask_map[SMU_FEATURE_COUNT] =
210210
FEA_MAP(MEM_TEMP_READ),
211211
FEA_MAP(ATHUB_MMHUB_PG),
212212
FEA_MAP(SOC_PCC),
213+
[SMU_FEATURE_DPM_VCLK_BIT] = {1, FEATURE_MM_DPM_BIT},
214+
[SMU_FEATURE_DPM_DCLK_BIT] = {1, FEATURE_MM_DPM_BIT},
213215
};
214216

215217
static struct cmn2asic_mapping smu_v13_0_0_table_map[SMU_TABLE_COUNT] = {

0 commit comments

Comments
 (0)