diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-12-03 12:10:23 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-12-03 12:10:23 +0000 |
commit | 0420adfb9d92b691aabef4e0ccba3782417b4bf0 (patch) | |
tree | 3df7436470f50e628a04b6f613015af876145bc1 /src/sna/gen2_render.c | |
parent | 3dbf17f00e200e864818b0b8ca762183cff9085f (diff) |
sna/gen2,3: Unmap the old GPU bo when replacing due to render target constaints
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen2_render.c')
-rw-r--r-- | src/sna/gen2_render.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c index 3e907406..b539a815 100644 --- a/src/sna/gen2_render.c +++ b/src/sna/gen2_render.c @@ -1609,6 +1609,7 @@ gen2_composite_set_target(struct sna *sna, if (bo == NULL) return false; + sna_pixmap_unmap(op->dst.pixmap, priv); kgem_bo_destroy(&sna->kgem, priv->gpu_bo); priv->gpu_bo = bo; |