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:
parent
eafb454edf
commit
d8a75538ea
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue