radeonsi: turn SDMA IBs into de-facto preambles of GFX IBs
authorMarek Olšák <marek.olsak@amd.com>
Tue, 27 Dec 2016 18:53:59 +0000 (19:53 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Jan 2017 17:43:24 +0000 (18:43 +0100)
commite16245b3393911d703b688adb3ebf161e0b9ba8a
tree69d0972715f956851e882c1b9cb621289b38c8ff
parentcba9d59362130e1b44cd9cfc4f38ad3773111442
radeonsi: turn SDMA IBs into de-facto preambles of GFX IBs

Draw calls no longer flush SDMA IBs. r600_need_dma_space is
responsible for synchronizing execution between both IBs.

Initial buffer clears and fast clears will stay unflushed in the SDMA IB
(up to 64 MB) as long as the GFX IB isn't flushed either.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeonsi/si_hw_context.c