xf86-video-intel: src/sna/sna_driver.c

Chris Wilson ickle at kemper.freedesktop.org
Tue May 21 05:40:20 PDT 2013


 src/sna/sna_driver.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit abe85adda51c58d3f3b9c5dea6cec4b13a65cdcd
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue May 21 13:39:35 2013 +0100

    sna: Warn about the consequences of disabling tiling
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index a29661c..b69083e 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;


More information about the xorg-commit mailing list