summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-11-23 16:43:29 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-11-24 12:48:15 -0500
commit4e7697ed79d0c0d5f869c87a6b3ce3d5cd1a07d6 (patch)
tree63463970b08608c01f52ef05a8ccdf4d15182186 /drivers
parent3d65193635e122d0783b97cb2202b7f21601037a (diff)
downloadlinux-4e7697ed79d0c0d5f869c87a6b3ce3d5cd1a07d6.tar.gz
linux-4e7697ed79d0c0d5f869c87a6b3ce3d5cd1a07d6.tar.bz2
linux-4e7697ed79d0c0d5f869c87a6b3ce3d5cd1a07d6.zip
drm/radeon: make rv770_set_sw_state failures non-fatal
On some cards it takes a relatively long time for the change to take place. Make a timeout non-fatal. bug: https://bugs.freedesktop.org/show_bug.cgi?id=76130 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/rv770_dpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/rv770_dpm.c b/drivers/gpu/drm/radeon/rv770_dpm.c
index b9c770745a7a..d24c58c1e1c0 100644
--- a/drivers/gpu/drm/radeon/rv770_dpm.c
+++ b/drivers/gpu/drm/radeon/rv770_dpm.c
@@ -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)
- return -EINVAL;
+ DRM_ERROR("rv770_set_sw_state failed\n");
return 0;
}