xf86-video-intel: src/i830_batchbuffer.h
Chris Wilson
ickle at kemper.freedesktop.org
Mon Jun 21 13:58:15 PDT 2010
src/i830_batchbuffer.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c4d200517755e6b0f48d6c6a6ba8dd0ddc883d8b
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Mon Jun 21 21:57:21 2010 +0100
Only append the pixmap to the flushing list if we are writing to it.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/i830_batchbuffer.h b/src/i830_batchbuffer.h
index ba03f6a..4315bba 100644
--- a/src/i830_batchbuffer.h
+++ b/src/i830_batchbuffer.h
@@ -126,7 +126,7 @@ intel_batch_mark_pixmap_domains(intel_screen_private *intel,
if (list_is_empty(&priv->batch))
list_add(&priv->batch, &intel->batch_pixmaps);
- if (list_is_empty(&priv->flush))
+ if (write_domain && list_is_empty(&priv->flush))
list_add(&priv->flush, &intel->flush_pixmaps);
priv->batch_write |= write_domain != 0;
More information about the xorg-commit
mailing list