diff options
author | Marek Olšák <[email protected]> | 2018-04-01 14:18:17 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | 02a61e71a256ff06612b2afddac3ae216f0f65b1 (patch) | |
tree | 3200c7920a7172d7575cfdfc8fabd8e3eb9fdb81 /src/gallium/drivers/radeonsi | |
parent | fa09388704fd413c0d53397b46293af03d73ddb6 (diff) |
radeonsi: rename si_begin_new_cs -> si_begin_new_gfx_cs
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_hw_context.c | 8 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c b/src/gallium/drivers/radeonsi/si_hw_context.c index a97f2ecfc1f..6923e017cac 100644 --- a/src/gallium/drivers/radeonsi/si_hw_context.c +++ b/src/gallium/drivers/radeonsi/si_hw_context.c @@ -152,11 +152,11 @@ void si_flush_gfx_cs(void *context, unsigned flags, if (ctx->current_saved_cs) si_saved_cs_reference(&ctx->current_saved_cs, NULL); - si_begin_new_cs(ctx); + si_begin_new_gfx_cs(ctx); ctx->gfx_flush_in_progress = false; } -static void si_begin_cs_debug(struct si_context *ctx) +static void si_begin_gfx_cs_debug(struct si_context *ctx) { static const uint32_t zeros[1]; assert(!ctx->current_saved_cs); @@ -186,10 +186,10 @@ static void si_begin_cs_debug(struct si_context *ctx) RADEON_USAGE_READWRITE, RADEON_PRIO_TRACE); } -void si_begin_new_cs(struct si_context *ctx) +void si_begin_new_gfx_cs(struct si_context *ctx) { if (ctx->is_debug) - si_begin_cs_debug(ctx); + si_begin_gfx_cs_debug(ctx); /* Flush read caches at the beginning of CS not flushed by the kernel. */ if (ctx->b.chip_class >= CIK) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 25aea06f9fb..21b97437618 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -332,7 +332,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, sctx->sample_mask.sample_mask = 0xffff; /* these must be last */ - si_begin_new_cs(sctx); + si_begin_new_gfx_cs(sctx); if (sctx->b.chip_class >= GFX9) { sctx->wait_mem_scratch = (struct r600_resource*) diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 2c40866d90f..a9b706bb41b 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -731,7 +731,7 @@ void si_init_screen_get_functions(struct si_screen *sscreen); void si_destroy_saved_cs(struct si_saved_cs *scs); void si_flush_gfx_cs(void *context, unsigned flags, struct pipe_fence_handle **fence); -void si_begin_new_cs(struct si_context *ctx); +void si_begin_new_gfx_cs(struct si_context *ctx); void si_need_gfx_cs_space(struct si_context *ctx); /* si_compute.c */ |