sna: Missing chunks from last commit

And update the check for reusing the blit!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-01-07 18:23:43 +00:00
parent 292aebfcdc
commit c05e90aa99
1 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ static bool sna_blt_fill_init(struct sna *sna,
_kgem_set_mode(kgem, KGEM_BLT);
}
if (sna->blt_state.fill_bo != bo->handle ||
if (sna->blt_state.fill_bo != bo->unique_id ||
sna->blt_state.fill_pixel != pixel ||
sna->blt_state.fill_alu != alu)
{
@ -1913,7 +1913,7 @@ Bool sna_blt_fill_boxes(struct sna *sna, uint8_t alu,
_kgem_set_mode(kgem, KGEM_BLT);
}
if (sna->blt_state.fill_bo != bo->handle ||
if (sna->blt_state.fill_bo != bo->unique_id ||
sna->blt_state.fill_pixel != pixel ||
sna->blt_state.fill_alu != alu)
{