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)
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>

No differences found