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!
Finally!
commit a048f436a0210d0 76fc844404bf56b 8b7fcb4b7b
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 /bugs.freedeskt op.org/ show_bug. cgi?id= 66990
Bugzilla: https:/
Signed-off-by: Chris Wilson <email address hidden>