aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_lock.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2011-04-21 16:08:14 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-21 15:13:08 -0700
commit911c1616880507b32b0b6d89db7e7055dd803079 (patch)
treefe725ccb1e32467cb0fd275c75641049b53ac1bb /drivers/gpu/drm/drm_lock.c
parent9e532c331c378b6ba7a0886b8410bcb523663b28 (diff)
drm/i915/lvds: Only act on lid notify when the device is on
commit 2fb4e61d9471867677c97bf11dba8f1e9dfa7f7c upstream. If we're using vga switcheroo, the device may be turned off and poking it can return random state. This provokes an OOPS fixed separately by 8ff887c847 (drm/i915/dp: Be paranoid in case we disable a DP before it is attached). Trying to use and respond to events on a device that has been turned off by the user is in principle a silly thing to do. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/gpu/drm/drm_lock.c')
0 files changed, 0 insertions, 0 deletions