[Intel-gfx] [PATCH] Turn on front buffer tiling in KMS

Li Peng peng.li at linux.intel.com
Fri Apr 10 08:43:19 CEST 2009


>From 88d1094ea986539c9e92cd9a5ef6869cf07d408e Mon Sep 17 00:00:00 2001
From: Li Peng <peng.li at intel.com>
Date: Fri, 10 Apr 2009 14:39:35 +0800
Subject: Turn on front buffer tiling in KMS.

This code disabled front buffer tiling in KMS. Turn it on since kernel
handles all tiling now, this improves performance of x11perf -aa10text
from 97k to 286k on my 945GME.
---
 src/i830_memory.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/i830_memory.c b/src/i830_memory.c
index 0f8d90d..d3138d9 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -1244,8 +1244,6 @@ i830_allocate_framebuffer(ScrnInfoPtr pScrn)
 	tile_format = TILE_XMAJOR;
     if (pI830->accel == ACCEL_XAA && IS_I965G(pI830))
 	tile_format = TILE_NONE;
-    if (pI830->use_drm_mode)
-	tile_format = TILE_NONE;
 
     if (!IsTileable(pScrn, pitch))
 	tile_format = TILE_NONE;
-- 
1.5.3.GIT






More information about the Intel-gfx mailing list