Skip to content

Commit 4e7697e

Browse files
committed
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
1 parent 3d65193 commit 4e7697e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/radeon/rv770_dpm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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-
return -EINVAL;
1421+
DRM_ERROR("rv770_set_sw_state failed\n");
14221422
return 0;
14231423
}
14241424

0 commit comments

Comments
 (0)