From: Daniel Vetter Subject: Re: [PATCH] drm/i915: mark IRQs as disabled on unload Date: Thu, 17 Jul 2014 10:27:57 +0200 Message-ID: <20140717082757.GB15237@phenom.ffwll.local> References: <1403281762-1927-1-git-send-email-jbarnes@virtuousgeek.org> <1403290653-4663-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by gabe.freedesktop.org (Postfix) with ESMTP id C1CE36E04F for ; Thu, 17 Jul 2014 01:33:20 -0700 (PDT) Received: by mail-we0-f178.google.com with SMTP id w61so2069750wes.23 for ; Thu, 17 Jul 2014 01:33:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1403290653-4663-1-git-send-email-jbarnes@virtuousgeek.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Jun 20, 2014 at 11:57:33AM -0700, Jesse Barnes wrote: > To avoid more spew with the new warnings. > > Signed-off-by: Jesse Barnes Ok, I've pulled this all into dinq. I guess we'll see how it all works out. -Daniel > --- > drivers/gpu/drm/i915/intel_display.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > index d993b69..7288d1d 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -12778,6 +12778,8 @@ void intel_modeset_cleanup(struct drm_device *dev) > */ > drm_irq_uninstall(dev); > cancel_work_sync(&dev_priv->hotplug_work); > + dev_priv->pm._irqs_disabled = true; > + > /* > * Due to the hpd irq storm handling the hotplug work can re-arm the > * poll handlers. Hence disable polling after hpd handling is shut down. > -- > 1.8.3.2 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch