sna: Remove unneeded source bo unref after __sna_render_pixmap_bo()
As __sna_render_pixmap_bo() deliberately does not reference its returned
bo, we need to avoid unreferencing it else we cause explosions later.
Fixes regression from commit a13781d19d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Sun Aug 19 09:45:12 2012 +0100
sna: Enable BLT composite functions to target CPU buffers
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
c80db9bc2e
commit
a05643eb67
|
|
@ -1850,11 +1850,9 @@ clear:
|
|||
if (!tmp->dst.bo) {
|
||||
DBG(("%s: fallback -- unaccelerated read back\n",
|
||||
__FUNCTION__));
|
||||
kgem_bo_destroy(&sna->kgem, bo);
|
||||
} else if (bo->snoop && tmp->dst.bo->snoop) {
|
||||
DBG(("%s: fallback -- can not copy between snooped bo\n",
|
||||
__FUNCTION__));
|
||||
kgem_bo_destroy(&sna->kgem, bo);
|
||||
} else {
|
||||
ret = prepare_blt_copy(sna, tmp, bo, alpha_fixup);
|
||||
if (fallback)
|
||||
|
|
|
|||
Loading…
Reference in New Issue