mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 15:10:12 +01:00
zink: Fix missing sparse buffer bind synchronization.
goto oopsies. Fixes:d1456a6b0a("zink: add semaphore handling for sparse binds") Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26171> (cherry picked from commit3ee283e455)
This commit is contained in:
parent
61bd4b332b
commit
c573f2437d
2 changed files with 2 additions and 2 deletions
|
|
@ -1314,7 +1314,7 @@
|
|||
"description": "zink: Fix missing sparse buffer bind synchronization.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d1456a6b0ad0dee9936caa52c9fd915c4bfaa61b",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -959,7 +959,7 @@ zink_bo_commit(struct zink_screen *screen, struct zink_resource *res, unsigned l
|
|||
simple_mtx_lock(&screen->queue_lock);
|
||||
simple_mtx_lock(&bo->lock);
|
||||
if (res->base.b.target == PIPE_BUFFER) {
|
||||
ok = buffer_bo_commit(screen, res, box->x, box->width, commit, sem);
|
||||
ok = buffer_bo_commit(screen, res, box->x, box->width, commit, &cur_sem);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue