sna: Disable memcpy_to_tiled_x() uploads on 32-bit systems
It's far too slow due to the register starved instruction set producing attrocious code and the extra overhead in the kernel for managing memory mappings. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
220970b1a4
commit
aead71051e
|
|
@ -483,6 +483,15 @@ fallback:
|
|||
|
||||
static bool upload_inplace__tiled(struct kgem *kgem, struct kgem_bo *bo)
|
||||
{
|
||||
#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 false;
|
||||
#endif
|
||||
|
||||
if (kgem->gen < 050) /* bit17 swizzling :( */
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue