diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-25 12:20:36 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-25 12:20:36 +0100 |
commit | 0ab6d7a50d37cf4454577cb8c333d4b8683aa054 (patch) | |
tree | dac8c203c9cab80545305bef1bc9ffff6c76eb92 /src | |
parent | b6d82ab07661aba98963f239f9501b50c3910962 (diff) |
sna: Prefer platform backlight devices over firmware
This is in contrast to libbacklight but closer to our original code as
we prefer a known custom backlight controller over the ACPI interfaces.
As only the ACPI interfaces are marked as firmware, and the custom
backlight controllers as platform, we therefore need to prefer platform
backlight devices.
Reported-by: Austin Lund <austin.lund@gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=52423
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index b31f08d5..ebecd211 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -282,8 +282,8 @@ sna_output_backlight_get_max(xf86OutputPtr output) } enum { - FIRMWARE, PLATFORM, + FIRMWARE, RAW, NAMED, }; |