]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/gpu/drm/i915/intel_lvds.c
drm/i915: give up on 8xx lid status
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 12 Feb 2010 17:30:00 +0000 (09:30 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 22 Feb 2010 16:57:18 +0000 (11:57 -0500)
commit7b9c5abee98c54f85bcc04bd4d7ec8d5094c73f4
treea4d89b27f697e51eb9ea3a4b548d6e86e1b23862
parentf590d279eb4978352af163a88b001f156c7147d2
drm/i915: give up on 8xx lid status

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>
Cc: stable@kernel.org
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_lvds.c