drm/i915: give up on 8xx lid status
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 12 Feb 2010 17:30:00 +0000 (09:30 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:11:11 +0000 (11:11 -0700)
commit250312c4cfff9464353b92b75afad4aa2eb164bb
tree7609cf23d84914f1a27b6ff905bb496eec5306f1
parent6b2c1eb8b7f909c827020d2966a7088bd4b253e0
drm/i915: give up on 8xx lid status

commit 7b9c5abee98c54f85bcc04bd4d7ec8d5094c73f4 upstream.

These old machines more often than not lie about their lid state.  So
don't use it to detect LVDS presence, but leave the event handler to
deal with lid open/close, when we might need to reset the mode.

Fixes kernel bug #15248

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_lvds.c