diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-23 14:11:27 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-23 14:11:27 +0100 |
commit | 6c5658b14451239b8e4333702a227d83eed09f96 (patch) | |
tree | 181c83b7ccb76140c29c6c46f46accc9e2b26708 /src/sna/sna_accel.c | |
parent | 25776547bb7d76010f948769c8c08a7f418b15fd (diff) |
sna: Promote to full GPU bo after forced migration away from CPU bo
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 20a0f84f..defc89d1 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -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; } |