From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754638AbcCAXvl (ORCPT ); Tue, 1 Mar 2016 18:51:41 -0500 Received: from mail333.us4.mandrillapp.com ([205.201.137.77]:42851 "EHLO mail333.us4.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751809AbcCAXvc (ORCPT ); Tue, 1 Mar 2016 18:51:32 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=linuxfoundation.org; b=ofwyvV9Nt/lh1/b7nkCuK3dR2zMLRm9Zhpqa6QX3iOL1irbTQO+lebvE8x/hcLkYqyh7d07Ssath v8NhNdB/d1t6NZI/mfpO7A73e7WqJ9S3WymtEXXq9TaY6Eh2pYBHW04oW+pkJw5E0eWHZMeC9gWH t39F76FVcKMIcWwYB78=; From: Greg Kroah-Hartman Subject: [PATCH 3.14 054/130] drm/radeon: make rv770_set_sw_state failures non-fatal X-Mailer: git-send-email 2.7.2 To: Cc: Greg Kroah-Hartman , , Alex Deucher Message-Id: <20160301234501.683159081@linuxfoundation.org> In-Reply-To: <20160301234459.768886030@linuxfoundation.org> References: <20160301234459.768886030@linuxfoundation.org> X-Report-Abuse: Please forward a copy of this message, including all headers, to abuse@mandrill.com X-Report-Abuse: You can also report abuse here: http://mandrillapp.com/contact/abuse?id=30481620.d056d2d1a9ea4056b837084efd5be424 X-Mandrill-User: md_30481620 Date: Tue, 01 Mar 2016 23:51:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alex Deucher 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 Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/radeon/rv770_dpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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_devic 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; }