radeonsi: implement PIPE_FLUSH_{TOP,BOTTOM}_OF_PIPE
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 22 Oct 2017 15:38:54 +0000 (17:38 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 13:00:55 +0000 (14:00 +0100)
commit125a915052757f906c872e3fa2952e455bb646f3
tree803c5d5c16c858d9e12affbfd4edbf0990fb1583
parente4627ac8fb5422e98311724cce04f31b65cc2b3e
radeonsi: implement PIPE_FLUSH_{TOP,BOTTOM}_OF_PIPE

v2: use uncached system memory for the fence, and use the CPU to
    clear it so we never read garbage when checking the fence

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