drm/i915: overlay: extract some duplicated code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 25 Apr 2037 08:08:26 +0000 (10:08 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 30 Nov 2009 17:44:23 +0000 (09:44 -0800)
commit12ca45fea91cfbb09df828bea958b47348caee6d
treece5d58b2a8315d4d3be51b7ae444abfa79878327
parent26444877812fb2a2b9301b0b3702fdf9f9e06e4b
drm/i915: overlay: extract some duplicated code

I've suspected some bug there wrt to suspend, but that was not
the case. Clean up the code anyway.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_overlay.c