[PATCH 1/4] drm/amd/pp: Delete debug info when set power_profile_mode

Alex Deucher alexdeucher at gmail.com
Tue Jan 30 19:40:24 UTC 2018


On Tue, Jan 30, 2018 at 1:10 AM, Rex Zhu <Rex.Zhu at amd.com> wrote:
> Change-Id: I99c148903148bb7143177e023781e408a7ecffb2
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

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

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             | 1 -
>  drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 --
>  2 files changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> index f12b9e7..39ef93a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> @@ -719,7 +719,6 @@ static ssize_t amdgpu_set_pp_power_profile_mode(struct device *dev,
>                                 count = -EINVAL;
>                                 goto fail;
>                         }
> -                       pr_info("value is %ld \n", parameter[parameter_size]);
>                         parameter_size++;
>                         while (isspace(*tmp_str))
>                                 tmp_str++;
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> index 87f0660..4c259cd 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> @@ -5095,8 +5095,6 @@ static int vega10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, ui
>                                         PPSMC_MSG_SetCustomGfxDpmParameters,
>                                         busy_set_point | FPS<<8 |
>                                         use_rlc_busy << 16 | min_active_level<<24);
> -                               pr_info("size is %d value is %x \n", size, busy_set_point | FPS<<8 |
> -                                       use_rlc_busy << 16 | min_active_level<<24);
>         }
>
>         return 0;
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list