X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fradeon%2Fr600_query.c;h=c7b2d946a918dbd2e717c9ab48aaf79640480074;hb=fa09388704fd413c0d53397b46293af03d73ddb6;hp=aa23aac0f7e7f7b2b0e8d0df8e51c4603873dea3;hpb=85e75b2da5c4ef2ca02417024b154cc24d153a13;p=mesa.git diff --git a/src/gallium/drivers/radeon/r600_query.c b/src/gallium/drivers/radeon/r600_query.c index aa23aac0f7e..c7b2d946a91 100644 --- a/src/gallium/drivers/radeon/r600_query.c +++ b/src/gallium/drivers/radeon/r600_query.c @@ -801,7 +801,7 @@ static void r600_query_hw_emit_start(struct r600_common_context *ctx, r600_update_occlusion_query_state(ctx, query->b.type, 1); si_update_prims_generated_query_state((void*)ctx, query->b.type, 1); - si_need_cs_space((struct si_context*)ctx); + si_need_gfx_cs_space((struct si_context*)ctx); /* Get a new query buffer if needed. */ if (query->buffer.results_end + query->result_size > query->buffer.buf->b.b.width0) { @@ -898,7 +898,7 @@ static void r600_query_hw_emit_stop(struct r600_common_context *ctx, /* The queries which need begin already called this in begin_query. */ if (query->flags & R600_QUERY_HW_FLAG_NO_START) - si_need_cs_space((struct si_context*)ctx); + si_need_gfx_cs_space((struct si_context*)ctx); /* emit end query */ va = query->buffer.buf->gpu_address + query->buffer.results_end; @@ -1844,7 +1844,7 @@ void si_resume_queries(struct r600_common_context *ctx) assert(ctx->num_cs_dw_queries_suspend == 0); /* Check CS space here. Resuming must not be interrupted by flushes. */ - si_need_cs_space((struct si_context*)ctx); + si_need_gfx_cs_space((struct si_context*)ctx); LIST_FOR_EACH_ENTRY(query, &ctx->active_queries, list) { r600_query_hw_emit_start(ctx, query);