Skip to content

Commit

Permalink
drm/i915: Ironlake page-flipping is per-plane not per-pipe
Browse files Browse the repository at this point in the history
Fix a minor confusion between intel_page_flip_finish(pipe) and
intel_page_flip_finish_plane(plane) -- should have no effect as
currently we map pipe 0 to plane 0 (and pipe 1 to plane 1).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Chris Wilson committed Sep 8, 2010
1 parent 425904d commit 2bbda38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,12 @@ irqreturn_t ironlake_irq_handler(struct drm_device *dev)

if (de_iir & DE_PLANEA_FLIP_DONE) {
intel_prepare_page_flip(dev, 0);
intel_finish_page_flip(dev, 0);
intel_finish_page_flip_plane(dev, 0);
}

if (de_iir & DE_PLANEB_FLIP_DONE) {
intel_prepare_page_flip(dev, 1);
intel_finish_page_flip(dev, 1);
intel_finish_page_flip_plane(dev, 1);
}

if (de_iir & DE_PIPEA_VBLANK)
Expand Down

0 comments on commit 2bbda38

Please sign in to comment.