drm/i915: extract modeset config save/restore code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Jul 2012 20:24:08 +0000 (22:24 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:00:51 +0000 (08:00 +0200)
commit85f9eb71fec3322dc3670207ca5c1706467e701c
tree4339041a32e8599021947e2b8eb02e4b547b6fdc
parentd9e55608cdcd875c4c1f319c1a5a438c7cc55f57
drm/i915: extract modeset config save/restore code

At the end this won't be of much use to us, but meanwhile just extract
it to get a better overview of what exactly set_config does.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c