radv: make sure to wait for CP DMA when needed

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 11 July 2018 10:11 EDT

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

CC:

4a67ce886a radv: make sure to wait for CP DMA when needed
src/amd/vulkan/radv_cmd_buffer.c | 15 +++++++++++++++
src/amd/vulkan/radv_private.h | 5 +++++
src/amd/vulkan/si_cmd_buffer.c | 36 ++++++++++++++++++++++++++++++++----
3 files changed, 52 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share