projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f89a0
)
freedreno/drm: Allow submit merging with explicit sync
author
Rob Clark
<robdclark@chromium.org>
Sat, 3 Dec 2022 16:23:05 +0000
(08:23 -0800)
committer
Marge Bot
<emma+marge@anholt.net>
Sat, 17 Dec 2022 19:14:12 +0000
(19:14 +0000)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20263>
src/freedreno/drm/freedreno_ringbuffer_sp.c
patch
|
blob
|
history
diff --git
a/src/freedreno/drm/freedreno_ringbuffer_sp.c
b/src/freedreno/drm/freedreno_ringbuffer_sp.c
index
2c80282
..
b707a10
100644
(file)
--- a/
src/freedreno/drm/freedreno_ringbuffer_sp.c
+++ b/
src/freedreno/drm/freedreno_ringbuffer_sp.c
@@
-297,6
+297,12
@@
fd_submit_sp_flush(struct fd_submit *submit, int in_fence_fd,
bool has_shared = fd_submit_sp_flush_prep(submit, in_fence_fd, out_fence);
+ /* The rule about skipping submit merging with shared buffers is only
+ * needed for implicit-sync.
+ */
+ if (pipe->no_implicit_sync)
+ has_shared = false;
+
assert(fd_fence_before(pipe->last_enqueue_fence, submit->fence));
pipe->last_enqueue_fence = submit->fence;