drm/i915: extract readout_hw_state from setup_hw_state
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Jun 2013 11:34:17 +0000 (13:34 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Jun 2013 19:30:51 +0000 (21:30 +0200)
commit30e984df4c5633363b45108473b0561e7d89476d
tree9ce683dc87b4246f645af8eec4867d58536545ed
parent5358901f99153085db59c3644db00b8753b50ac1
drm/i915: extract readout_hw_state from setup_hw_state

Simply grew too big. This also makes the fixup and restore logic in
setup_hw_state stand out a bit more clearly.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c