From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75061] bug in clearing color buffer Date: Mon, 24 Feb 2014 07:04:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0052701278==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2176FFA901 for ; Sun, 23 Feb 2014 23:04:30 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0052701278== Content-Type: multipart/alternative; boundary="1393225469.CFE3f1.431"; charset="us-ascii" --1393225469.CFE3f1.431 Date: Mon, 24 Feb 2014 07:04:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D75061 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop |org |.org Component|Other |Drivers/Gallium/r600 --- Comment #11 from Michel D=C3=A4nzer --- AFAICT the problem is that both threads access the same struct r600_resource concurrently. It might be relatively easy to avoid the crashes by updating = the buf member atomically in r600_init_resource() instead of setting it to NULL first in r600_invalidate_buffer(), but I suspect there could be more subtle issues with other members, in particular valid_buffer_range. Marek, any thoughts on how to solve this? --=20 You are receiving this mail because: You are the assignee for the bug. --1393225469.CFE3f1.431 Date: Mon, 24 Feb 2014 07:04:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 75061<= /a>
What Removed Added
Assignee mesa-dev@lists.freedesktop.org dri-devel@lists.freedesktop.org
Component Other Drivers/Gallium/r600

Commen= t # 11 on bug 75061<= /a> from Michel D=C3=A4nzer
AFAICT the problem is that both threads access the same struct=
 r600_resource
concurrently. It might be relatively easy to avoid the crashes by updating =
the
buf member atomically in r600_init_resource() instead of setting it to NULL
first in r600_invalidate_buffer(), but I suspect there could be more subtle
issues with other members, in particular valid_buffer_range.

Marek, any thoughts on how to solve this?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1393225469.CFE3f1.431-- --===============0052701278== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0052701278==--