drm/i915: slow acpi_lid_open() causes flickering - V2
commit67026e03244d76b8f1fa725b079d4182fe8910aa
authorThomas Meyer <thomas@m3y3r.de>
Tue, 2 Feb 2010 19:09:04 +0000 (2 20:09 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 4 Feb 2010 16:36:45 +0000 (4 08:36 -0800)
tree130176e2570f8581769302e7e08442f7ddd3c08c
parent33c5fd121eabbccc9103daf6cda36941eb3c349f
drm/i915: slow acpi_lid_open() causes flickering - V2

acpi_lid_open() could take up to 10ms on my computer.  Some component is
calling the drm GETCONNECTOR ioctl many times in a row.  This results in
flickering (for example, when starting a video).  Fix it by assuming an
always connected lid status.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_lvds.c