nv50: remove nv50_bufctx_fence call in vbo_kick_notify
authorKarol Herbst <kherbst@redhat.com>
Sat, 3 Jul 2021 08:01:52 +0000 (10:01 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Aug 2022 23:08:19 +0000 (23:08 +0000)
No idea why it is there. nvc0 doesn't do anything like it and it doesn't
regress any tests. Also removing is easier than handling the fence locking
inside the kick notify handler.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10752>

src/gallium/drivers/nouveau/nv50/nv50_vbo.c

index 8c73423..b8ea652 100644 (file)
@@ -752,8 +752,6 @@ nv50_draw_vbo_kick_notify(struct nouveau_pushbuf *chan)
    struct nv50_screen *screen = chan->user_priv;
 
    nouveau_fence_update(&screen->base, true);
-
-   nv50_bufctx_fence(screen->cur_ctx->bufctx_3d, true);
 }
 
 void