From patchwork Fri Jan 28 22:13:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Clifton X-Patchwork-Id: 516061 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0SMUQfH008084 for ; Fri, 28 Jan 2011 22:30:53 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 947A59ED55 for ; Fri, 28 Jan 2011 14:30:25 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 28 Jan 2011 22:30:56 +0000 (UTC) X-Greylist: delayed 1008 seconds by postgrey-1.31 at gabe; Fri, 28 Jan 2011 14:30:00 PST Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DD0F9E94B for ; Fri, 28 Jan 2011 14:30:00 -0800 (PST) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc1-cmbg11-0-0-cust238.5-4.cable.virginmedia.com ([86.22.72.239]:48501 helo=[192.168.1.4]) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:465) with esmtpsa (LOGIN:pcjc2) (SSLv3:DHE-RSA-CAMELLIA256-SHA:256) id 1PiwZ4-0001sZ-Qk (Exim 4.72) for intel-gfx@lists.freedesktop.org (return-path ); Fri, 28 Jan 2011 22:13:10 +0000 From: Peter Clifton To: Intel Date: Fri, 28 Jan 2011 22:13:08 +0000 Message-ID: <1296252789.2154.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 Subject: [Intel-gfx] Patch to fix backlight on GM45 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org From db647ad5ff5ce80e1a515411db7e4c6587c7e798 Mon Sep 17 00:00:00 2001 From: Peter Clifton Date: Fri, 28 Jan 2011 22:08:40 +0000 Subject: [PATCH] drm/intel: Fix brightness value query when in combination mode --- drivers/gpu/drm/i915/intel_panel.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c index 4ab4239..1795823 100644 --- a/drivers/gpu/drm/i915/intel_panel.c +++ b/drivers/gpu/drm/i915/intel_panel.c @@ -208,7 +208,6 @@ u32 intel_panel_get_backlight(struct drm_device *dev) val &= ~1; pci_read_config_byte(dev->pdev, PCI_LBPC, &lbpc); val *= lbpc; - val >>= 1; } } -- 1.7.2.3