r-b

On Tue, May 28, 2019 at 12:54 PM Samuel Pitoiset
<[email protected]> wrote:
>
> 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: <[email protected]>
> Signed-off-by: Samuel Pitoiset <[email protected]>
> ---
>  src/amd/vulkan/radv_cmd_buffer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/amd/vulkan/radv_cmd_buffer.c 
> b/src/amd/vulkan/radv_cmd_buffer.c
> index 43730f0568c..0e9c1894a40 100644
> --- a/src/amd/vulkan/radv_cmd_buffer.c
> +++ b/src/amd/vulkan/radv_cmd_buffer.c
> @@ -4782,7 +4782,7 @@ static void write_event(struct radv_cmd_buffer 
> *cmd_buffer,
>
>         radv_cs_add_buffer(cmd_buffer->device->ws, cs, event->bo);
>
> -       MAYBE_UNUSED unsigned cdw_max = 
> radeon_check_space(cmd_buffer->device->ws, cs, 18);
> +       MAYBE_UNUSED unsigned cdw_max = 
> radeon_check_space(cmd_buffer->device->ws, cs, 21);
>
>         /* Flags that only require a top-of-pipe event. */
>         VkPipelineStageFlags top_of_pipe_flags =
> --
> 2.21.0
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to