Skip to content

Commit 9c565e3

Browse files
committed
drm/radeon: make some dpm errors debug only
"Could not force DPM to low", etc. is usually harmless and just confuses users. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
1 parent 4e7697e commit 9c565e3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/radeon/rv730_dpm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ void rv730_stop_dpm(struct radeon_device *rdev)
464464
result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_TwoLevelsDisabled);
465465

466466
if (result != PPSMC_Result_OK)
467-
DRM_ERROR("Could not force DPM to low\n");
467+
DRM_DEBUG("Could not force DPM to low\n");
468468

469469
WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN);
470470

drivers/gpu/drm/radeon/rv770_dpm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ void rv770_stop_dpm(struct radeon_device *rdev)
193193
result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_TwoLevelsDisabled);
194194

195195
if (result != PPSMC_Result_OK)
196-
DRM_ERROR("Could not force DPM to low.\n");
196+
DRM_DEBUG("Could not force DPM to low.\n");
197197

198198
WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN);
199199

@@ -1418,7 +1418,7 @@ int rv770_resume_smc(struct radeon_device *rdev)
14181418
int rv770_set_sw_state(struct radeon_device *rdev)
14191419
{
14201420
if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_SwitchToSwState) != PPSMC_Result_OK)
1421-
DRM_ERROR("rv770_set_sw_state failed\n");
1421+
DRM_DEBUG("rv770_set_sw_state failed\n");
14221422
return 0;
14231423
}
14241424

0 commit comments

Comments
 (0)