[Intel-gfx] [PATCH 04/14] drm/i915: Drop the extra GEN8_PCU_IIR posting read from cherryview_irq_preinstall()

Paulo Zanoni przanoni at gmail.com
Thu Oct 30 19:51:59 CET 2014


2014-10-30 15:42 GMT-02:00  <ville.syrjala at linux.intel.com>:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> 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.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>

>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>  drivers/gpu/drm/i915/i915_irq.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
> index 1ec4ebb..1e4062d 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);
> --
> 2.0.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Paulo Zanoni



More information about the Intel-gfx mailing list