From 3a787da7e888da7e9943be94bd1cb177fe1495ab Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 29 Jun 2013 21:57:20 +0100 Subject: [PATCH] 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 --- src/sna/kgem.c | 9 --------- 1 file changed, 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;