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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user