RE: [PATCH] drm/amd/pm: enable MP0 DPM for sienna_cichlid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[AMD Public Use]

Reviewed-by: Tao Zhou <tao.zhou1@xxxxxxx>

> -----Original Message-----
> From: Jiansong Chen <Jiansong.Chen@xxxxxxx>
> Sent: Thursday, August 27, 2020 2:47 PM
> To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> Cc: Zhou1, Tao <Tao.Zhou1@xxxxxxx>; Feng, Kenneth
> <Kenneth.Feng@xxxxxxx>; Chen, Jiansong (Simon) <Jiansong.Chen@xxxxxxx>
> Subject: [PATCH] drm/amd/pm: enable MP0 DPM for sienna_cichlid
> 
> Enable MP0 clock DPM for sienna_cichlid.
> 
> Signed-off-by: Jiansong Chen <Jiansong.Chen@xxxxxxx>
> Change-Id: Iee6a05a634c200f9bbb895b963365bb001a451bc
> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
> b/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
> index b48ac591db8b..b67931fd64b4 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
> @@ -68,7 +68,8 @@
>  	FEATURE_MASK(FEATURE_DPM_LINK_BIT)       | \
>  	FEATURE_MASK(FEATURE_DPM_SOCCLK_BIT)     | \
>  	FEATURE_MASK(FEATURE_DPM_FCLK_BIT)	 | \
> -	FEATURE_MASK(FEATURE_DPM_DCEFCLK_BIT))
> +	FEATURE_MASK(FEATURE_DPM_DCEFCLK_BIT)	 | \
> +	FEATURE_MASK(FEATURE_DPM_MP0CLK_BIT))
> 
>  #define SMU_11_0_7_GFX_BUSY_THRESHOLD 15
> 
> @@ -230,6 +231,7 @@ sienna_cichlid_get_allowed_feature_mask(struct
> smu_context *smu,
> 
>  	*(uint64_t *)feature_mask |=
> FEATURE_MASK(FEATURE_DPM_PREFETCHER_BIT)
>  				| FEATURE_MASK(FEATURE_DPM_FCLK_BIT)
> +				| FEATURE_MASK(FEATURE_DPM_MP0CLK_BIT)
>  				| FEATURE_MASK(FEATURE_DS_SOCCLK_BIT)
>  				| FEATURE_MASK(FEATURE_DS_DCEFCLK_BIT)
>  				| FEATURE_MASK(FEATURE_DS_FCLK_BIT)
> --
> 2.25.1
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux