blob: ea9f7691f34e428699c3b2dda41a0ba415a46b90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
From bd9080327257337ac3436286a9d6b1ed99b739d5 Mon Sep 17 00:00:00 2001
From: Rex Zhu <Rex.Zhu@amd.com>
Date: Wed, 24 Jan 2018 13:50:48 +0800
Subject: [PATCH 3287/4131] drm/amd/pp: Delete debug info when set
power_profile_mode
Change-Id: I99c148903148bb7143177e023781e408a7ecffb2
Signed-off-by: Rex Zhu <Rex.Zhu@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 4c3c241..4b364dc 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
@@ -717,7 +717,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 143fbca..0d88e7f 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
@@ -5098,8 +5098,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;
--
2.7.4
|