sna: Use an inplace exchange for large untiled BO
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Nov 2013 08:49:28 +0000 (08:49 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Nov 2013 09:06:19 +0000 (09:06 +0000)
commitdc61705a6e425952de4c81c2320382af07cf948a
tree438f68920eedf661bb9f3fba5a675632ac4e6a77
parentf3225fcb38686f3b9701725bf3a11ecf1c100c3f
sna: Use an inplace exchange for large untiled BO

On older architectures, large BO have to be untiled and so we can reuse
an existing CPU bo by adjusting its caching mode.

References: https://bugs.freedesktop.org/show_bug.cgi?id=70924
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/kgem.c
src/sna/kgem.h
src/sna/sna_accel.c