mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: use a fence for pipeline cache update jobs
otherwise there's nothing to wait on
cc: mesa-stable
Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15226>
(cherry picked from commit 382798ddbd)
This commit is contained in:
parent
5f326287c9
commit
eadc089854
2 changed files with 2 additions and 2 deletions
|
|
@ -490,7 +490,7 @@
|
|||
"description": "zink: use a fence for pipeline cache update jobs",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ zink_screen_update_pipeline_cache(struct zink_screen *screen, struct zink_progra
|
|||
if (!screen->disk_cache)
|
||||
return;
|
||||
|
||||
util_queue_add_job(&screen->cache_put_thread, pg, NULL, cache_put_job, NULL, 0);
|
||||
util_queue_add_job(&screen->cache_put_thread, pg, &pg->cache_fence, cache_put_job, NULL, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue