summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_gfx_cs.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 15:37:11 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commite5053060ebe1362b8aa6cdf60184a6fae49e025e (patch)
tree92b850ffaba9aaa051d3e6ebcf0dc8e26da239e1 /src/gallium/drivers/radeonsi/si_gfx_cs.c
parent884fd97f6b83ac674f158e843941cbea3ca6582b (diff)
radeonsi: use r600_common_context less pt5
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_gfx_cs.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_gfx_cs.c4
1 files changed, 2 insertions, 2 deletions
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;