summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-29 21:57:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-29 21:57:20 +0100
commit3a787da7e888da7e9943be94bd1cb177fe1495ab (patch)
treeefa21aecf89bf6f66f6a8a31b81668354cec49a1
parent1d9941a7c003587c0bd732fb8b21fee5cefa6f87 (diff)
sna: Allow tiled memcpy on i386
With the split into per-swizzle functions, and with the forced optimisation levels, it appears that i386 doesn't suffer so badly and the tiled memcpy are a viable method. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 5c029ad4..aadc5f23 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -985,15 +985,6 @@ static void kgem_init_swizzling(struct kgem *kgem)
{
struct drm_i915_gem_get_tiling tiling;
-#ifndef __x86_64__
- /* Between a register starved compiler emitting attrocious code
- * and the extra overhead in the kernel for managing the tight
- * 32-bit address space, unless we have a 64-bit system,
- * using memcpy_to_tiled_x() is extremely slow.
- */
- return;
-#endif
-
if (kgem->gen < 050) /* bit17 swizzling :( */
return;