aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_pm.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_pm.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c
index 1827317704a2..c88edae33deb 100644
--- a/drivers/gpu/drm/radeon/radeon_pm.c
+++ b/drivers/gpu/drm/radeon/radeon_pm.c
@@ -52,9 +52,9 @@ static int radeon_acpi_event(struct notifier_block *nb,
52 52
53 if (strcmp(entry->device_class, ACPI_AC_CLASS) == 0) { 53 if (strcmp(entry->device_class, ACPI_AC_CLASS) == 0) {
54 if (power_supply_is_system_supplied() > 0) 54 if (power_supply_is_system_supplied() > 0)
55 DRM_INFO("pm: AC\n"); 55 DRM_DEBUG("pm: AC\n");
56 else 56 else
57 DRM_INFO("pm: DC\n"); 57 DRM_DEBUG("pm: DC\n");
58 58
59 if (rdev->pm.pm_method == PM_METHOD_PROFILE) { 59 if (rdev->pm.pm_method == PM_METHOD_PROFILE) {
60 if (rdev->pm.profile == PM_PROFILE_AUTO) { 60 if (rdev->pm.profile == PM_PROFILE_AUTO) {
@@ -183,7 +183,7 @@ static void radeon_set_power_state(struct radeon_device *rdev)
183 radeon_set_engine_clock(rdev, sclk); 183 radeon_set_engine_clock(rdev, sclk);
184 radeon_pm_debug_check_in_vbl(rdev, true); 184 radeon_pm_debug_check_in_vbl(rdev, true);
185 rdev->pm.current_sclk = sclk; 185 rdev->pm.current_sclk = sclk;
186 DRM_INFO("Setting: e: %d\n", sclk); 186 DRM_DEBUG("Setting: e: %d\n", sclk);
187 } 187 }
188 188
189 /* set memory clock */ 189 /* set memory clock */
@@ -192,7 +192,7 @@ static void radeon_set_power_state(struct radeon_device *rdev)
192 radeon_set_memory_clock(rdev, mclk); 192 radeon_set_memory_clock(rdev, mclk);
193 radeon_pm_debug_check_in_vbl(rdev, true); 193 radeon_pm_debug_check_in_vbl(rdev, true);
194 rdev->pm.current_mclk = mclk; 194 rdev->pm.current_mclk = mclk;
195 DRM_INFO("Setting: m: %d\n", mclk); 195 DRM_DEBUG("Setting: m: %d\n", mclk);
196 } 196 }
197 radeon_pm_finish(rdev); 197 radeon_pm_finish(rdev);
198 } else { 198 } else {
@@ -203,7 +203,7 @@ static void radeon_set_power_state(struct radeon_device *rdev)
203 radeon_set_engine_clock(rdev, sclk); 203 radeon_set_engine_clock(rdev, sclk);
204 radeon_pm_finish(rdev); 204 radeon_pm_finish(rdev);
205 rdev->pm.current_sclk = sclk; 205 rdev->pm.current_sclk = sclk;
206 DRM_INFO("Setting: e: %d\n", sclk); 206 DRM_DEBUG("Setting: e: %d\n", sclk);
207 } 207 }
208 /* set memory clock */ 208 /* set memory clock */
209 if (rdev->asic->set_memory_clock && (mclk != rdev->pm.current_mclk)) { 209 if (rdev->asic->set_memory_clock && (mclk != rdev->pm.current_mclk)) {
@@ -212,14 +212,14 @@ static void radeon_set_power_state(struct radeon_device *rdev)
212 radeon_set_memory_clock(rdev, mclk); 212 radeon_set_memory_clock(rdev, mclk);
213 radeon_pm_finish(rdev); 213 radeon_pm_finish(rdev);
214 rdev->pm.current_mclk = mclk; 214 rdev->pm.current_mclk = mclk;
215 DRM_INFO("Setting: m: %d\n", mclk); 215 DRM_DEBUG("Setting: m: %d\n", mclk);
216 } 216 }
217 } 217 }
218 218
219 rdev->pm.current_power_state_index = rdev->pm.requested_power_state_index; 219 rdev->pm.current_power_state_index = rdev->pm.requested_power_state_index;
220 rdev->pm.current_clock_mode_index = rdev->pm.requested_clock_mode_index; 220 rdev->pm.current_clock_mode_index = rdev->pm.requested_clock_mode_index;
221 } else 221 } else
222 DRM_INFO("pm: GUI not idle!!!\n"); 222 DRM_DEBUG("pm: GUI not idle!!!\n");
223} 223}
224 224
225static void radeon_pm_set_clocks(struct radeon_device *rdev) 225static void radeon_pm_set_clocks(struct radeon_device *rdev)
@@ -624,7 +624,7 @@ static bool radeon_pm_debug_check_in_vbl(struct radeon_device *rdev, bool finish
624 bool in_vbl = radeon_pm_in_vbl(rdev); 624 bool in_vbl = radeon_pm_in_vbl(rdev);
625 625
626 if (in_vbl == false) 626 if (in_vbl == false)
627 DRM_INFO("not in vbl for pm change %08x at %s\n", stat_crtc, 627 DRM_DEBUG("not in vbl for pm change %08x at %s\n", stat_crtc,
628 finish ? "exit" : "entry"); 628 finish ? "exit" : "entry");
629 return in_vbl; 629 return in_vbl;
630} 630}