From d8a75538ea1d2a79d6282b0e2dfd73cfdea1a480 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 9 Jul 2012 08:38:39 +0100 Subject: sna: PadPixmap only writes to the out-of-bounds bits So we only need to delcare it as reading the source pixmap and not mark it as damaged. Signed-off-by: Chris Wilson --- src/sna/sna_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index cb99e6ac..ac98d358 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -2735,7 +2735,7 @@ static bool must_check sna_validate_pixmap(DrawablePtr draw, PixmapPtr pixmap) FbEvenTile(pixmap->drawable.width * pixmap->drawable.bitsPerPixel)) { DBG(("%s: flushing pixmap\n", __FUNCTION__)); - if (!sna_pixmap_move_to_cpu(pixmap, MOVE_READ | MOVE_WRITE)) + if (!sna_pixmap_move_to_cpu(pixmap, MOVE_READ)) return false; fbPadPixmap(pixmap); -- cgit v1.2.3