drm/i915: Clear the pending_gpu_fenced_access flag at the start of execbuffer
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Jul 2012 11:41:07 +0000 (12:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 16:23:55 +0000 (18:23 +0200)
commit016fd0c1aee31902d82c1ac32312f1cc32298b66
treef7873b3741fe6aabef0e0a520b03aca16b17d75d
parent6ac42f4148bc27e5ffd18a9ab0eac57f58822af4
drm/i915: Clear the pending_gpu_fenced_access flag at the start of execbuffer

Otherwise once we use the buffer with a BLT command on gen2/3, we will
always regard future command submissions as continuing the fenced
access. However, now that we flush/invalidate between every batch we can
drop this pessimism.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c