mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 04:40:22 +01:00
freedreno/drm: Allow submit merging with explicit sync
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20263>
This commit is contained in:
parent
87f89a0383
commit
1bf88d0bf9
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue