Work around bug on one-pipe 845 devices until we update drm again.

This commit is contained in:
riastradh 2014-06-27 19:55:20 +00:00
parent 9590415a5a
commit 44f3d26119
1 changed files with 2 additions and 1 deletions

View File

@ -2268,7 +2268,8 @@ static irqreturn_t i8xx_irq_handler(DRM_IRQ_ARGS)
} }
} }
if (pipe_stats[1] & PIPE_VBLANK_INTERRUPT_STATUS && if (dev_priv->num_pipe >= 2 &&
pipe_stats[1] & PIPE_VBLANK_INTERRUPT_STATUS &&
drm_handle_vblank(dev, 1)) { drm_handle_vblank(dev, 1)) {
if (iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) { if (iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) {
intel_prepare_page_flip(dev, 1); intel_prepare_page_flip(dev, 1);