OSDN Git Service

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>
Wed, 20 Feb 2013 00:33:48 +0000 (01:33 +0100)
commit2ec90668e3db1d9fe9bb8370d74a5e51709c2d79
tree231379f4b8ba891794915ca6ac1c621bda9580b4
parent02bcca0d72a1491d30cfb5dce29e348ac15fd01c
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