[PATCH 2/2] drm/amd/powerplay: correct the pp_feature output on Arcturus

Wang, Kevin(Yang) Kevin1.Wang at amd.com
Thu Aug 22 11:42:03 UTC 2019


Reviewed-by: Kevin Wang <kevin1.wang at amd.com>

Best Regards,
Kevin
________________________________
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of Quan, Evan <Evan.Quan at amd.com>
Sent: Thursday, August 22, 2019 6:20 PM
To: Quan, Evan <Evan.Quan at amd.com>; amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
Subject: RE: [PATCH 2/2] drm/amd/powerplay: correct the pp_feature output on Arcturus

Ping..

> -----Original Message-----
> From: Evan Quan <evan.quan at amd.com>
> Sent: Wednesday, August 21, 2019 4:42 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Quan, Evan <Evan.Quan at amd.com>
> Subject: [PATCH 2/2] drm/amd/powerplay: correct the pp_feature output on
> Arcturus
>
> Fix for the commit below:
> drm/amd/powerplay: implment sysfs feature status function in smu
>
> Change-Id: Id9a373f8d8866b97450be0aef0ba19d0835d40d8
> Signed-off-by: Evan Quan <evan.quan at amd.com>
> ---
>  drivers/gpu/drm/amd/powerplay/arcturus_ppt.c  | 2 ++
> drivers/gpu/drm/amd/powerplay/inc/smu_types.h | 1 +
>  2 files changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> index dd6563358e8e..f1f072012fac 100644
> --- a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> +++ b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> @@ -141,6 +141,7 @@ static struct smu_11_0_cmn2aisc_mapping
> arcturus_feature_mask_map[SMU_FEATURE_CO
>        FEA_MAP(DPM_SOCCLK),
>        FEA_MAP(DPM_FCLK),
>        FEA_MAP(DPM_MP0CLK),
> +     ARCTURUS_FEA_MAP(SMU_FEATURE_XGMI_BIT,
> FEATURE_DPM_XGMI_BIT),
>        FEA_MAP(DS_GFXCLK),
>        FEA_MAP(DS_SOCCLK),
>        FEA_MAP(DS_LCLK),
> @@ -149,6 +150,7 @@ static struct smu_11_0_cmn2aisc_mapping
> arcturus_feature_mask_map[SMU_FEATURE_CO
>        FEA_MAP(GFX_ULV),
>        ARCTURUS_FEA_MAP(SMU_FEATURE_VCN_PG_BIT,
> FEATURE_DPM_VCN_BIT),
>        FEA_MAP(RSMU_SMN_CG),
> +     FEA_MAP(WAFL_CG),
>        FEA_MAP(PPT),
>        FEA_MAP(TDC),
>        FEA_MAP(APCC_PLUS),
> diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu_types.h
> b/drivers/gpu/drm/amd/powerplay/inc/smu_types.h
> index 72962e842d69..c3c74098f614 100644
> --- a/drivers/gpu/drm/amd/powerplay/inc/smu_types.h
> +++ b/drivers/gpu/drm/amd/powerplay/inc/smu_types.h
> @@ -207,6 +207,7 @@ enum smu_clk_type {
>         __SMU_DUMMY_MAP(TEMP_DEPENDENT_VMIN),                  \
>         __SMU_DUMMY_MAP(MMHUB_PG),                             \
>         __SMU_DUMMY_MAP(ATHUB_PG),                             \
> +       __SMU_DUMMY_MAP(WAFL_CG),
>
>  #undef __SMU_DUMMY_MAP
>  #define __SMU_DUMMY_MAP(feature)
>        SMU_FEATURE_##feature##_BIT
> --
> 2.23.0

_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20190822/aab26b56/attachment.html>


More information about the amd-gfx mailing list