summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_sprite.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_sprite.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_sprite.c')
-rw-r--r--src/sna/sna_video_sprite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_video_sprite.c b/src/sna/sna_video_sprite.c
index a912590f..e90c18c3 100644
--- a/src/sna/sna_video_sprite.c
+++ b/src/sna/sna_video_sprite.c
@@ -250,6 +250,7 @@ sna_video_sprite_show(struct sna *sna,
0, 0, frame->width << 16, frame->height << 16))
return false;
+ frame->bo->domain = DOMAIN_NONE;
video->plane = plane;
return true;
}