Comment 55 for bug 1216252

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

Finally!

commit a048f436a0210d076fc844404bf56b8b7fcb4b7b
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>