summaryrefslogtreecommitdiff
path: root/src/sna
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-07 14:57:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-07 15:04:15 +0100
commitecd80a3a997b11307445c50621d4e86e241a5b22 (patch)
tree6dd1eca53d42988d0383bf8888e7e89a93fe735b /src/sna
parent035be60f332e4729fb90261605ef6c06a9d9c903 (diff)
sna: Fix reporting of TearFree
The switch was moved after we checked whether pageflips are supported, but the log message was left in the old location. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r--src/sna/sna_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 97872a74..ce2490bf 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -640,8 +640,6 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
sna->tiling & SNA_TILING_FB ? "tiled" : "linear");
xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "Pixmaps %s\n",
sna->tiling & SNA_TILING_2D ? "tiled" : "linear");
- xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "\"Tear free\" %sabled\n",
- sna->flags & SNA_TEAR_FREE ? "en" : "dis");
xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "Forcing per-crtc-pixmaps? %s\n",
sna->flags & SNA_FORCE_SHADOW ? "yes" : "no");
@@ -659,6 +657,8 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
if (sna->flags & SNA_HAS_FLIP &&
xf86ReturnOptValBool(sna->Options, OPTION_TEAR_FREE, ENABLE_TEAR_FREE))
sna->flags |= SNA_TEAR_FREE;
+ xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "TearFree %sabled\n",
+ sna->flags & SNA_TEAR_FREE ? "en" : "dis");
xf86SetGamma(scrn, zeros);
xf86SetDpi(scrn, 0, 0);