projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a0d890
)
i915: Fix test for synchronous flip affecting both pipes.
author
Michel Dänzer
<michel@tungstengraphics.com>
Wed, 28 Feb 2007 11:33:56 +0000
(12:33 +0100)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Wed, 28 Feb 2007 11:33:56 +0000
(12:33 +0100)
shared-core/i915_irq.c
patch
|
blob
|
history
diff --git
a/shared-core/i915_irq.c
b/shared-core/i915_irq.c
index
e6c88d2
..
e17eec5
100644
(file)
--- 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;