summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLi Peng <peng.li@intel.com>2009-04-10 14:39:35 +0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-04-13 12:45:41 -0700
commit9b615a52671aacf34666f90ecfff98651ce6afe2 (patch)
tree473e95069c530398faa5486b0582486c26962a82 /src
parent053432991c812146f6e7c6f13c6ace55385c825f (diff)
downloadxf86-video-intel-9b615a52671aacf34666f90ecfff98651ce6afe2.tar.gz
xf86-video-intel-9b615a52671aacf34666f90ecfff98651ce6afe2.tar.bz2
xf86-video-intel-9b615a52671aacf34666f90ecfff98651ce6afe2.zip
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. Should help with #20761, if not totally fix it. Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Li Peng <peng.li@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/i830_memory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 0f8d90db1..d3138d94b 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;