From: Ville Syrjälä Date: Thu, 30 Oct 2014 17:42:53 +0000 (+0200) Subject: drm/i915: Drop the extra GEN8_PCU_IIR posting read from cherryview_irq_preinstall() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8e20599ae1327ef3f0cf6a080fc3a39c882f4718;p=linux-beck.git drm/i915: Drop the extra GEN8_PCU_IIR posting read from cherryview_irq_preinstall() Looks like a leftover POSTING_READ(GEN8_PCU_IIR) in cherryview_irq_preinstall() from some earlier age. GEN5_IRQ_RESET() already does the posting read so this changes nothing, so kill it. 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 1ec4ebbb89f3..1e4062d09616 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -3188,8 +3188,6 @@ static void cherryview_irq_preinstall(struct drm_device *dev) GEN5_IRQ_RESET(GEN8_PCU_); - POSTING_READ(GEN8_PCU_IIR); - I915_WRITE(DPINVGTT, DPINVGTT_STATUS_MASK_CHV); I915_WRITE(PORT_HOTPLUG_EN, 0);