sna: Promote to full GPU bo after forced migration away from CPU bo

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-06-23 14:11:27 +01:00
parent 25776547bb
commit 6c5658b144
1 changed files with 2 additions and 0 deletions

View File

@ -3845,6 +3845,8 @@ prefer_gpu_bo:
if (!sna_pixmap_move_to_gpu(pixmap, MOVE_WRITE | MOVE_READ | __MOVE_FORCE))
return NULL;
sna_damage_all(&priv->gpu_damage, pixmap);
DBG(("%s: allocated GPU bo for operation\n", __FUNCTION__));
goto done;
}