[Intel-gfx] [PATCH] drm/i915: mark IRQs as disabled on unload

Daniel Vetter daniel at ffwll.ch
Thu Jul 17 10:27:57 CEST 2014


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 <jbarnes at virtuousgeek.org>

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 at 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



More information about the Intel-gfx mailing list