radeonsi: use SDMA for uploading data through const_uploader
authorMarek Olšák <marek.olsak@amd.com>
Thu, 31 Jan 2019 01:56:59 +0000 (20:56 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 21 Feb 2019 02:04:29 +0000 (21:04 -0500)
commitedbd2c1ff559cde1d9e22a9fb9059747782a72a7
tree2b3ccbdb8b47903e5eb7c4936e08cb2571f0ca8d
parent54f7545cd7925db9ff78b9dccbff7406dd2ad4a4
radeonsi: use SDMA for uploading data through const_uploader

v2: use tc.stream_uploader in si buffer_transfer_map if not called from
    the driver thread

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v1)
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/radeonsi/si_buffer.c
src/gallium/drivers/radeonsi/si_dma_cs.c
src/gallium/drivers/radeonsi/si_gfx_cs.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h