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>
This commit is contained in:
parent
dd1ea37d92
commit
70565d00db
1 changed files with 1 additions and 1 deletions
|
@ -947,9 +947,9 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) {
|
if (iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) {
|
||||||
|
intel_prepare_page_flip(dev, 1);
|
||||||
if (dev_priv->flip_pending_is_done)
|
if (dev_priv->flip_pending_is_done)
|
||||||
intel_finish_page_flip_plane(dev, 1);
|
intel_finish_page_flip_plane(dev, 1);
|
||||||
intel_prepare_page_flip(dev, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pipea_stats & vblank_status) {
|
if (pipea_stats & vblank_status) {
|
||||||
|
|
Loading…
Reference in a new issue