drm/amd/pp: Delete debug info when set power_profile_mode
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 24 Jan 2018 05:50:48 +0000 (13:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:05 +0000 (14:19 -0500)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c

index f12b9e7..39ef93a 100644 (file)
@@ -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++;
index 87f0660..4c259cd 100644 (file)
@@ -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;