Comment 33 for bug 1157458

Revision history for this message
Chris Wilson (ickle) wrote :

Hmm, could this also be:

Author: Chris Wilson <email address hidden>
Date: Wed Oct 2 14:59:11 2013 +0100

    sna: Only delete unused io buffers

    Before deleting the io buffer, we need to check that it is not active.
    Currently we check that it is not pending use in the current batch, but
    we also need to double check that it does not have outstanding use by
    the GPU. Failing to do so could mean overwriting the data prior to it
    being read by the GPU, a very small race but often hit!

    Reported-by: Vedran Rodic <email address hidden> # and many others
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66990
    Signed-off-by: Chris Wilson <email address hidden>