Skip to contentSkip to conversation

drm/amd/pp: Delete debug info when set power_profile_mode

PATCH New Rex Zhu 1 participant 1 message Jan 24, 2018

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

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

Change-Id I99c148903148bb7143177e023781e408a7ecffb2
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             | 1 -
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 --
 2 files changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +0 -1
index fda858e..1812009 100644
@@ -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++;
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +0 -2
index 308dc8f..6b28896 100644
@@ -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;
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx