radv: make sure to wait for CP DMA when needed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 9 Jul 2018 16:02:58 +0000 (18:02 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 11 Jul 2018 10:11:56 +0000 (12:11 +0200)
commit4a67ce886a7b3def5f66c1aedf9e5436d157a03c
tree5b83310e09feec02f04f3c9e4bcbd68b227f6822
parent688d757e15e2a7142312d74748142bee1f3b6d74
radv: make sure to wait for CP DMA when needed

This might fix some synchronization issues. I don't know if
that will affect performance but it's required for correctness.

CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c