[Bug 75061] bug in clearing color buffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 23 23:04:30 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75061

Michel Dänzer <michel at daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|mesa-dev at lists.freedesktop. |dri-devel at lists.freedesktop
                   |org                         |.org
          Component|Other                       |Drivers/Gallium/r600

--- Comment #11 from Michel Dänzer <michel at daenzer.net> ---
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:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140224/544d7383/attachment.html>


More information about the dri-devel mailing list