diff options
author | Li Peng <peng.li@intel.com> | 2009-04-10 14:39:35 +0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-04-13 13:42:07 -0700 |
commit | 6f48379fb8e5997b4b2098b7df5bed399bc559f6 (patch) | |
tree | c920ea3125460efc5c2a19b2cb44b46fb0b77e98 | |
parent | c8633c82278085917bd6b0d0ea6e8a74eaa6deb4 (diff) |
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>
(cherry picked from commit 9b615a52671aacf34666f90ecfff98651ce6afe2)
-rw-r--r-- | 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 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; |