return true;
}
-static struct si_query_ops batch_query_ops = {
+static const struct si_query_ops batch_query_ops = {
.destroy = si_pc_query_destroy,
.begin = si_pc_query_begin,
.end = si_pc_query_end,
#define SI_MAX_STREAMS 4
-static struct si_query_ops query_hw_ops;
+static const struct si_query_ops query_hw_ops;
struct si_hw_query_params {
unsigned start_offset;
}
-static struct si_query_ops sw_query_ops = {
+static const struct si_query_ops sw_query_ops = {
.destroy = si_query_sw_destroy,
.begin = si_query_sw_begin,
.end = si_query_sw_end,
si_query_hw_emit_start(sctx, (struct si_query_hw *)query);
}
-static struct si_query_ops query_hw_ops = {
+static const struct si_query_ops query_hw_ops = {
.destroy = si_query_hw_destroy,
.begin = si_query_hw_begin,
.end = si_query_hw_end,