drm/amd/pm: add missing SMU13.0.0 mm_dpm feature mapping
Subsystems (3)
PATCH 1/2 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]>
Change-Id Ibb0df59a79db72379f245c3a929b33f5f85cf8e4
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +2 -0
@@ -211,6 +211,8 @@ static struct cmn2asic_mapping smu_v13_0_0_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_0_table_map[SMU_TABLE_COUNT ] = {
Signature · 1 line
2.34.1
PATCH 2/2 drm/amd/pm: add missing SMU13.0.7 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]>
Change-Id Idef7d0b1778fc4b900945c9f221787b4fa5b730a
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +2 -0
@@ -190,6 +190,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 ] = {
Signature · 1 line
2.34.1
Re: [PATCH 2/2] drm/amd/pm: add missing SMU13.0.7 mm_dpm feature mapping
Series is:
Reviewed-by Alex Deucher <[email protected]>
Quoted 26 lines · Evan Quan
Without this, the
pp_dpm_vclkandpp_dpm_dclkoutputs are not with correct data.Signed-off-by Evan Quan <[email protected]>Change-Id Idef7d0b1778fc4b900945c9f221787b4fa5b730a--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +2
-1@@ -190,6 +190,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.34.1