sna: Warn about the consequences of disabling tiling
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
195a51353c
commit
abe85adda5
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue