[Mesa-dev] [PATCH] radv: also fixup event emission to not get culled.
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Wed Feb 15 00:30:04 UTC 2017
r-b for now.
On Wed, Feb 15, 2017, at 01:16, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This is possibly a bad idea, I might have to consider a better one.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
> src/amd/vulkan/radv_cmd_buffer.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/amd/vulkan/radv_cmd_buffer.c
> b/src/amd/vulkan/radv_cmd_buffer.c
> index 681b5a3..4269186 100644
> --- a/src/amd/vulkan/radv_cmd_buffer.c
> +++ b/src/amd/vulkan/radv_cmd_buffer.c
> @@ -2890,6 +2890,7 @@ static void write_event(struct radv_cmd_buffer
> *cmd_buffer,
> uint64_t va = cmd_buffer->device->ws->buffer_get_va(event->bo);
>
> cmd_buffer->device->ws->cs_add_buffer(cs, event->bo, 8);
> + cmd_buffer->no_draws = false;
>
> MAYBE_UNUSED unsigned cdw_max = radeon_check_space(cmd_buffer->device->ws, cs, 12);
>
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list