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 <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-07-09 08:38:39 +01:00
parent eafb454edf
commit d8a75538ea
1 changed files with 1 additions and 1 deletions

View File

@ -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);