mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
nouveau: trigger the current fence's work on destroy explicitly
Otherwise the delete yells at us that there's still work pending. This isn't an actual problem, but annoying to see each time. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8462>
This commit is contained in:
parent
3b265e828f
commit
f9237619d3
1 changed files with 4 additions and 1 deletions
|
|
@ -120,7 +120,10 @@ nouveau_fence_cleanup(struct nouveau_screen *screen)
|
|||
}
|
||||
screen->fence.head = NULL;
|
||||
screen->fence.tail = NULL;
|
||||
nouveau_fence_ref(NULL, &screen->fence.current);
|
||||
if (screen->fence.current) {
|
||||
nouveau_fence_trigger_work(screen->fence.current);
|
||||
nouveau_fence_ref(NULL, &screen->fence.current);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue