radv: allocate more space in the CS when emitting events
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 28 May 2019 10:58:05 +0000 (12:58 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 28 May 2019 14:56:17 +0000 (16:56 +0200)
commit47a10edefb3510d1cae071037dac78a46b31949b
treed2699a3a1a255792f3e6a8fd313342f124499659
parent6a9e39d44b06076d6ff444b59f2b39ffe222cd2d
radv: allocate more space in the CS when emitting events

If the driver waits for CP DMA to be idle and emit an EOP event
we need more space.

This fixes a crash with Quake Champions.

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