summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-08-22 19:57:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-08-22 19:57:24 +0100
commit271dda84be2f81b32dbe5947e64f5558a89e385e (patch)
treee2d0fef8d6c20fca575daf6bf1a04041b90365ef
parent42312bbd8c9cbadf0adc4556b76987857d105bd9 (diff)
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@chris-wilson.co.uk>
-rw-r--r--src/intel_display.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/intel_display.c b/src/intel_display.c
index 3676d994..4da27906 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,
};
/*