pipestat can be set when iir is unset due to our ordering of pipestat and iir writes. Remove a WARN left when the code to always read pipestat was added.
Signed-off-by: Keith Packard <[EMAIL PROTECTED]> --- drivers/gpu/drm/i915/i915_irq.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 879a696..a67cd41 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -203,19 +203,11 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS) */ if (pipea_stats & 0x8000ffff) { I915_WRITE(PIPEASTAT, pipea_stats); - WARN((iir & I915_DISPLAY_PIPE_A_EVENT_INTERRUPT) == 0 && - (pipea_stats & vblank_enable) != 0 && - (pipea_stats & vblank_status) != 0, - "Pipe A vblank event not in IIR\n"); irq_received = 1; } if (pipeb_stats & 0x8000ffff) { I915_WRITE(PIPEBSTAT, pipeb_stats); - WARN((iir & I915_DISPLAY_PIPE_B_EVENT_INTERRUPT) == 0 && - (pipeb_stats & vblank_enable) && - (pipeb_stats & vblank_status) != 0, - "Pipe B vblank event not in IIR\n"); irq_received = 1; } spin_unlock_irqrestore(&dev_priv->user_irq_lock, irqflags); -- 1.5.6.5 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel