From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753033Ab2GTPU7 (ORCPT ); Fri, 20 Jul 2012 11:20:59 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:34555 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752367Ab2GTPU5 (ORCPT ); Fri, 20 Jul 2012 11:20:57 -0400 Date: Fri, 20 Jul 2012 17:20:44 +0200 From: Anisse Astier To: Alan Cox Cc: Josh Boyer , kernel-team@fedoraproject.org, Dave Airlie , dkline@redhat.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: gma500 opregion/power init order backtrace Message-ID: <20120720172044.5ad38413@destiny.ordissimo> In-Reply-To: <20120720163247.19578db4@destiny.ordissimo> References: <20120717192614.GB18229@zod.bos.redhat.com> <20120717221242.315f8dfe@bob.linux.org.uk> <20120720163247.19578db4@destiny.ordissimo> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 Jul 2012 16:32:47 +0200, Anisse Astier wrote : > On Tue, 17 Jul 2012 22:12:42 +0100, Alan Cox wrote : > > > > I'm wondering if the gma_power_init call can be moved up before > > > chip_setup is called. Seems so, but I thought I would ping you to see > > > if you've seen this already. > > > > Fixed in the patches that went to Linus. > Thanks for this ! I was having this 100 scale brightness issue on anther > hardware. > > > > > I don't have the ACPI backlight working on a lot of systems and don't > > know why to be honest but the native backlight should work. Of course if > > the acpi keys are plumbed into the ACPI backlight it's less useful 8) > > Can't we just "wire" this to psb-bl in the driver ? There are a few > drivers in drivers/platform/x86 already sending KEY_BRIGHTNESS{UP,DOWN} > keycodes. What I meant is: although these keycodes are already sent by acpi driver code, is it up to userspace to figure out which backlight driver to use, or should the kernel modify brightness in psb-bl directly ? Anisse