From: Matthew Garrett Date: Tue, 12 Jul 2011 22:30:52 +0000 (-0400) Subject: i915: Fix opregion notifications X-Git-Tag: v3.1-rc1~230^2~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5a3d0c4086d1854cbda545092c462b84cba20ce;p=pandora-kernel.git i915: Fix opregion notifications opregion-based platforms will send ACPI video event 0x80 for a range of notification types for legacy compatibility. This is interpreted as a display switch event, which may not be appropriate in the circumstances. When we receive such an event we should make sure that the platform is genuinely requesting a display switch before passing that event through to userspace. Signed-off-by: Matthew Garrett Tested-by: Adam Jackson Signed-off-by: Keith Packard --- Reading git-diff-tree failed