etnaviv: drop redundant calls to etna_acc_query_suspend(..)
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 5 Apr 2020 19:42:10 +0000 (21:42 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 10 Apr 2020 12:42:24 +0000 (12:42 +0000)
Introduced by accident during rebase.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4456>

src/gallium/drivers/etnaviv/etnaviv_context.c

index 9f9c539a41303e43078242b9f5c9877511449616..4f8578aac78d786e7f99c0c215c45e42782d9ae5 100644 (file)
@@ -468,9 +468,6 @@ etna_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence,
 
    mtx_lock(&ctx->lock);
 
-   list_for_each_entry(struct etna_acc_query, aq, &ctx->active_acc_queries, node)
-      etna_acc_query_suspend(aq, ctx);
-
    list_for_each_entry(struct etna_acc_query, aq, &ctx->active_acc_queries, node)
       etna_acc_query_suspend(aq, ctx);