drm/i915: Use ring->flush() instead of MI_FLUSH
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 19 Sep 2010 14:05:13 +0000 (15:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:19:59 +0000 (11:19 +0100)
commitc7f9f9a8b89bb4d53edc030f5b61ae11d6859721
tree1cc879aa1b228a0fd5569f56776ad12f811cfd68
parente070868ef2101ce548d4fbb25edfd301e59fb719
drm/i915: Use ring->flush() instead of MI_FLUSH

Use the ring abstraction to hide the details of having choose the
appropriate flushing method.

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