radeonsi: disable the L2 cache for CPU read mappings of buffers
authorMarek Olšák <marek.olsak@amd.com>
Wed, 6 May 2020 18:51:50 +0000 (14:51 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 15 May 2020 22:12:35 +0000 (22:12 +0000)
commitc45a2145f5eaae53d48e3aa7e0f10f2c70f267b0
treea3c43b7e4b627e527ebfbb91bbd3521f0181d08b
parent7356144fe42939ecbc01d2066ca6ea5d0f9351a7
radeonsi: disable the L2 cache for CPU read mappings of buffers

for faster copying over PCIe and no need to flush L2

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4935>
src/gallium/drivers/radeonsi/si_buffer.c