radv: fix a GPU hang with RADV_DEBUG=syncshaders
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 Jan 2018 14:46:50 +0000 (15:46 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 26 Jan 2018 11:14:27 +0000 (12:14 +0100)
commit5391de126294a107ef0db36ae92d9383ece045d3
tree784a0e5d98013746f4799afec2d4cddb20fe87db
parentb358e0e67fac397713bc00e0b8e0278d691af282
radv: fix a GPU hang with RADV_DEBUG=syncshaders

The GPU hangs when the driver forces a PS_PARTIAL_FLUSH after
a dispatch call (and vice versa for graphics). Something has
changed in the kernel driver because it used to work.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c