]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: don't restore LVDS enable state blindly v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 19 Feb 2013 20:11:38 +0000 (12:11 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Feb 2013 21:35:11 +0000 (22:35 +0100)
commitbc555a2f669e3386223ba545abba5b2fd0c73d04
tree53571381093ad8d5a7283bf18f2fb32b882d07ed
parentf0c4c14b61a1c96f4ce2674c49f1a709b93b5146
drm/i915: don't restore LVDS enable state blindly v2

We still rely on a few LVDS bits, but restoring the enable bit can cause
trouble at this point, so don't.

v2: use the right mask to prevent restore (Daniel)
    conditionalize on KMS support (Denial)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_suspend.c