Lines Matching full:iir
81 i915_reg_t iir, i915_reg_t ier) in gen3_irq_reset() argument
88 /* IIR can theoretically queue up two events. Be paranoid. */ in gen3_irq_reset()
89 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset()
90 intel_uncore_posting_read(uncore, iir); in gen3_irq_reset()
91 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset()
92 intel_uncore_posting_read(uncore, iir); in gen3_irq_reset()
102 /* IIR can theoretically queue up two events. Be paranoid. */ in gen2_irq_reset()
147 i915_reg_t iir) in gen3_irq_init() argument
149 gen3_assert_iir_is_zero(uncore, iir); in gen3_irq_init()
262 u32 iir, gt_iir, pm_iir; in valleyview_irq_handler() local
269 iir = intel_uncore_read(&dev_priv->uncore, VLV_IIR); in valleyview_irq_handler()
271 if (gt_iir == 0 && pm_iir == 0 && iir == 0) in valleyview_irq_handler()
297 if (iir & I915_DISPLAY_PORT_INTERRUPT) in valleyview_irq_handler()
301 * signalled in iir */ in valleyview_irq_handler()
302 i9xx_pipestat_irq_ack(dev_priv, iir, pipe_stats); in valleyview_irq_handler()
304 if (iir & (I915_LPE_PIPE_A_INTERRUPT | in valleyview_irq_handler()
312 if (iir) in valleyview_irq_handler()
313 intel_uncore_write(&dev_priv->uncore, VLV_IIR, iir); in valleyview_irq_handler()
348 u32 master_ctl, iir; in cherryview_irq_handler() local
354 iir = intel_uncore_read(&dev_priv->uncore, VLV_IIR); in cherryview_irq_handler()
356 if (master_ctl == 0 && iir == 0) in cherryview_irq_handler()
379 if (iir & I915_DISPLAY_PORT_INTERRUPT) in cherryview_irq_handler()
383 * signalled in iir */ in cherryview_irq_handler()
384 i9xx_pipestat_irq_ack(dev_priv, iir, pipe_stats); in cherryview_irq_handler()
386 if (iir & (I915_LPE_PIPE_A_INTERRUPT | in cherryview_irq_handler()
395 if (iir) in cherryview_irq_handler()
396 intel_uncore_write(&dev_priv->uncore, VLV_IIR, iir); in cherryview_irq_handler()
418 * 3 - Clear the Interrupt Identity bits (IIR).
435 /* disable master interrupt before clearing iir */ in ilk_irq_handler()
925 * IIR on i965/g4x wouldn't notice that an interrupt in i8xx_error_irq_ack()
965 * IIR on i965/g4x wouldn't notice that an interrupt in i9xx_error_irq_ack()
1003 u16 iir; in i8xx_irq_handler() local
1005 iir = intel_uncore_read16(&dev_priv->uncore, GEN2_IIR); in i8xx_irq_handler()
1006 if (iir == 0) in i8xx_irq_handler()
1012 * signalled in iir */ in i8xx_irq_handler()
1013 i9xx_pipestat_irq_ack(dev_priv, iir, pipe_stats); in i8xx_irq_handler()
1015 if (iir & I915_MASTER_ERROR_INTERRUPT) in i8xx_irq_handler()
1018 intel_uncore_write16(&dev_priv->uncore, GEN2_IIR, iir); in i8xx_irq_handler()
1020 if (iir & I915_USER_INTERRUPT) in i8xx_irq_handler()
1021 intel_engine_cs_irq(to_gt(dev_priv)->engine[RCS0], iir); in i8xx_irq_handler()
1023 if (iir & I915_MASTER_ERROR_INTERRUPT) in i8xx_irq_handler()
1026 i8xx_pipestat_irq_handler(dev_priv, iir, pipe_stats); in i8xx_irq_handler()
1107 u32 iir; in i915_irq_handler() local
1109 iir = intel_uncore_read(&dev_priv->uncore, GEN2_IIR); in i915_irq_handler()
1110 if (iir == 0) in i915_irq_handler()
1116 iir & I915_DISPLAY_PORT_INTERRUPT) in i915_irq_handler()
1120 * signalled in iir */ in i915_irq_handler()
1121 i9xx_pipestat_irq_ack(dev_priv, iir, pipe_stats); in i915_irq_handler()
1123 if (iir & I915_MASTER_ERROR_INTERRUPT) in i915_irq_handler()
1126 intel_uncore_write(&dev_priv->uncore, GEN2_IIR, iir); in i915_irq_handler()
1128 if (iir & I915_USER_INTERRUPT) in i915_irq_handler()
1129 intel_engine_cs_irq(to_gt(dev_priv)->engine[RCS0], iir); in i915_irq_handler()
1131 if (iir & I915_MASTER_ERROR_INTERRUPT) in i915_irq_handler()
1137 i915_pipestat_irq_handler(dev_priv, iir, pipe_stats); in i915_irq_handler()
1233 u32 iir; in i965_irq_handler() local
1235 iir = intel_uncore_read(&dev_priv->uncore, GEN2_IIR); in i965_irq_handler()
1236 if (iir == 0) in i965_irq_handler()
1241 if (iir & I915_DISPLAY_PORT_INTERRUPT) in i965_irq_handler()
1245 * signalled in iir */ in i965_irq_handler()
1246 i9xx_pipestat_irq_ack(dev_priv, iir, pipe_stats); in i965_irq_handler()
1248 if (iir & I915_MASTER_ERROR_INTERRUPT) in i965_irq_handler()
1251 intel_uncore_write(&dev_priv->uncore, GEN2_IIR, iir); in i965_irq_handler()
1253 if (iir & I915_USER_INTERRUPT) in i965_irq_handler()
1255 iir); in i965_irq_handler()
1257 if (iir & I915_BSD_USER_INTERRUPT) in i965_irq_handler()
1259 iir >> 25); in i965_irq_handler()
1261 if (iir & I915_MASTER_ERROR_INTERRUPT) in i965_irq_handler()
1267 i965_pipestat_irq_handler(dev_priv, iir, pipe_stats); in i965_irq_handler()