Skip to content
Snippets Groups Projects
Commit f3d2fade authored by Rob Clark's avatar Rob Clark :speech_balloon: Committed by Marge Bot
Browse files

freedreno: Fix TC last_fence optimization

Grabbing the fence value in fd_fence_repopulate() without waiting on
fd_submit_fence::ready doesn't work with async flushes, since we are
waiting for the first flush to complete (ie. we don't have the kernel-
side fence value yet).  Just simplify it and make the "repopulated"
fence delagate to the original fence.

Fixes: e9a9ac6f ("freedreno/drm: Async submit support")
Closes: #4726


Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Part-of: <!10567>
parent c554757b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment