From 53917ab403610a69b3c570c32c1ec841b17fe548 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 4 Oct 2021 11:25:44 -0700 Subject: [PATCH] zink: Disable TC syncs for get_device_reset_status() zmike said it should work. Signed-off-by: Rob Clark Mike Blumenkrantz Part-of: --- src/gallium/drivers/zink/zink_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index efa1e3764ad..952dd6ea428 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -4215,7 +4215,7 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) struct threaded_context *tc = (struct threaded_context*)threaded_context_create(&ctx->base, &screen->transfer_pool, zink_context_replace_buffer_storage, zink_create_tc_fence_for_tc, - zink_context_is_resource_busy, true, false, &ctx->tc); + zink_context_is_resource_busy, true, true, &ctx->tc); if (tc && (struct zink_context*)tc != ctx) { threaded_context_init_bytes_mapped_limit(tc, 4);