projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0741064
)
i915: Only wait for pending flips before asynchronous flips again.
author
Michel Dänzer
<michel@tungstengraphics.com>
Fri, 9 Mar 2007 22:34:11 +0000
(23:34 +0100)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Fri, 9 Mar 2007 23:10:49 +0000
(
00:10
+0100)
shared-core/i915_dma.c
patch
|
blob
|
history
diff --git
a/shared-core/i915_dma.c
b/shared-core/i915_dma.c
index
14e0117
..
c8b7e58
100644
(file)
--- a/
shared-core/i915_dma.c
+++ b/
shared-core/i915_dma.c
@@
-589,8
+589,9
@@
static void i915_do_dispatch_flip(drm_device_t * dev, int pipe, int sync)
dspbase);
BEGIN_LP_RING(4);
- OUT_RING(MI_WAIT_FOR_EVENT | (pipe ? MI_WAIT_FOR_PLANE_B_FLIP :
- MI_WAIT_FOR_PLANE_A_FLIP));
+ OUT_RING(sync ? 0 :
+ (MI_WAIT_FOR_EVENT | (pipe ? MI_WAIT_FOR_PLANE_B_FLIP :
+ MI_WAIT_FOR_PLANE_A_FLIP)));
OUT_RING(CMD_OP_DISPLAYBUFFER_INFO | (sync ? 0 : ASYNC_FLIP) |
(pipe ? DISPLAY_PLANE_B : DISPLAY_PLANE_A));
OUT_RING(dev_priv->sarea_priv->pitch * dev_priv->cpp);