From: Ville Syrjälä Date: Thu, 30 Oct 2014 17:42:56 +0000 (+0200) Subject: drm/i915: Call gen5_gt_irq_reset() from valleyview_irq_uninstall() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=893fce8edae9feabb5515b982285e5af72fcfa95;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/i915: Call gen5_gt_irq_reset() from valleyview_irq_uninstall() Looks like we forgot to call gen5_gt_irq_reset() for vlv in the uninstall phase. Do so. Signed-off-by: Ville Syrjälä Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index c106bba3f97c..67c046b8ce0d 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -3588,6 +3588,8 @@ static void valleyview_irq_uninstall(struct drm_device *dev) I915_WRITE(VLV_MASTER_IER, 0); + gen5_gt_irq_reset(dev); + for_each_pipe(dev_priv, pipe) I915_WRITE(PIPESTAT(pipe), 0xffff);