sna: Warn about the consequences of disabling tiling

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-05-21 13:39:35 +01:00
parent 195a51353c
commit abe85adda5
1 changed files with 4 additions and 0 deletions

View File

@ -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;