From: Daniel Vetter <daniel@ffwll.ch>
To: Takashi Iwai <tiwai@suse.de>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Suppress hotplug work during PM suspend/resume
Date: Thu, 10 May 2012 11:06:46 +0200 [thread overview]
Message-ID: <20120510090646.GD4867@phenom.ffwll.local> (raw)
In-Reply-To: <s5hwr4kv36z.wl%tiwai@suse.de>
On Thu, May 10, 2012 at 10:40:52AM +0200, Takashi Iwai wrote:
> At Thu, 10 May 2012 10:29:19 +0200,
> Daniel Vetter wrote:
> >
> > On Thu, May 10, 2012 at 08:34:43AM +0200, Takashi Iwai wrote:
> > > At Wed, 25 Apr 2012 10:14:51 +0200,
> > > Takashi Iwai wrote:
> > > >
> > > > At Thu, 19 Apr 2012 20:11:53 +0200,
> > > > Takashi Iwai wrote:
> > > > >
> > > > > At Thu, 19 Apr 2012 13:55:04 -0400,
> > > > > Adam Jackson wrote:
> > > > > >
> > > > > > On Thu, 2012-04-19 at 18:10 +0200, Takashi Iwai wrote:
> > > > > >
> > > > > > > This patch adds a flag to disable the hotplug during PM operation for
> > > > > > > avoiding such a race.
> > > > > > >
> > > > > > > Cc: <stable@kernel.org>
> > > > > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > > > >
> > > > > > This seems simpler (untested):
> > > > >
> > > > > This looks promising. I'll ask a test with your patch.
> > > >
> > > > Tester reported a positive feedback. But he also experienced with a
> > > > blank screen after a couple of S4 resumes. Now it's being checked
> > > > whether it's a regression by the patch or not.
> > >
> > > It seems unrelated with the patch itself. So, from my side,
> > > Reviewed-by: Takashi Iwai <tiwai@suse.de>
> > >
> > > Adam, could you resubmit it with a proper sign-off so that it can be
> > > merged for 3.4 or 3.5, preferably with Cc to stable kernel?
> >
> > Note that
> >
> > daniel@phenom:~/linux/src$ git show
> > 8b2e326dc7c5aa6952c88656d04d0d81fd85a6f8
> > commit 8b2e326dc7c5aa6952c88656d04d0d81fd85a6f8
> > Author: Chris Wilson <chris@chris-wilson.co.uk>
> > Date: Tue Apr 24 22:59:41 2012 +0100
> >
> > drm/i915: Unconditionally initialise the interrupt workers
> >
> > in drm-intel-next is closes a race around suspend/resume that could lead
> > to an oops somewhere on resume.
>
> I don't think it's missing hotplug initializations. It's no Oops but
> the race between the resume procedure being processed and the hotplug
> work triggered during the resume procedure.
This patch is not just for hotplug, but for all the delayed work and timer
stuff the driver does. And we _do_ have a bug report that leaking the rps
work (for snb+ turbo mode) across either a s/r cycle or a gpu reset kills
the driver.
-Daniel
--
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
next prev parent reply other threads:[~2012-05-10 9:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 16:10 [PATCH] drm/i915: Suppress hotplug work during PM suspend/resume Takashi Iwai
2012-04-19 16:22 ` Chris Wilson
2012-04-19 16:32 ` Takashi Iwai
2012-04-19 16:29 ` Daniel Vetter
2012-04-19 16:38 ` Takashi Iwai
2012-04-19 16:52 ` Daniel Vetter
2012-04-19 17:55 ` Adam Jackson
2012-04-19 18:11 ` Takashi Iwai
2012-04-25 8:14 ` Takashi Iwai
2012-05-10 6:34 ` Takashi Iwai
2012-05-10 8:29 ` Daniel Vetter
2012-05-10 8:40 ` Takashi Iwai
2012-05-10 9:06 ` Daniel Vetter [this message]
2012-05-10 9:19 ` Takashi Iwai
2012-05-10 9:25 ` Chris Wilson
2012-05-10 9:39 ` Takashi Iwai
2012-05-10 10:04 ` Daniel Vetter
2012-05-10 10:12 ` Chris Wilson
2012-05-10 10:13 ` Chris Wilson
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=20120510090646.GD4867@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=tiwai@suse.de \
/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.