drm/i915: Remove the broken flush_ring from page-flip
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Sep 2010 10:00:38 +0000 (11:00 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Sep 2010 10:02:55 +0000 (11:02 +0100)
commit20f0cd55f68e0678909214c60b3595a22124bdb0
treec64fb737f3047896c387b7eb0de4936d0d500ebe
parent6ec3d0c0e9c0c605696e91048eebaca7b0c36695
drm/i915: Remove the broken flush_ring from page-flip

This is already performed with the pipelined flush, so by the time we
schedule the flush in the page-flip, the ring is NULL and we OOPs
instead.

Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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