sna: Always copy from the tile source
The first step when tiling with an intermediatory is to copy from the source bo to the temporary. The alu should only be applied when copying from the temporary to the destination. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
ace764501e
commit
b796c33411
|
|
@ -857,7 +857,7 @@ sna_tiling_blt_copy_boxes__with_alpha(struct sna *sna, uint8_t alu,
|
|||
assert(bo->pitch <= 8192);
|
||||
assert(bo->tiling != I915_TILING_Y);
|
||||
|
||||
if (!sna_blt_copy_boxes(sna, alu,
|
||||
if (!sna_blt_copy_boxes(sna, GXcopy,
|
||||
src_bo, src_dx, src_dy,
|
||||
bo, -dx, -dy,
|
||||
bpp, REGION_RECTS(&this), REGION_NUM_RECTS(&this)))
|
||||
|
|
@ -1087,7 +1087,7 @@ bool sna_tiling_blt_copy_boxes(struct sna *sna, uint8_t alu,
|
|||
assert(bo->pitch <= 8192);
|
||||
assert(bo->tiling != I915_TILING_Y);
|
||||
|
||||
if (!sna_blt_copy_boxes(sna, alu,
|
||||
if (!sna_blt_copy_boxes(sna, GXcopy,
|
||||
src_bo, src_dx, src_dy,
|
||||
bo, -dx, -dy,
|
||||
bpp, REGION_RECTS(&this), REGION_NUM_RECTS(&this)))
|
||||
|
|
|
|||
Loading…
Reference in New Issue