diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-09 08:58:15 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-09 14:57:57 +0100 |
commit | 3932e97057fca16615adaefbc1eb25a0d51a1d8b (patch) | |
tree | 34cfc923aadfba5599a4e6ff32b0ffe896de85c2 /src/sna/sna_accel.c | |
parent | af3130cbba8375b9060a3a8cef5b03189d01c419 (diff) |
sna/dri2: Allow TearFree flipping to individual CRTC
Baby step. We first take advantage of TearFree to allow us to redirect a
single CRTC to the DRI2 frontbuffer and so allow a fullscreen game
covering a single monitor to avoid expensive blits when running in a
multi-monitor setup.
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, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index e9c1ef23..78f422db 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -16868,7 +16868,7 @@ static void sna_scanout_flush(struct sna *sna) if (priv && sna_pixmap_force_to_gpu(priv->pixmap, - MOVE_READ | MOVE_ASYNC_HINT)) + MOVE_READ | MOVE_ASYNC_HINT | __MOVE_SCANOUT)) kgem_scanout_flush(&sna->kgem, priv->gpu_bo); sna_mode_redisplay(sna); |