summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-01-24 13:50:48 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:19:05 -0500
commit6fa3ef3a9c4503d7769019a7b00f3f2e0e7d7c68 (patch)
treed48f55ea7dda3ec42f61c77ccec6fd9af145b57a
parent6b034e25c86805d14259668a3ce6dc27c7509557 (diff)
downloadlinux-6fa3ef3a9c4503d7769019a7b00f3f2e0e7d7c68.tar.bz2
drm/amd/pp: Delete debug info when set power_profile_mode
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>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c1
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
index f12b9e777703..39ef93ac5467 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 87f066073ae4..4c259cd2693f 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;