Skip to content

Commit

Permalink
drm/radeon: make some dpm errors debug only
Browse files Browse the repository at this point in the history
"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
  • Loading branch information
Alex Deucher committed Nov 25, 2015
1 parent 4e7697e commit 9c565e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/rv730_dpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ void rv730_stop_dpm(struct radeon_device *rdev)
result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_TwoLevelsDisabled);

if (result != PPSMC_Result_OK)
DRM_ERROR("Could not force DPM to low\n");
DRM_DEBUG("Could not force DPM to low\n");

WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN);

Expand Down
4 changes: 2 additions & 2 deletions drivers/gpu/drm/radeon/rv770_dpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void rv770_stop_dpm(struct radeon_device *rdev)
result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_TwoLevelsDisabled);

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

WREG32_P(GENERAL_PWRMGT, 0, ~GLOBAL_PWRMGT_EN);

Expand Down Expand Up @@ -1418,7 +1418,7 @@ int rv770_resume_smc(struct radeon_device *rdev)
int rv770_set_sw_state(struct radeon_device *rdev)
{
if (rv770_send_msg_to_smc(rdev, PPSMC_MSG_SwitchToSwState) != PPSMC_Result_OK)
DRM_ERROR("rv770_set_sw_state failed\n");
DRM_DEBUG("rv770_set_sw_state failed\n");
return 0;
}

Expand Down

0 comments on commit 9c565e3

Please sign in to comment.