]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53ac8d89130fb2e22e553e321d888a6a7bf11c23
tree25c1d4c553f96330b893a8874c510e04a85f47c1
parentb6e64323582d7c2af03d6ea1906a701fd0efe018
drm/i915: move modeset checks out of save/restore_modeset_reg

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>
drivers/gpu/drm/i915/i915_suspend.c