Skip to contentSkip to conversation

display: change the priority order of intel_backlight

PATCH In review Keng-Yu Lin 3 participants 3 messages Feb 26, 2013 – Mar 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 display: change the priority order of intel_backlight

make the intel_backlight interface with a higher priority than acpi_video, as it is more likely to work.

---
 src/intel_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/intel_display.c +1 -1
index 5ee955e..479afb7 100644
@@ -142,9 +142,9 @@ static const char *backlight_interfaces[] = {
 	"fujitsu-laptop",
 	"sony",
 	"samsung",
+	"intel_backlight",
 	"acpi_video1", /* finally fallback to the generic acpi drivers */
 	"acpi_video0",
-	"intel_backlight",
 	NULL,
 };
 /*
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 4 lines · Keng-Yu Lin

make the intel_backlight interface with a higher priority than acpi_video, as it is more likely to work.

If you have a non-working acpi backlight, that's a bug in the kernel's acpi subsystem. Most likely it needs to be blacklisted. -Daniel

Quoted 26 lines
---
 src/intel_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/intel_display.c +1 -1
index 5ee955e..479afb7 100644
@@ -142,9 +142,9 @@ static const char *backlight_interfaces[] = {
 	"fujitsu-laptop",
 	"sony",
 	"samsung",
+	"intel_backlight",
 	"acpi_video1", /* finally fallback to the generic acpi drivers */
 	"acpi_video0",
-	"intel_backlight",
 	NULL,
 };
 /*
Signature · 6 lines
1.7.9.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#2 lore raw
In reply to Keng-Yu Lin
Quoted 2 lines · Keng-Yu Lin

make the intel_backlight interface with a higher priority than acpi_video, as it is more likely to work.

It is not, and the priority is explicitly lower than firmware (which itself is lower than platform).
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre