From patchwork Fri Apr 4 14:44:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Chandler Paul X-Patchwork-Id: 3938911 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C3EFC9F334 for ; Fri, 4 Apr 2014 14:43:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8C102037A for ; Fri, 4 Apr 2014 14:43:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2BA7A20251 for ; Fri, 4 Apr 2014 14:43:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753078AbaDDOns (ORCPT ); Fri, 4 Apr 2014 10:43:48 -0400 Received: from mail-ie0-f175.google.com ([209.85.223.175]:36213 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752748AbaDDOns (ORCPT ); Fri, 4 Apr 2014 10:43:48 -0400 Received: by mail-ie0-f175.google.com with SMTP id to1so3435922ieb.34 for ; Fri, 04 Apr 2014 07:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Dmga2L4NS2s8O3W8M3Ev7Z/6C3ADYFbGYMaD4Q9+pG4=; b=CKT58A4AKv7HNQOzOcQMGGCsEYPOzjasfcS7zGztmpAXxnwG1IkZbMSrB9OddeaopL kPbbr70w++7Nng76qwlm0ilcOsgOdq7bR2L5UKVUIxBPXmM2jgTudVe6nXI9eawCGmDa IktreSdCSqaxn+xlw6rK87eb69Af+Mq2yR2CCP95lRj6x/rGZUpb0QubEqSdyvn/yZCn 6YfTeFQyxeHWx18bmNStQNbJB2i5DgRbAF8fDjt4lEeFoXQhkb4uM98fFs0pGEc7tSZf D25Q85jWtS5OnrABdK+UsElAGln9fl4QfED/d6cumcCa1zk4vVwtyhYkmbM2WL/PdCLp HRkA== X-Received: by 10.50.61.177 with SMTP id q17mr3804674igr.44.1396622627641; Fri, 04 Apr 2014 07:43:47 -0700 (PDT) Received: from chameleon.stcc.local ([134.241.100.208]) by mx.google.com with ESMTPSA id s8sm6444293ige.4.2014.04.04.07.43.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 07:43:46 -0700 (PDT) From: Stephen Chandler Paul To: Zhang Rui , "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Rutledge Subject: [PATCH] Favor native backlight interface for ThinkPad Helix Date: Fri, 4 Apr 2014 10:44:46 -0400 Message-Id: <1396622686-6373-1-git-send-email-thatslyude@gmail.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Like many other Windows 8 laptops the ThinkPad Helix's backlight has a broken ACPI interface and can only be properly adjusted by using the video card's native backlight control. This adds the ThinkPad Helix to the list of laptops affected with this issue so that video.use_native_backlight is enabled by default. Signed-off-by: Stephen Chandler Paul --- drivers/acpi/video.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 48c7e8a..8b6990e 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -488,6 +488,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { }, }, { + .callback = video_set_use_native_backlight, + .ident = "Thinkpad Helix", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad Helix"), + }, + }, + { .callback = video_set_use_native_backlight, .ident = "Dell Inspiron 7520", .matches = {