From: bugzilla-daemon@freedesktop.org Subject: [Bug 103304] multi-threaded usage of Gallium RadeonSI leads to NULL pointer exception in pb_cache_reclaim_buffer Date: Tue, 17 Oct 2017 21:18:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0129257479==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 952226E769 for ; Tue, 17 Oct 2017 21:18:36 +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 --===============0129257479== Content-Type: multipart/alternative; boundary="15082751161.c7BC6310a.14329"; charset="UTF-8" --15082751161.c7BC6310a.14329 Date: Tue, 17 Oct 2017 21:18:36 +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=3D103304 --- Comment #2 from Nicolai H=C3=A4hnle --- Oh wow, now that I've actually looked at the issue in more detail, I'm pret= ty amazed that you actually managed to hit this issue! Congratulations! :) The true analysis is a bit different, I would say. The flush ends up access= ing the texture because it does an automatic re-add of all resources when start= ing a new CS. This should not affect the ability of the other thread to do a texture invalidation (you'd just kill performance by introducing an unneces= sary stall). The real solution is certainly different. I'm currently looking at other texture-related races as well, this is just one additional one to take care= of. Thank you for the report! --=20 You are receiving this mail because: You are the assignee for the bug.= --15082751161.c7BC6310a.14329 Date: Tue, 17 Oct 2017 21:18:36 +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 # 2 on bug 10330= 4 from Nicolai H=C3=A4hnle
Oh wow, now that I've actually looked at the issue in more det=
ail, I'm pretty
amazed that you actually managed to hit this issue! Congratulations! :)

The true analysis is a bit different, I would say. The flush ends up access=
ing
the texture because it does an automatic re-add of all resources when start=
ing
a new CS. This should not affect the ability of the other thread to do a
texture invalidation (you'd just kill performance by introducing an unneces=
sary
stall).

The real solution is certainly different. I'm currently looking at other
texture-related races as well, this is just one additional one to take care=
 of.
Thank you for the report!


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