summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hughes <tom@compton.nu>2012-07-02 10:23:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-02 10:25:08 +0100
commit61e16dc5673a1ac96b2ecee072cc3e80971be5d9 (patch)
tree86e46803d3788373bbd3b09ecd3d6020111ef08f
parent543816011d05f0cf40b05ec58f87a5954397a224 (diff)
Add asus-nb-wmi backlight control
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51593
-rw-r--r--src/intel_display.c1
-rw-r--r--src/sna/sna_display.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/intel_display.c b/src/intel_display.c
index 949a822c..2e2a9b1b 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -128,6 +128,7 @@ intel_output_dpms_backlight(xf86OutputPtr output, int oldmode, int mode);
*/
static const char *backlight_interfaces[] = {
"asus-laptop",
+ "asus-nb-wmi",
"eeepc",
"thinkpad_screen",
"mbp_backlight",
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index f1e0bedc..07ff607e 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -110,6 +110,7 @@ static inline struct sna_crtc *to_sna_crtc(xf86CrtcPtr crtc)
static const char *backlight_interfaces[] = {
"intel", /* prefer our own native backlight driver */
"asus-laptop",
+ "asus-nb-wmi",
"eeepc",
"thinkpad_screen",
"mbp_backlight",