diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-30 14:50:49 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-31 15:55:28 +0000 |
commit | a7988bf77f5a106a48b6e39b6eaf60ef2f8bec11 (patch) | |
tree | 0d348cad9c9341f7980a7b407ce7aa6738fb22ac /src/sna/sna_video.c | |
parent | 736b89504a32239a0c7dfb5961c1b8292dd744bd (diff) |
sna/dri: Fix triple buffering to not penalise missed frames
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video.c')
-rw-r--r-- | src/sna/sna_video.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/sna_video.c b/src/sna/sna_video.c index 8d111d54..05d76dda 100644 --- a/src/sna/sna_video.c +++ b/src/sna/sna_video.c @@ -104,8 +104,7 @@ sna_video_buffer(struct sna *sna, if (video->tiled) { video->buf = kgem_create_2d(&sna->kgem, frame->width, frame->height, 32, - I915_TILING_X, - CREATE_EXACT | CREATE_SCANOUT); + I915_TILING_X, CREATE_EXACT); } else { video->buf = kgem_create_linear(&sna->kgem, frame->size, CREATE_GTT_MAP); |