Mesa (main): zink: Disable TC syncs for get_device_reset_status()

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 4 20:24:01 UTC 2021


Module: Mesa
Branch: main
Commit: 53917ab403610a69b3c570c32c1ec841b17fe548
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53917ab403610a69b3c570c32c1ec841b17fe548

Author: Rob Clark <robdclark at chromium.org>
Date:   Mon Oct  4 11:25:44 2021 -0700

zink: Disable TC syncs for get_device_reset_status()

zmike said it should work.

Signed-off-by: Rob Clark <robdclark at chromium.org>
Mike Blumenkrantz <michael.blumenkrantz at gmail.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13163>

---

 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);



More information about the mesa-commit mailing list