From patchwork Thu Dec 5 02:03:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chia-Lin Kao (AceLan)" X-Patchwork-Id: 3286251 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D4326C0D4A for ; Thu, 5 Dec 2013 02:04:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0913E2051A for ; Thu, 5 Dec 2013 02:04:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1C6F52050B for ; Thu, 5 Dec 2013 02:04:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756289Ab3LECEF (ORCPT ); Wed, 4 Dec 2013 21:04:05 -0500 Received: from mail-pb0-f42.google.com ([209.85.160.42]:63989 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756261Ab3LECEE (ORCPT ); Wed, 4 Dec 2013 21:04:04 -0500 Received: by mail-pb0-f42.google.com with SMTP id uo5so24816575pbc.15 for ; Wed, 04 Dec 2013 18:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id; bh=EFizXYl3m1aePHBjsWAsJOw+H1wX6TmbjgRKbRg3+d4=; b=XXnnuk+1Tc7FiFC7rt1RgPjdVY7dg8wgudv9VeXSIifP1oGNhAAt4PWtFfftk2QgvL XT6UhVUvNtVD47eYvwAsxKVxh6QRvYA2HcBUrxjeZdPwT9afQWZ7pkto2aVG2ubTyvp8 sVCv7WMV9Yv5m57EmMbKzBcXaBJZqFvwU8AMlRsws0kcMmGng0iagES6XXGObQr0EZIS q8bpmd1BLB7s4QlYZCvI3wh/xhlivCzY8vYTtbP7EQbQ9UdPjL9ktlemJ+zMfkxyTOnV ZwhBu3TdhWKeHQ5AQ+dHXN/DXVBcaT90+XvIujIFID3x7bUMfhweCUoDdw9ZZxRx+Pio wc3g== X-Received: by 10.68.143.196 with SMTP id sg4mr21542941pbb.155.1386209043567; Wed, 04 Dec 2013 18:04:03 -0800 (PST) Received: from localhost ([175.41.48.77]) by mx.google.com with ESMTPSA id ye1sm24811018pab.19.2013.12.04.18.04.00 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 04 Dec 2013 18:04:01 -0800 (PST) From: AceLan Kao To: linux-acpi@vger.kernel.org, Matthew Garrett , Zhang Rui , Len Brown , "Rafael J. Wysocki" Subject: [PATCH] ACPI / video: Use native backlight control interface by default Date: Thu, 5 Dec 2013 10:03:57 +0800 Message-Id: <1386209037-31349-1-git-send-email-acelan.kao@canonical.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=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 The native/vendor backlight control interface is hardly fail to control the brightness, and we had encountered many backlight issues result from the broken ACPI backlight interface, so I think we should promote the native backlight control interface and use it by default. Signed-off-by: AceLan Kao --- drivers/acpi/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 995e91b..b3032f8 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -85,7 +85,7 @@ module_param(allow_duplicates, bool, 0644); * For Windows 8 systems: if set ture and the GPU driver has * registered a backlight interface, skip registering ACPI video's. */ -static bool use_native_backlight = false; +static bool use_native_backlight = true; module_param(use_native_backlight, bool, 0644); static int register_count;