Uniquely validate the batchbuffer-referenced buffers.
authorEric Anholt <eric@anholt.net>
Thu, 20 Sep 2007 18:41:25 +0000 (11:41 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 20 Sep 2007 18:41:25 +0000 (11:41 -0700)
commitc1ecc383204914567c6de1587d7b9559ec72ce6e
tree4bcfd88ba66f1b1a75f5e7cf01a2fd146a2a008f
parent75912596741d1afe5827dab6913c3d810eda8788
Uniquely validate the batchbuffer-referenced buffers.

Otherwise, for multiple references by the batchbuffer, the kernel would see
the buffer already on the unfenced list and wait for it to leave the list
before continuing, leading to hanging and eventual -EBUSY.
src/mesa/drivers/dri/i915tex/intel_batchbuffer.c