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

Submitted by Gui, Jack on Aug. 12, 2019, 8:22 a.m.

Details

Message ID 1565598138-13844-1-git-send-email-Jack.Gui@amd.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Gui, Jack Aug. 12, 2019, 8:22 a.m.
remove redundancy debug log about smu unsupported features

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
---
 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

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;
 	}
 

Comments

Reviewed-by: Kevin Wang <kevin1.wang@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@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;

>   	}

>
Reviewed-by: Evan Quan <evan.quan@amd.com>


> -----Original Message-----

> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of

> Chengming Gui

> Sent: Monday, August 12, 2019 4:22 PM

> To: amd-gfx@lists.freedesktop.org

> Cc: Gui, Jack <Jack.Gui@amd.com>

> Subject: [PATCH 1/2] drm/amd/powerplay: remove redundancy debug log

> about smu unsupported features

> 

> remove redundancy debug log about smu unsupported features

> 

> Signed-off-by: Chengming Gui <Jack.Gui@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;

>  	}

> 

> --

> 2.7.4

> 

> _______________________________________________

> amd-gfx mailing list

> amd-gfx@lists.freedesktop.org

> https://lists.freedesktop.org/mailman/listinfo/amd-gfx