xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Tue Sep 4 06:22:59 PDT 2012
src/sna/sna_accel.c | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit bc309bad39035649ee377c1d5af9099491a8ea43
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Sep 4 14:22:15 2012 +0100
sna: And remember to flush the damage to the output slaves...
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index a554655..1156e78 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -13819,6 +13819,7 @@ static void sna_accel_post_damage(struct sna *sna)
#if HAS_PIXMAP_SHARING
ScreenPtr screen = sna->scrn->pScreen;
PixmapDirtyUpdatePtr dirty;
+ bool flush = false;
xorg_list_for_each_entry(dirty, &screen->pixmap_dirty_list, ent) {
RegionRec region, *damage;
@@ -13903,6 +13904,8 @@ fallback:
dst, sna_pixmap_get_bo(dst), -dirty->x, -dirty->y,
box, n, COPY_LAST))
goto fallback;
+
+ flush = true;
}
RegionTranslate(®ion, -dirty->x, -dirty->y);
@@ -13912,6 +13915,8 @@ skip:
RegionUninit(®ion);
DamageEmpty(dirty->damage);
}
+ if (flush)
+ kgem_submit(&sna->kgem);
#endif
}
More information about the xorg-commit
mailing list