Skip to content

Commit 1cfd678

Browse files
Evan Quangregkh
authored andcommitted
drm/amd/pm: add missing SMU13.0.0 mm_dpm feature mapping
commit 592cd24 upstream. Without this, the pp_dpm_vclk and pp_dpm_dclk outputs are not with correct data. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 6.0.x Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6e6d577 commit 1cfd678

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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
@@ -187,6 +187,8 @@ static struct cmn2asic_mapping smu_v13_0_0_feature_mask_map[SMU_FEATURE_COUNT] =
187187
FEA_MAP(MEM_TEMP_READ),
188188
FEA_MAP(ATHUB_MMHUB_PG),
189189
FEA_MAP(SOC_PCC),
190+
[SMU_FEATURE_DPM_VCLK_BIT] = {1, FEATURE_MM_DPM_BIT},
191+
[SMU_FEATURE_DPM_DCLK_BIT] = {1, FEATURE_MM_DPM_BIT},
190192
};
191193

192194
static struct cmn2asic_mapping smu_v13_0_0_table_map[SMU_TABLE_COUNT] = {

0 commit comments

Comments
 (0)