Skip to contentSkip to conversation

ACPI / video: Favor native backlight interface for XPS13 9333

PATCH In review Gabriele Mazzotta 1 participant 2 messages Jun 3, 2014 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI / video: Favor native backlight interface for XPS13 9333

The Dell XPS13 9333 has a buggy acpi-video backlight control, hence favor the properly working native backlight interface.

---
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video.c +8 -0
index 101fb09..352eb6b 100644
@@ -523,6 +523,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		},
 	},
 	{
+	.callback = video_set_use_native_backlight,
+	.ident = "Dell XPS13 9333",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+		     DMI_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
+	{
 	 .callback = video_set_use_native_backlight,
 	 .ident = "Acer Aspire 5733Z",
 	 .matches = {
Signature · 1 line
2.0.0
#1 lore raw
Quoted 18 lines · Gabriele Mazzotta

The Dell XPS13 9333 has a buggy acpi-video backlight control, hence favor the properly working native backlight interface.

---
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video.c +1 -0
index 101fb09..352eb6b 100644
@@ -523,6 +523,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		},
 	},
 	{
+	.callback = video_set_use_native_backlight,

drivers/acpi/video.c static struct dmi_system_id video_dmi_table[] __initdata = { · line 536

Quoted 10 lines
drivers/acpi/video.c +7 -0
+	.ident = "Dell XPS13 9333",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+		     DMI_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
+	{
 	 .callback = video_set_use_native_backlight,
 	 .ident = "Acer Aspire 5733Z",
 	 .matches = {

I'm sorry, I just noticed that the native backlight interface will be used for all the win8 systems, so this patch is not required.

http://www.spinics.net/lists/dri-devel/msg57228.html