All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>
To: linux-pm-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Cc: Alan Jenkins
	<alan-jenkins-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>,
	Zhenyu Wang <zhenyuw-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>,
	dri-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Kernel Testers List
	<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [linux-pm] [regression] "drm/i915: implement new pm ops" disables irq on aborted s2disk
Date: Wed, 3 Feb 2010 23:44:41 +0100	[thread overview]
Message-ID: <201002032344.41915.rjw@sisk.pl> (raw)
In-Reply-To: <4B695BA0.4000007-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>

On Wednesday 03 February 2010, Alan Jenkins wrote:
> Hi
> 
> I found this regression on my EeePC 701 with modesetting enabled.  When 
> I hibernate using s2disk, I can abort the hibernation by pressing the 
> backspace key.  Doing so breaks X on 2.6.32-rc6 (but not 2.6.32).

Yeah.

To be honest, I knew that's going to happen, but didn't have the time to take
care of it.

The problem is that i915 does literally _nothing_ in its .thaw() callback,
although it should at least reverse whatever .freeze() did to the hardware
(and memory allocations and so on), so that the adapter is functional
after creating the image.

Fixing this requires some thought, though, because at the moment .freeze()
thinks it's .suspend(), which is not the case as this report clearly shows.
So, in fact i915_pci_suspend() has to be split into the .freeze() part and
the poweroff part cleanly and that's not  so simple (at least to me).

Hopefully I'll have some time to work on this during the weekend.

Rafael

  parent reply	other threads:[~2010-02-03 22:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03 11:18 [regression] "drm/i915: implement new pm ops" disables irq on aborted s2disk Alan Jenkins
     [not found] ` <4B695BA0.4000007-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>
2010-02-03 22:44   ` Rafael J. Wysocki [this message]
     [not found]     ` <201002032344.41915.rjw-KKrjLPT3xs0@public.gmane.org>
2010-02-04  1:31       ` [linux-pm] " Zhenyu Wang
     [not found]         ` <20100204013157.GA30011-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
2010-02-07 20:48           ` [PATCH] i915 / PM: Fix crash while aborting hibernation (Re: [linux-pm] [regression] "drm/i915: implement new pm ops" disables irq on aborted s2disk) Rafael J. Wysocki
2010-02-07 20:48             ` Rafael J. Wysocki
     [not found]             ` <201002072148.24588.rjw-KKrjLPT3xs0@public.gmane.org>
2010-02-08  9:49               ` Alan Jenkins
2010-02-08  9:49                 ` Alan Jenkins
     [not found]                 ` <4B6FDE14.8070406-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>
2010-02-08 11:06                   ` Rafael J. Wysocki
2010-02-08 11:06                     ` Rafael J. Wysocki
2010-02-08 11:06                 ` [PATCH] i915 / PM: Fix crash while aborting hibernation (Re: " Rafael J. Wysocki
2010-02-08  9:49             ` Alan Jenkins
2010-02-11  0:59             ` Eric Anholt
2010-02-11  0:59             ` [PATCH] i915 / PM: Fix crash while aborting hibernation (Re: [linux-pm] " Eric Anholt
2010-02-07 20:48         ` [PATCH] i915 / PM: Fix crash while aborting hibernation (Re: " Rafael J. Wysocki
2010-02-04  1:31     ` [regression] "drm/i915: implement new pm ops" disables irq on aborted s2disk Zhenyu Wang
2010-02-03 22:44 ` Rafael J. Wysocki

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=201002032344.41915.rjw@sisk.pl \
    --to=rjw-kkrjlpt3xs0@public.gmane.org \
    --cc=alan-jenkins-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org \
    --cc=dri-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org \
    --cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-pm-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=zhenyuw-VuQAYsv1563Yd54FQh9/CA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.