xf86-video-intel: src/intel_display.c
Chris Wilson
ickle at kemper.freedesktop.org
Sun Aug 22 12:01:53 PDT 2010
src/intel_display.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 271dda84be2f81b32dbe5947e64f5558a89e385e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun Aug 22 19:57:24 2010 +0100
display: Use the native intel backlight controller
If the i915 driver exposes a native ACPI interface to modify the panel
backlight use it in preference to the generic interfaces. On multi-GPU
systems, the panel backlight is meant to be connected via the IGP and
this ensures that we always find the right interface.
Fixes:
Bug 29273 - XORG Intel driver chooses wrong acpi_video to control
brightness in multi-GPU system
https://bugs.freedesktop.org/show_bug.cgi?id=29273
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/intel_display.c b/src/intel_display.c
index 3676d99..4da2790 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -107,15 +107,16 @@ intel_output_dpms(xf86OutputPtr output, int mode);
* List of available kernel interfaces in priority order
*/
static const char *backlight_interfaces[] = {
+ "intel", /* prefer our own native backlight driver */
"asus-laptop",
"eeepc",
"thinkpad_screen",
"mbp_backlight",
- "acpi_video1",
- "acpi_video0",
"fujitsu-laptop",
"sony",
"samsung",
+ "acpi_video1", /* finally fallback to the generic acpi drivers */
+ "acpi_video0",
NULL,
};
/*
More information about the xorg-commit
mailing list