Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1347591

[PATCH 3.14 054/130] drm/radeon: make rv770_set_sw_state failures non-fatal

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject [PATCH 3.14 054/130] drm/radeon: make rv770_set_sw_state failures non-fatal
Date Wed, 02 Mar 2016 03:00:05 +0100
Message-ID <r84f3-EO-65@gated-at.bofh.it> (permalink)
References <r82dd-7Iy-13@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=linuxfoundation.org; h=From:Subject:To:Cc:Message-Id:In-Reply-To:References:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; i=gregkh@linuxfoundation.org; bh=tOMIJoOVTsXsvAw+uIxOu8tjSfw=; b=VHm0K8Pr1CFWWZpE88fGO6SreS0wXnfNm0CGlnbpKMuinJut5b5kPZy6BrCcWZxypKE+nC7pXf1K /tEmi+1pX4dc0Fqzf6+uq362hz35uJs96qoad7hQ8dG4eidfo1uzD2+AhSygcE4YOopVx/uds1rm Yy09CGzsuX7cYlNiwPI=
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=;
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1456876268; h=From : Subject : To : Cc : Message-Id : In-Reply-To : References : Date : MIME-Version : Content-Type : Content-Transfer-Encoding : From : Subject : Date : X-Mandrill-User : List-Unsubscribe; bh=E8CUTlTR7ieFFO9zfPgJ8b+H/6Bp7PWUh2ZwA7R5eSA=; b=Bx+kQOwvG4w8Dtzy48+Sh9meKRC35Syo7OL6runhZBkRmUodlPQycQwAFBc74f10OIYAln eETEsL1T6MLgVsuGBCsH7K4KtDwuw6Mmg/DUmTEbS/cYrHfdbELDgeLxEb+HvgYTHBZlji91 h6mQczbhXm3f4AHx4Iin5hKUJBxzE=
X-Mailer git-send-email 2.7.2
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
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 31
Organization linux.* mail to news gateway
X-Original-Cc Greg Kroah-Hartman <gregkh@linuxfoundation.org>, <stable@vger.kernel.org>, Alex Deucher <alexander.deucher@amd.com>
X-Original-Date Tue, 01 Mar 2016 23:51:08 +0000
X-Original-Message-ID <20160301234501.683159081@linuxfoundation.org>
X-Original-References <20160301234459.768886030@linuxfoundation.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1347591

Show key headers only | View raw


3.14-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Alex Deucher <alexander.deucher@amd.com>

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>

---
 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;
 }

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 3.14 054/130] drm/radeon: make rv770_set_sw_state failures non-fatal Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-03-02 03:00 +0100

csiph-web