From: Gabriele Mazzotta Subject: [PATCH] ACPI / video: Favor native backlight interface for XPS13 9333 Date: Tue, 03 Jun 2014 12:02:43 +0200 Message-ID: <1718776.PsrOuKJxU1@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by gabe.freedesktop.org (Postfix) with ESMTP id 68FAB6E6EC for ; Tue, 3 Jun 2014 03:02:47 -0700 (PDT) Received: by mail-lb0-f169.google.com with SMTP id s7so3318653lbd.28 for ; Tue, 03 Jun 2014 03:02:46 -0700 (PDT) Received: from xps13.localnet ([193.190.253.149]) by mx.google.com with ESMTPSA id oc3sm15570620lbb.18.2014.06.03.03.02.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jun 2014 03:02:45 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org The Dell XPS13 9333 has a buggy acpi-video backlight control, hence favor the properly working native backlight interface. Signed-off-by: Gabriele Mazzotta --- drivers/acpi/video.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 101fb09..352eb6b 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -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 = { -- 2.0.0