diff mbox

display: change the priority order of intel_backlight

Message ID 1361866600-29971-1-git-send-email-kengyu@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Keng-Yu Lin Feb. 26, 2013, 8:16 a.m. UTC
make the intel_backlight interface with a higher priority
than acpi_video, as it is more likely to work.

Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
---
 src/intel_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chris Wilson March 3, 2013, 5:34 p.m. UTC | #1
On Tue, Feb 26, 2013 at 04:16:40PM +0800, Keng-Yu Lin wrote:
> 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
Daniel Vetter March 3, 2013, 5:34 p.m. UTC | #2
On Tue, Feb 26, 2013 at 04:16:40PM +0800, Keng-Yu Lin wrote:
> make the intel_backlight interface with a higher priority
> than acpi_video, as it is more likely to work.
> 
> Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>

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

> ---
>  src/intel_display.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/intel_display.c b/src/intel_display.c
> index 5ee955e..479afb7 100644
> --- a/src/intel_display.c
> +++ b/src/intel_display.c
> @@ -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,
>  };
>  /*
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox

Patch

diff --git a/src/intel_display.c b/src/intel_display.c
index 5ee955e..479afb7 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -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,
 };
 /*