tu: Rename tu_query.cc/h to tu_query_pool.cc/h

Match the structure of the common Vulkan runtime and NVK.
Additionally update a comment to reflect the current state.

Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29441>
This commit is contained in:
Valentine Burley
2024-05-28 18:43:12 +02:00
committed by Marge Bot
parent d8ebc632eb
commit 45a3c2d197
5 changed files with 9 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ libtu_files = files(
'tu_pass.cc', 'tu_pass.cc',
'tu_pipeline.cc', 'tu_pipeline.cc',
'tu_sampler.cc', 'tu_sampler.cc',
'tu_query.cc', 'tu_query_pool.cc',
'tu_rmv.cc', 'tu_rmv.cc',
'tu_shader.cc', 'tu_shader.cc',
'tu_suballoc.cc', 'tu_suballoc.cc',

View File

@@ -38,7 +38,7 @@
#include "tu_dynamic_rendering.h" #include "tu_dynamic_rendering.h"
#include "tu_image.h" #include "tu_image.h"
#include "tu_pass.h" #include "tu_pass.h"
#include "tu_query.h" #include "tu_query_pool.h"
#include "tu_rmv.h" #include "tu_rmv.h"
#include "tu_tracepoints.h" #include "tu_tracepoints.h"
#include "tu_wsi.h" #include "tu_wsi.h"

View File

@@ -6,7 +6,7 @@
* Copyright © 2015 Intel Corporation * Copyright © 2015 Intel Corporation
*/ */
#include "tu_query.h" #include "tu_query_pool.h"
#include <fcntl.h> #include <fcntl.h>
@@ -989,7 +989,8 @@ emit_begin_perf_query(struct tu_cmd_buffer *cmdbuf,
* See emit_perfcntrs_pass_start. * See emit_perfcntrs_pass_start.
* 2) Pick the right cs setting proper pass index to the reg and prepend * 2) Pick the right cs setting proper pass index to the reg and prepend
* it to the command buffer at each submit time. * it to the command buffer at each submit time.
* See tu_QueueSubmit in tu_drm.c * See tu_queue_build_msm_gem_submit_cmds in tu_knl_drm_msm.cc and
* tu_knl_drm_virtio.cc and kgsl_queue_submit in tu_knl_kgsl.cc
* 3) If the pass index in the reg is true, then executes the command * 3) If the pass index in the reg is true, then executes the command
* stream below CP_COND_REG_EXEC. * stream below CP_COND_REG_EXEC.
*/ */

View File

@@ -7,8 +7,8 @@
* Copyright © 2015 Intel Corporation * Copyright © 2015 Intel Corporation
*/ */
#ifndef TU_QUERY_H #ifndef TU_QUERY_POOL_H
#define TU_QUERY_H #define TU_QUERY_POOL_H
#include "tu_common.h" #include "tu_common.h"
@@ -42,4 +42,4 @@ struct tu_query_pool
VK_DEFINE_NONDISP_HANDLE_CASTS(tu_query_pool, base, VkQueryPool, VK_DEFINE_NONDISP_HANDLE_CASTS(tu_query_pool, base, VkQueryPool,
VK_OBJECT_TYPE_QUERY_POOL) VK_OBJECT_TYPE_QUERY_POOL)
#endif /* TU_QUERY_H */ #endif /* TU_QUERY_POOL_H */

View File

@@ -11,7 +11,7 @@
#include "tu_device.h" #include "tu_device.h"
#include "tu_event.h" #include "tu_event.h"
#include "tu_image.h" #include "tu_image.h"
#include "tu_query.h" #include "tu_query_pool.h"
#include <cstdio> #include <cstdio>