xf86-video-intel: src/sna/sna_blt.c

Chris Wilson ickle at kemper.freedesktop.org
Sat Jan 7 10:29:36 PST 2012


 src/sna/sna_blt.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c05e90aa99c093431a74a94ceba27d7dce49d05b
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Jan 7 18:23:43 2012 +0000

    sna: Missing chunks from last commit
    
    And update the check for reusing the blit!
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_blt.c b/src/sna/sna_blt.c
index fab9700..9f77f38 100644
--- a/src/sna/sna_blt.c
+++ b/src/sna/sna_blt.c
@@ -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)
 	{


More information about the xorg-commit mailing list