drm/i915: Only emit a flush if there is an outstanding gpu write
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Dec 2010 14:36:02 +0000 (14:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Dec 2010 14:36:02 +0000 (14:36 +0000)
commit0ac74c6b3386f0413baf48f6d61850650e0dc4ab
treecef6462fb5fffb8c99ad22bc076130eaaca777dd
parent6bda10d152735c22baf1dcd92937420b4b0a359a
drm/i915: Only emit a flush if there is an outstanding gpu write

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