From mboxrd@z Thu Jan 1 00:00:00 1970 From: Massimo Maggi Subject: Re: KMS broken from 2.6.33 up to 2.6.35-rc5???? Date: Sun, 18 Jul 2010 16:42:28 +0200 Message-ID: <4C4312D4.4050105@mmmm.it> References: <4C42F3AE.6010906@mmmm.it> <8u3s94$fvmkvd@orsmga002.jf.intel.com> Reply-To: massimo@mmmm.it Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0528321411==" Return-path: Received: from mail-wy0-f177.google.com (mail-wy0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 97F1D9E7C3 for ; Sun, 18 Jul 2010 07:42:07 -0700 (PDT) Received: by wyb38 with SMTP id 38so2089134wyb.36 for ; Sun, 18 Jul 2010 07:42:06 -0700 (PDT) In-Reply-To: <8u3s94$fvmkvd@orsmga002.jf.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org This is a multi-part message in MIME format. --===============0528321411== Content-Type: multipart/alternative; boundary="------------000506060409010401060608" This is a multi-part message in MIME format. --------------000506060409010401060608 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit After 14 builds (never tought that PXE and Core2Quad were so useful!!).... the bad commit is: 01c66889c14aa163c49355b3be2ccfb214500599 is the first bad commit commit 01c66889c14aa163c49355b3be2ccfb214500599 Author: Zhao Yakui Date: Wed Oct 28 05:10:00 2009 +0000 drm/i915: Add ACPI OpRegion support for Ironlake Add the support of ACPI opregion on Ironlake so that the backlight brightness can be adjusted by using ACPI interface >/sys/class/backlight/acpi_video0/brightness Signed-off-by: Zhao Yakui Tested-by: Zhao Yakui [zhenyuw: cleanups, fix typo for checking GSE irq and convert to current irq handling logic.] Signed-off-by: Zhenyu Wang Signed-off-by: Eric Anholt :040000 040000 79f96cd37f779fb2b33f0e6545e83f32cd5c1372 3b9f77adfeed13386058a46a17e3f4facd8d862c M drivers The problem is *half*-solved... connecting by ssh (as root) and typing # echo -n 10 >/sys/class/backlight/acpi_video0/brightness revives the screen. Starting X gives me a fully working KWin compositing (with OpenGL) I will temporarily put this line in an init script, but I think that this bug must be solved as soon as possible! Another question: How can I be sure that the ATI gpu isn't wasting power while PC is booted in Linux? Best regards, Massimo Maggi massimo@mmmm.it Il 18/07/2010 14:57, Chris Wilson ha scritto: > On Sun, 18 Jul 2010 14:29:34 +0200, Massimo Maggi wrote: >> I've set up a very minimal kernel config (the resulting kernel is not >> useful for anything except showing the problem), and built versions: >> 2.6.32.16 >> 2.6.33.6 >> 2.6.34.1 >> 2.6.35-rc5 >> Only 2.6.32.16 is able to correctly initialize the framebuffer. > Excellent, as you have managed to reproduce this with a minimal kernel, > can you do a bisect between 2.6.33.16 and 2.6.33.6 and see which patch > causes the regression? It should only take a couple of hours. My bet is > one of the Arrandale enabling patches... > --------------000506060409010401060608 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable After 14 builds (never tought that PXE and Core2Quad were so useful!!).... the bad commit is:

01c66889c14aa163c49355b3be2ccfb214500599 is the first bad commit
commit 01c66889c14aa163c49355b3be2ccfb214500599
Author: Zhao Yakui <yakui.zhao@intel.com>
Date:=A0=A0 Wed Oct 28 05:10:00 2009 +0000

=A0=A0=A0 drm/i915: Add ACPI OpRegion support for Ironlake
=A0=A0=A0
=A0=A0=A0 Add the support of ACPI opregion on Ironlake so that the backlight
=A0=A0=A0 brightness can be adjusted by using ACPI interface
=A0=A0=A0=A0=A0=A0 >/sys/class/backlight/acpi_video0/brightness =A0=A0=A0
=A0=A0=A0 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> =A0=A0=A0 Tested-by: Zhao Yakui <yakui.zhao@intel.com>
=A0=A0=A0 [zhenyuw: cleanups, fix typo for checking GSE irq and conve= rt to
=A0=A0=A0 current irq handling logic.]
=A0=A0=A0 Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>= ;
=A0=A0=A0 Signed-off-by: Eric Anholt <eric@anholt.net>

:040000 040000 79f96cd37f779fb2b33f0e6545e83f32cd5c1372 3b9f77adfeed13386058a46a17e3f4facd8d862c M=A0=A0=A0=A0=A0 drivers

The problem is half-solved...
connecting by ssh (as root) and typing
# echo -n 10 >/sys/class/backlight/acpi_video0/brightness
revives the screen.
Starting X gives me a fully working KWin compositing (with OpenGL) I will temporarily put this line in an init script, but I think that this bug must be solved as soon as possible!
Another question:
How can I be sure that the ATI gpu isn't wasting power while PC is booted in Linux?
Best regards,
Massimo Maggi
massimo@mmmm.it


Il 18/07/2010 14:57, Chris Wilson ha scritto:
On Sun, 18 Jul 2010 14:29:34 +0200, Massimo Maggi <mass=
imo@mmmm.it> wrote:
I've set up a very minimal kernel config (the resu=
lting kernel is not
useful for anything except showing the problem), and built versions:
2.6.32.16
2.6.33.6
2.6.34.1
2.6.35-rc5
Only 2.6.32.16 is able to correctly initialize the framebuffer.
Excellent, as you have managed to reproduce this with a minimal kernel,
can you do a bisect between 2.6.33.16 and 2.6.33.6 and see which patch
causes the regression? It should only take a couple of hours. My bet is
one of the Arrandale enabling patches...


--------------000506060409010401060608-- --===============0528321411== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0528321411==--