From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Suppress hotplug work during PM suspend/resume Date: Thu, 10 May 2012 10:29:19 +0200 Message-ID: <20120510082919.GA4867@phenom.ffwll.local> References: <1334858104.32618.28.camel@atropine> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ey0-f177.google.com (mail-ey0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id D91D39EC29 for ; Thu, 10 May 2012 01:28:24 -0700 (PDT) Received: by eaaf11 with SMTP id f11so422630eaa.36 for ; Thu, 10 May 2012 01:28:23 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: Takashi Iwai Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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: > > > > > Signed-off-by: Takashi Iwai > > > > > > > > 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 > > 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 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. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48