drm/i915: Only wait on a pending flip if we intend to write to the buffer
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 6 Mar 2011 13:51:29 +0000 (13:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 7 Mar 2011 11:06:02 +0000 (11:06 +0000)
commitc59a333f73868ca6fbcecea99b3542e2c62a3a5c
tree7c858d5ea0f03b6fb8b7ed7169319dfa4d1797af
parent3d3dc149eda48566619d165f6b34e5eeca00edf1
drm/i915: Only wait on a pending flip if we intend to write to the buffer

... as if we are only reading from it, we can do that concurrently with
the queue flip.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem_execbuffer.c