summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_overlay.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-17 16:59:05 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-17 17:01:17 +0100
commit540666a0a81c7daedbd47830d0932df5e57ec903 (patch)
treeb8f508b13b4ca20da88c5134493c2b137db7c4d1 /src/sna/sna_video_overlay.c
parent891bae4aa91e85542dcbe38f6ee92141e3efc801 (diff)
sna/overlay: Move bo out of GTT domain after binding to overlay plane
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_overlay.c')
-rw-r--r--src/sna/sna_video_overlay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c
index b73e9ddf..a1cc4b98 100644
--- a/src/sna/sna_video_overlay.c
+++ b/src/sna/sna_video_overlay.c
@@ -532,6 +532,7 @@ sna_video_overlay_put_image(ScrnInfoPtr scrn,
return BadAlloc;
}
+ frame.bo->domain = DOMAIN_NONE;
sna_video_buffer_fini(sna, video);
/* update cliplist */