summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-05-21 13:39:35 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-05-21 13:40:09 +0100
commitabe85adda51c58d3f3b9c5dea6cec4b13a65cdcd (patch)
tree530edc60907ceedc716049f6821dcd23f30acde6 /src/sna/sna_driver.c
parent195a51353c3af7bd253227da5f759f06cea01f73 (diff)
sna: Warn about the consequences of disabling tiling
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r--src/sna/sna_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index a29661c4..b69083eb 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -631,6 +631,10 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "Forcing per-crtc-pixmaps? %s\n",
sna->flags & SNA_FORCE_SHADOW ? "yes" : "no");
+ if (sna->tiling != SNA_TILING_ALL)
+ xf86DrvMsg(scrn->scrnIndex, X_WARNING,
+ "Tiling disabled, expect poor performance and increased power consumption.\n");
+
if (!sna_mode_pre_init(scrn, sna)) {
PreInitCleanup(scrn);
return FALSE;