diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-28 12:33:56 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-28 12:33:56 +0100 |
commit | fd0fed3f1e10d7ff1205a485621767b650c6f5ff (patch) | |
tree | eda7d04974fe1412cde7f1ade86b4e9c644f4dc9 /shared-core | |
parent | 1a0d890a42bee78177ad45d5e5956d2c3c4fcdc7 (diff) |
i915: Fix test for synchronous flip affecting both pipes.
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/i915_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c index e6c88d2f..e17eec5d 100644 --- a/shared-core/i915_irq.c +++ b/shared-core/i915_irq.c @@ -70,8 +70,8 @@ i915_dispatch_vsync_flip(drm_device_t *dev, drm_drawable_info_t *drw, int pipe) drm_clip_rect_t *rect = drw->rects; for (i = 0; i < num_rects; i++) - if (!((rect[i].x1 > x2 && rect[i].y1 > y2) || - (rect[i].x2 < x1 && rect[i].y2 < y1))) { + if (!(rect[i].x1 >= x2 || rect[i].y1 >= y2 || + rect[i].x2 <= x1 || rect[i].y2 <= y1)) { pf_pipes = 0x3; break; |