Mesa (main): gallium/u_threaded: Missing driver-thread marking
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 10 02:36:05 UTC 2021
Module: Mesa
Branch: main
Commit: 256938e2a1a15783028668e456a6e75c801432e5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=256938e2a1a15783028668e456a6e75c801432e5
Author: Rob Clark <robdclark at chromium.org>
Date: Tue Jun 8 15:09:57 2021 -0700
gallium/u_threaded: Missing driver-thread marking
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11200>
---
src/gallium/auxiliary/util/u_threaded_context.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c
index e69eb888ddd..0351c9a0b10 100644
--- a/src/gallium/auxiliary/util/u_threaded_context.c
+++ b/src/gallium/auxiliary/util/u_threaded_context.c
@@ -2498,7 +2498,9 @@ tc_emit_string_marker(struct pipe_context *_pipe,
struct pipe_context *pipe = tc->pipe;
tc_sync(tc);
+ tc_set_driver_thread(tc);
pipe->emit_string_marker(pipe, string, len);
+ tc_clear_driver_thread(tc);
}
}
More information about the mesa-commit
mailing list