mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Cc: linux-kernel@vger.kernel.org, mjg@redhat.com, eric@anholt.net
Subject: Re: no video output after suspend after "drm/i915: force mode set at lid open time"
Date: Mon, 26 Oct 2009 09:05:48 -0700	[thread overview]
Message-ID: <20091026090548.2d4e20a9@jbarnes-g45> (raw)
In-Reply-To: <4AE4BBBC.2070809@gmail.com>

On Sun, 25 Oct 2009 21:57:32 +0100
Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> wrote:

> Hello,
> 
> i lost video output, screen stays black, after suspend after commit 
> c1c7af60892070e4b82ad63bbfb95ae745056de0 "drm/i915: force mode set at 
> lid open time".
> 
> I'm attaching my dmesg with 2.6.32-rc5 (actually
> 964fe080d94db82a3268443e9b9ece4c60246414), my bisect log and my
> config.
> 
> git bisect response:
> 
> c1c7af60892070e4b82ad63bbfb95ae745056de0 is the first bad commit
> commit c1c7af60892070e4b82ad63bbfb95ae745056de0
> Author: Jesse Barnes <jbarnes@virtuousgeek.org>
> Date:   Thu Sep 10 15:28:03 2009 -0700
> 
>      drm/i915: force mode set at lid open time
> 
>      Some laptop platforms will disable pipes and/or planes at lid
> close time
>      and not restore them when the lid is opened again.  So catch the
> lid event, and if the lid was opened, force a mode restore.
> 
>      Fixes fdo bug #21230.
> 
>      Acked-by: Matthew Garrett <mjg@redhat.com>
>      Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
>      Signed-off-by: Eric Anholt <eric@anholt.net>

I wonder if this is the real problem...  This patch introduced an issue
that was fixed by 06891e27a9b5dba5268bb80e41a283f51335afe7 that could
cause a blank screen on lid open or resume, depending on how lid events
were delivered.  Should be easy enough to test though, you can remove
the whole

+       if (acpi_lid_open())
+               drm_helper_resume_force_mode(dev);

block and see if that also helps (in the current tree there's a lock
taken around the force_mode call, you'll need to remove those lines too
for testing).
-- 
Jesse Barnes, Intel Open Source Technology Center

  parent reply	other threads:[~2009-10-26 16:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-25 20:57 Riccardo Magliocchetti
2009-10-26  1:52 ` Peter Stuge
2009-10-26 16:02   ` Jesse Barnes
2009-10-26 19:28     ` Peter Stuge
2009-10-26 19:39       ` Rafael J. Wysocki
2009-10-26 19:42         ` Peter Stuge
2009-10-26 20:00           ` Rafael J. Wysocki
2009-10-26 16:05 ` Jesse Barnes [this message]
2009-10-27 21:21   ` Riccardo Magliocchetti
2009-10-27 21:26     ` Jesse Barnes
2009-10-31 13:42       ` Riccardo Magliocchetti
2009-10-31 13:46         ` Riccardo Magliocchetti
2009-11-04 19:19           ` Jesse Barnes
2009-11-04 20:16             ` Riccardo Magliocchetti

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=20091026090548.2d4e20a9@jbarnes-g45 \
    --to=jbarnes@virtuousgeek.org \
    --cc=eric@anholt.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg@redhat.com \
    --cc=riccardo.magliocchetti@gmail.com \
    /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

Powered by JetHome