From 6fa3ef3a9c4503d7769019a7b00f3f2e0e7d7c68 Mon Sep 17 00:00:00 2001 From: Rex Zhu Date: Wed, 24 Jan 2018 13:50:48 +0800 Subject: [PATCH] drm/amd/pp: Delete debug info when set power_profile_mode Reviewed-by: Alex Deucher Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher --- 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 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;