From patchwork Tue Jun 11 15:13:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petter Reinholdtsen X-Patchwork-Id: 2708001 Return-Path: X-Original-To: patchwork-dri-devel@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 B76679F8E1 for ; Wed, 12 Jun 2013 05:39:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 16729201A8 for ; Wed, 12 Jun 2013 05:39:17 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 18A43201A7 for ; Wed, 12 Jun 2013 05:39:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1BB6DE5FBF for ; Tue, 11 Jun 2013 22:39:16 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-out5.uio.no (mail-out5.uio.no [129.240.10.17]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DC5EE5C64 for ; Tue, 11 Jun 2013 08:13:16 -0700 (PDT) Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out5.uio.no with esmtp (Exim 4.80.1) (envelope-from ) id 1UmQG3-0002Hx-GM for dri-devel@lists.freedesktop.org; Tue, 11 Jun 2013 17:13:15 +0200 Received: from ulrik.uio.no ([129.240.12.4]) by mail-mx1.uio.no with esmtp (Exim 4.80) (envelope-from ) id 1UmQG2-0004vc-PY; Tue, 11 Jun 2013 17:13:15 +0200 Received: by ulrik.uio.no (Postfix, from userid 43502) id 0C64D54B; Tue, 11 Jun 2013 17:13:14 +0200 (CEST) Date: Tue, 11 Jun 2013 17:13:13 +0200 From: Petter Reinholdtsen To: dri-devel Subject: Re: Packard Bell EasyNote LV need i915.invert_brightness=1 Message-ID: <20130611151313.GG31600@ulrik.uio.no> References: <20130603085755.GC11674@ulrik.uio.no> <20130611082840.GC31600@ulrik.uio.no> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-UiO-Ratelimit-Test: rcpts/h 2 msgs/h 1 sum rcpts/h 4 sum msgs/h 2 total rcpts 5667 max rcpts/h 25 ratelimit 0 X-UiO-Spam-info: not spam, SpamAssassin (score=-5.6, required=5.0, autolearn=disabled, RP_MATCHES_RCVD=-0.551, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 4CD24E5BBBB774C4EC9066EFD1A4497958732173 X-UiO-SPAM-Test: remote_host: 129.240.12.4 spam_score: -55 maxlevel 80 minaction 0 bait 0 mail/h: 1 total 2078 max/h 66 blacklist 0 greylist 0 ratelimit 0 X-Mailman-Approved-At: Tue, 11 Jun 2013 22:29:11 -0700 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 [Daniel Vetter] > Hi Petter, > > Can you please make this into a real kernel patch with commit > message, sob line and all? See Documentation/SubmittingPatches. Diff > itself looks good. Sure. This is my first try, so I hope I got it right. Set i915.invert_brightness=1 on Packard Bell EasyNote LV Booting Linux on a Packard Bell EasyNote LV casues the display to turn off. The fix is to invert the brightness handling in the driver. got more information about the laptop. Bug reports: http://bugs.debian.org/710938 Signed-off-by: Petter Reinholdtsen --- -- Happy hacking Petter Reinholdtsen --- linux-3.9.5.orig/drivers/gpu/drm/i915/intel_display.c +++ linux-3.9.5/drivers/gpu/drm/i915/intel_display.c @@ -8786,6 +8786,9 @@ static struct intel_quirk intel_quirks[] /* Acer Aspire 4736Z */ { 0x2a42, 0x1025, 0x0260, quirk_invert_brightness }, + + /* Packard Bell EasyNote LV11HC */ + { 0x0156, 0x1025, 0x0688, quirk_invert_brightness }, }; static void intel_init_quirks(struct drm_device *dev)