From 51885bba644b51a541167ed1c628e5599a2bea1e Mon Sep 17 00:00:00 2001 From: Yogesh Mohan Marimuthu Date: Fri, 5 Jul 2024 13:39:39 +0530 Subject: [PATCH] radeonsi: rename query_hw_ops to hw_query_ops match sw MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/gallium/drivers/radeonsi/si_query.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_query.c b/src/gallium/drivers/radeonsi/si_query.c index 6b7ba24d238..57d7a823696 100644 --- a/src/gallium/drivers/radeonsi/si_query.c +++ b/src/gallium/drivers/radeonsi/si_query.c @@ -16,7 +16,7 @@ #include "util/u_suballoc.h" #include "util/u_upload_mgr.h" -static const struct si_query_ops query_hw_ops; +static const struct si_query_ops hw_query_ops; static const struct si_query_ops sw_query_ops; struct si_hw_query_params { @@ -651,7 +651,7 @@ static struct pipe_query *si_query_hw_create(struct si_screen *sscreen, unsigned return NULL; query->b.type = query_type; - query->b.ops = &query_hw_ops; + query->b.ops = &hw_query_ops; switch (query_type) { case PIPE_QUERY_OCCLUSION_COUNTER: @@ -1927,7 +1927,7 @@ static int si_get_driver_query_group_info(struct pipe_screen *screen, unsigned i return 1; } -static const struct si_query_ops query_hw_ops = { +static const struct si_query_ops hw_query_ops = { .destroy = si_query_hw_destroy, .begin = si_query_hw_begin, .end = si_query_hw_end,