From: bugzilla-daemon@freedesktop.org Subject: [Bug 101946] Rebinding AMDGPU causes initialization errors [R9 290] Date: Sat, 29 Jul 2017 22:22:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0855638948==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 7BE0F6E01D for ; Sat, 29 Jul 2017 22:22: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 --===============0855638948== Content-Type: multipart/alternative; boundary="15013669370.fc230c551.393"; charset="UTF-8" --15013669370.fc230c551.393 Date: Sat, 29 Jul 2017 22:22:17 +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=3D101946 --- Comment #20 from Robin --- Created attachment 133132 --> https://bugs.freedesktop.org/attachment.cgi?id=3D133132&action=3Dedit Brute-force fix, resets sdma every init After much trial and error, I've found this approach to work. Every hw_init both sDMA's will be flagged for a soft reset. I have tried the existing soft reset code as well, but the busy status flags that are being used to selectively reset the sDMA's do not work reliably in= my tests to prevent the errors. Using this patch the 9 and 10 ring test errors no longer appear and prevents the ring 1 errors. --=20 You are receiving this mail because: You are the assignee for the bug.= --15013669370.fc230c551.393 Date: Sat, 29 Jul 2017 22:22:17 +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

Comme= nt # 20 on bug 10194= 6 from Robin
Created =
attachment 133132 [details] =
[review]
Brute-force fix, resets sdma every init

After much trial and error, I've found this approach to work.
Every hw_init both sDMA's will be flagged for a soft reset.

I have tried the existing soft reset code as well, but the busy status flags
that are being used to selectively reset the sDMA's do not work reliably in=
 my
tests to prevent the errors.

Using this patch the 9 and 10 ring test errors no longer appear and prevents
the ring 1 errors.


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