aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-acer.localdomain>2010-07-01 07:45:43 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-07-01 21:47:12 -0400
commit70565d00db6ef5735819db973fa8da95bd34a6ab (patch)
tree5249f6aed139b46986c040831db3676f4024e648 /drivers/gpu
parentdd1ea37d9257bdf118693235dc74003901c55204 (diff)
drm/i915: fix page flip finish vs. prepare on plane B
The refreshed patch had a copy & paste bug. Reported-by: Simon Farnsworth <simon.farnsworth@onelan.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index d676e55eb212..dba53d4b9fb3 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -947,9 +947,9 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
947 } 947 }
948 948
949 if (iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) { 949 if (iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) {
950 intel_prepare_page_flip(dev, 1);
950 if (dev_priv->flip_pending_is_done) 951 if (dev_priv->flip_pending_is_done)
951 intel_finish_page_flip_plane(dev, 1); 952 intel_finish_page_flip_plane(dev, 1);
952 intel_prepare_page_flip(dev, 1);
953 } 953 }
954 954
955 if (pipea_stats & vblank_status) { 955 if (pipea_stats & vblank_status) {