From e5053060ebe1362b8aa6cdf60184a6fae49e025e Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 1 Apr 2018 15:37:11 -0400 Subject: radeonsi: use r600_common_context less pt5 Acked-by: Timothy Arceri --- src/gallium/drivers/radeonsi/si_gfx_cs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/radeonsi/si_gfx_cs.c') diff --git a/src/gallium/drivers/radeonsi/si_gfx_cs.c b/src/gallium/drivers/radeonsi/si_gfx_cs.c index dc52371e14f..3e907cab7a3 100644 --- a/src/gallium/drivers/radeonsi/si_gfx_cs.c +++ b/src/gallium/drivers/radeonsi/si_gfx_cs.c @@ -94,7 +94,7 @@ void si_flush_gfx_cs(struct si_context *ctx, unsigned flags, ctx->gfx_flush_in_progress = true; if (!LIST_IS_EMPTY(&ctx->b.active_queries)) - si_suspend_queries(&ctx->b); + si_suspend_queries(ctx); ctx->streamout.suspended = false; if (ctx->streamout.begin_emitted) { @@ -272,7 +272,7 @@ void si_begin_new_gfx_cs(struct si_context *ctx) } if (!LIST_IS_EMPTY(&ctx->b.active_queries)) - si_resume_queries(&ctx->b); + si_resume_queries(ctx); assert(!ctx->b.gfx_cs->prev_dw); ctx->b.initial_gfx_cs_size = ctx->b.gfx_cs->current.cdw; -- cgit v1.2.3