diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-11-23 16:43:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-03 15:06:48 -0800 |
commit | 4eed7b9c2f5c7beceeca333436768cd9fdc2dbe7 (patch) | |
tree | 0cce9516bf15571b54bdceeec3fe4ae44bd30816 | |
parent | 10cdad157d42a3bea75c2d4d6e2caf7f6f2e4e78 (diff) | |
download | lwn-4eed7b9c2f5c7beceeca333436768cd9fdc2dbe7.tar.gz lwn-4eed7b9c2f5c7beceeca333436768cd9fdc2dbe7.zip |
drm/radeon: make rv770_set_sw_state failures non-fatal
commit 4e7697ed79d0c0d5f869c87a6b3ce3d5cd1a07d6 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/gpu/drm/radeon/rv770_dpm.c | 2 |
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 8fcb932a3a55..aaefb10aa09e 100644 --- a/drivers/gpu/drm/radeon/rv770_dpm.c +++ b/drivers/gpu/drm/radeon/rv770_dpm.c @@ -1415,7 +1415,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; } |