Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Chris Li <lkml@chrisli.org>, Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: len.brown@intel.com, feng.tang@intel.com,
	intel-gfx <intel-gfx@lists.freedesktop.org>,
	robert.moore@intel.com, linux-kernel@vger.kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: i915 black screen introduced by ACPI changes
Date: Mon, 11 Mar 2013 15:16:08 +0200	[thread overview]
Message-ID: <87txoit6uf.fsf@intel.com> (raw)
In-Reply-To: <CANeU7Q=_+qt5C3G2uKhQYq_hh9kOg5c8=uAvjQzRwvx_xOe2hA@mail.gmail.com>

On Tue, 05 Mar 2013, Chris Li <lkml@chrisli.org> wrote:
> On Mon, Mar 4, 2013 at 3:16 PM, Chris Li <lkml@chrisli.org> wrote:
>>>> Two things to test:
>>>> - Can you please check whether any of the backlight drivers in
>>>> /sys/class/backlight does anything? You need to frob the brightness
>>>> file. Please also list all the drivers you have.
>
> This is the kernel with the ACPI change causing the black screen.
>
> lrwxrwxrwx. 1 root root 0 Mar  4 15:20 acpi_video0 ->
> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0
> lrwxrwxrwx. 1 root root 0 Mar  4 15:20 acpi_video1 ->
> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video1
> lrwxrwxrwx. 1 root root 0 Mar  4 15:20 intel_backlight ->
> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight
>
> Here is the interesting part. The brightness and max_brightness is all
> set to 4648,
> However, the actual brightness is 0. The bl_power is also 0. I think
> you are on to some thing.

Hi Chris -

Interesting snippets from your dmesgs:

1) good

[    0.000000] Linux version 3.6.0-rc6+ (chrisl@ideapad.lan) (gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC) ) #25 SMP Wed Feb 20 12:55:06 PST 2013
...
[    5.341431] [drm:intel_panel_get_max_backlight], max backlight PWM = 4648
[    5.341442] [drm:intel_panel_actually_set_backlight], set backlight PWM = 4648
[    5.342572] [drm:intel_panel_get_max_backlight], max backlight PWM = 4648
[    5.342578] [drm:intel_panel_actually_set_backlight], set backlight PWM = 4648

2) bad

[    0.000000] Linux version 3.8.0-rc7+ (chrisl@ideapad.lan) (gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC) ) #23 SMP Tue Feb 19 19:24:57 PST 2013
...
[    5.692853] [drm:asle_set_backlight], bclp = 0x800000ff
[    5.692865] [drm:intel_panel_get_max_backlight], max backlight PWM = 4648
[    5.692870] [drm:intel_panel_actually_set_backlight], set backlight PWM = 4648
[    5.693401] [drm:asle_set_backlight], bclp = 0x80000000
[    5.693408] [drm:intel_panel_get_max_backlight], max backlight PWM = 4648
[    5.693413] [drm:intel_panel_actually_set_backlight], set backlight PWM = 0

(We've added another debug print to asle_set_backlight.)

For some reason we get two asle requests in a row. In the good kernel
it's the same request twice, in the bad kernel the second requests is
for 0 backlight. The register dumps seem to confirm this.

Please try a recent kernel, with and without the the bisected bad commit

commit a57f7f9175b8ccbc9df83ac13860488913115de4
Author: Bob Moore <robert.moore@intel.com>
Date:   Fri Aug 17 10:55:02 2012 +0800

    ACPICA: Add Windows8/Server2012 string for _OSI method.

reverted. Is the difference the same? Check reg dumps and dmesgs with
drm.debug=0xe.


Thanks,
Jani.

  reply	other threads:[~2013-03-11 13:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CANeU7QmbzX4Tx1Dtu6xOiYzr6h6_8tPQvVG32Wvkt=5wAwEEAg@mail.gmail.com>
     [not found] ` <20130219100849.72d2330b@jbarnes-desktop>
     [not found]   ` <CANeU7QmJb+yUGu9mVgq=_pHhvpPu6ORrikm=E6PkuHpOz9OREA@mail.gmail.com>
     [not found]     ` <20130219125217.6b6f55ff@jbarnes-desktop>
     [not found]       ` <CANeU7QnQmKYXHA=aEuRGZDc7hVdY6037i=+s_n3FZNMN2njDsw@mail.gmail.com>
     [not found]         ` <CAKMK7uG7TgiAn0ZQ=E_-QBPNAVhTSxpORkX3Z1mY=54mgTzM-g@mail.gmail.com>
     [not found]           ` <CANeU7QnMzYuG6iiU3nLh4k0dGFMEDOyfUDQgxQSKj20_y-oL+Q@mail.gmail.com>
     [not found]             ` <CAKMK7uGDpSKga9=2SrGQDxBGzY5B1cGJAchZvfKfQy1ivRONMg@mail.gmail.com>
     [not found]               ` <CANeU7Q=K4Adu3yokT182ZaG3hW04bhDiXhyZgjngd7Nn+JD3aQ@mail.gmail.com>
     [not found]                 ` <CANeU7QmMYERbg9fCnyGuDcEdzwfErNT4B_7YbAD7w243hWdaQQ@mail.gmail.com>
     [not found]                   ` <CANeU7Q=hbU89zfcrP15ZAqMYaZPhQzM4f7i71txQDmESt0J36w@mail.gmail.com>
     [not found]                     ` <CANeU7Q=ge+z=uzpWdvXbfpZ0vaA0C0bnZcPBad5zKGyj1DmLAA@mail.gmail.com>
     [not found]                       ` <CAKMK7uGGN6ikKr4KvaJJ7iLPgK2KwE5RsgUn=WqTtvU-ryM5nQ@mail.gmail.com>
2013-03-04 17:50                         ` i915 black screen introduced by ACPI changes Daniel Vetter
2013-03-04 23:16                           ` Chris Li
2013-03-04 23:33                             ` Chris Li
2013-03-11 13:16                               ` Jani Nikula [this message]
2013-03-14 20:10                                 ` [Intel-gfx] " Chris Li
2013-03-14 20:49                                   ` Chris Li
2013-03-15  7:29                                     ` Jani Nikula
2013-03-15  9:00                                       ` Chris Li
2013-03-15  9:06                                       ` Chris Li
2013-03-15  9:33                                       ` Chris Li
2013-03-19  8:13                                       ` Chris Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txoit6uf.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=feng.tang@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@chrisli.org \
    --cc=robert.moore@intel.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox