i915g/winsys: buffer validation support
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 27 Feb 2011 16:51:48 +0000 (17:51 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 27 Feb 2011 17:49:56 +0000 (18:49 +0100)
commit3c59b3eb4b6f4f673106d738b62458e6b0b38d46
treeb89169d918e630793768ef9b7a46b87db8ad42c7
parente20c3255e29b9f94840d1f23439ab29060c94e3f
i915g/winsys: buffer validation support

v2: Add the batch bo to the libdrm validation lost, for otherwise
libdrm won't take previously used buffers into account.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_winsys.h
src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c
src/gallium/winsys/i915/sw/i915_sw_batchbuffer.c