radeonsi: disable SDMA clears and copies for sparse buffers
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 24 Mar 2017 22:30:55 +0000 (23:30 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 5 Apr 2017 08:37:19 +0000 (10:37 +0200)
commitaee473eb01abac74d1c10330005ab1378f017ce9
treed1396103d1ec6d964956752a3af83417d15670c0
parent0a685ce9a7862752ea523fa74310901171da0c47
radeonsi: disable SDMA clears and copies for sparse buffers

VM faults cannot be disabled for SDMA on <= VI.

We could still use SDMA by asking the winsys about which parts of the
buffers are committed. This is left as a potential future improvement.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/cik_sdma.c
src/gallium/drivers/radeonsi/si_cp_dma.c
src/gallium/drivers/radeonsi/si_dma.c