[PATCH 1/2] drm/amd/powerplay: remove redundancy debug log about smu unsupported features

Kevin Wang kevwa at amd.com
Mon Aug 12 08:35:16 UTC 2019


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

On 8/12/19 4:22 PM, Chengming Gui wrote:
> remove redundancy debug log about smu unsupported features
>
> Signed-off-by: Chengming Gui <Jack.Gui at amd.com>
> ---
>   drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> index e6fcbdf..03ce871 100644
> --- a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> +++ b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> @@ -215,7 +215,6 @@ static int arcturus_get_smu_feature_index(struct smu_context *smc, uint32_t inde
>   
>   	mapping = arcturus_feature_mask_map[index];
>   	if (!(mapping.valid_mapping)) {
> -		pr_warn("Unsupported SMU feature: %d\n", index);
>   		return -EINVAL;
>   	}
>   


More information about the amd-gfx mailing list