]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Redisable VGA before the modeset on resume
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2013 14:38:33 +0000 (17:38 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:08 +0000 (07:45 +0200)
commitbde9373bf2fc8aca72442ae7b2fa5040dbb39362
tree8cafc8591c3ac6f8e5bc52249445f9b1a77e979f
parent0c7d32007fe81ae0b1935a3217f645f429ae2c97
drm/i915: Redisable VGA before the modeset on resume

The VGA plane needs to be disabled before we start doing any
modeset operations on resume.

This should also guarantee that the power well will be enabled
when we call i915_redisable_vga() since it gets explicitly powered on
during resume, and will get powered back off during the modeset
operation if no longer needed.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c