Return-Path: From: Luis Henriques To: linux-kernel@vger.kernel.org, stable@vger.kernel.org, kernel-team@lists.ubuntu.com Cc: Hans de Goede , "Rafael J. Wysocki" , Luis Henriques Subject: [PATCH 3.16.y-ckt 084/183] ACPI / video: Add disable_native_backlight quirk for Dell XPS15 L521X Date: Fri, 6 Mar 2015 09:56:15 +0000 Message-Id: <1425635874-19087-85-git-send-email-luis.henriques@canonical.com> In-Reply-To: <1425635874-19087-1-git-send-email-luis.henriques@canonical.com> References: <1425635874-19087-1-git-send-email-luis.henriques@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: 3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit 6a3ef10bacb08860805e9053f919786dc34760ba upstream. The L521X variant of the Dell XPS15 has integrated nvidia graphics, and backlight control does not work properly when using the native interfaces. Link: https://bugzilla.redhat.com/show_bug.cgi?id=1163574 Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Luis Henriques --- drivers/acpi/video.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 28fa58c11e56..b7bed5fdc433 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -711,6 +711,16 @@ static struct dmi_system_id video_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"), }, }, + + { + /* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */ + .callback = video_disable_native_backlight, + .ident = "Dell XPS15 L521X", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"), + }, + }, {} };