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:
parent
25776547bb
commit
6c5658b144
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue