drm/i915: move modeset checks out of save/restore_modeset_reg
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Jan 2013 16:53:19 +0000 (17:53 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 28 Jan 2013 21:37:30 +0000 (22:37 +0100)
That way the control flow is clearer, and it prepares the stage
to extract these ums functions and hide them somewhere.

There's still tons of display stuff outside of these, but that
requires more work.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found