From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99851] [drm:.r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD) Date: Fri, 15 Sep 2017 21:44:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0785464623==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BE4B16ED1A for ; Fri, 15 Sep 2017 21:44:47 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0785464623== Content-Type: multipart/alternative; boundary="15055118872.9b12.13814"; charset="UTF-8" --15055118872.9b12.13814 Date: Fri, 15 Sep 2017 21:44:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99851 --- Comment #54 from Joshua Cogliati --- Just for reference, the ring 0 test failed error comes from the line: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/dri= vers/gpu/drm/radeon/r600.c#n2848 Basically, the r600 driver writes 0xCAFEDEAD into a scratch register, then = uses a ring write to try and write 0xDEADBEEF into the scratch register, and then waits and then reads the scratch register again to see what is in it. If i= t is not 0xDEADBEEF, then the test fails and hardware acceleration is turned off. if 60db3a4d8cc9073cf56264785197ba75ee1caca4 caused it to start, https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?= id=3D60db3a4d8cc9073cf56264785197ba75ee1caca4 then maybe the hardware doesn't support 256 concurrent requests? --=20 You are receiving this mail because: You are the assignee for the bug.= --15055118872.9b12.13814 Date: Fri, 15 Sep 2017 21:44:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 54 on bug 99851<= /a> from Joshua Cogliati
Just for reference, the ring 0 test failed error comes from th=
e line:
https://git.kernel.org/pub/scm=
/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/radeon/r600.c#n28=
48

Basically, the r600 driver writes 0xCAFEDEAD into a scratch register, then =
uses
a ring write to try and write 0xDEADBEEF into the scratch register, and then
waits and then reads the scratch register again to see what is in it.  If i=
t is
not 0xDEADBEEF, then the test fails and hardware acceleration is turned off.

if 60db3a4d8cc9073cf56264785197ba75ee1caca4 caused it to start,
https://git.kerne=
l.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3D60db3a4d8cc9=
073cf56264785197ba75ee1caca4
then maybe the hardware doesn't support 256 concurrent requests?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15055118872.9b12.13814-- --===============0785464623== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0785464623==--