[PATCH 2/2] drm/amd/pm: add missing SMU13.0.7 mm_dpm feature mapping

Alex Deucher alexdeucher at gmail.com
Mon Dec 12 14:08:23 UTC 2022


Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

On Mon, Dec 12, 2022 at 3:44 AM Evan Quan <evan.quan at amd.com> wrote:
>
> Without this, the pp_dpm_vclk and pp_dpm_dclk outputs are not with
> correct data.
>
> Signed-off-by: Evan Quan <evan.quan at amd.com>
> Change-Id: Idef7d0b1778fc4b900945c9f221787b4fa5b730a
> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
> index 81036d57b598..5e937e4efb51 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
> @@ -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
>


More information about the amd-gfx mailing list