From 6f48379fb8e5997b4b2098b7df5bed399bc559f6 Mon Sep 17 00:00:00 2001 From: Li Peng 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. Should help with #20761, if not totally fix it. Acked-by: Jesse Barnes Signed-off-by: Li Peng (cherry picked from commit 9b615a52671aacf34666f90ecfff98651ce6afe2) --- src/i830_memory.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/i830_memory.c b/src/i830_memory.c index 0f8d90db..d3138d94 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; -- cgit v1.2.3