drm/i915/overlay: Combine SWITCH_OFF into a single step
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Aug 2010 11:07:32 +0000 (12:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:49 +0000 (10:23 +0100)
commit8dfbc3403113bcc51f0350c3471fa1abf664305f
tree5e6685d671acb6e12d82726ca656b3b5f3598752
parent9bb2ff731b32c023e7a502efdc0dee46157290d5
drm/i915/overlay: Combine SWITCH_OFF into a single step

We can program the h/w to first wait on the flip and then switch off
without relying on s/w intervention. This removes the need for a double
step switch off, bringing much rejoicing.

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