drm/i915: dont save/restore VGA state for kms
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Jan 2013 16:53:21 +0000 (17:53 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 Jan 2013 10:50:03 +0000 (11:50 +0100)
commit44cec74040564cba2ace8c3756d2fc908bc7a373
treeb319a4c18137cb9f7ed611918436880d5951001a
parentd8157a3687323ae5a76f1ecd0fc592b1d87be81b
drm/i915: dont save/restore VGA state for kms

The only thing we really care about that it is off. To do so, reuse
the recently created i915_redisable_vga function, which is already
used to put obnoxious firmware into check on lid reopening.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/intel_display.c