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

Rex Zhu Rex.Zhu at amd.com
Wed Jan 24 09:36:20 UTC 2018


Change-Id: I99c148903148bb7143177e023781e408a7ecffb2
Signed-off-by: Rex Zhu <Rex.Zhu 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 fda858e..1812009 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 308dc8f..6b28896 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



More information about the amd-gfx mailing list