From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: Suppress hotplug work during PM suspend/resume Date: Thu, 19 Apr 2012 17:22:47 +0100 Message-ID: <1334852586_26987@CP5-2952> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (smtp.fireflyinternet.com [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 7E41AA0DBB for ; Thu, 19 Apr 2012 09:23:12 -0700 (PDT) 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 , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, 19 Apr 2012 18:10:18 +0200, Takashi Iwai wrote: > The hotplug work can be still kicked off via irq during PM, and this > may conflict with the resume procedure. For example, eDP on SNB > machine shows WARNING like below during the resume: Daniel and I were just discussing the number of work queues we have active across suspend that like to poke hardware as we either try to sleep or resume. Since we already have to quiesce the workers to disable the device, I suggest we reuse the same code for suspend. -Chris -- Chris Wilson, Intel Open Source Technology Centre