Revert "radv: do not emit PKT3_CONTEXT_CONTROL with AMDGPU 3.6.0+"
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 12:40:51 +0000 (14:40 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 13:58:34 +0000 (15:58 +0200)
commit4a3bdc6d229a4c5f550f25c34253d9cba8ce93ef
tree6152692ede9d0617fd61153f565c4bc3b9c8f206
parent39d7cb36ffa37c535479331dadc7c777036ffb2f
Revert "radv: do not emit PKT3_CONTEXT_CONTROL with AMDGPU 3.6.0+"

This reverts commit 2ca8629fa9b303e24783b76a7b3b0c2513e32fbd.

This was initially ported from RadeonSI, but in the meantime it has
been reverted because it might hang. Be conservative and re-introduce
this packet emission.

Unfortunately this doesn't fix anything known.

Cc: 19.2 <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_device.c
src/amd/vulkan/si_cmd_buffer.c