radeonsi: rename SI_TEST_DMA to SI_TEST_BLIT

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7908>
This commit is contained in:
Marek Olšák
2020-12-08 16:50:03 -05:00
committed by Marge Bot
parent 1f31a21664
commit 21b97ef013
5 changed files with 9 additions and 9 deletions
@@ -45,7 +45,7 @@ C_SOURCES := \
si_state_streamout.c \
si_state_viewport.c \
si_state.h \
si_test_dma.c \
si_test_blit.c \
si_test_dma_perf.c \
si_texture.c \
si_uvd.c \
+1 -1
View File
@@ -65,7 +65,7 @@ files_libradeonsi = files(
'si_state_shaders.c',
'si_state_streamout.c',
'si_state_viewport.c',
'si_test_dma.c',
'si_test_blit.c',
'si_test_dma_perf.c',
'si_texture.c',
'si_uvd.c',
+3 -3
View File
@@ -119,7 +119,7 @@ static const struct debug_named_value debug_options[] = {
static const struct debug_named_value test_options[] = {
/* Tests: */
{"testdma", DBG(TEST_DMA), "Invoke blit tests and exit."},
{"blit", DBG(TEST_BLIT), "Invoke blit tests and exit."},
{"testvmfaultcp", DBG(TEST_VMFAULT_CP), "Invoke a CP VM fault test and exit."},
{"testvmfaultshader", DBG(TEST_VMFAULT_SHADER), "Invoke a shader VM fault test and exit."},
{"testdmaperf", DBG(TEST_DMA_PERF), "Test DMA performance"},
@@ -1288,8 +1288,8 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
sscreen->aux_context->set_log_context(sscreen->aux_context, log);
}
if (test_flags & DBG(TEST_DMA))
si_test_dma(sscreen);
if (test_flags & DBG(TEST_BLIT))
si_test_blit(sscreen);
if (test_flags & DBG(TEST_DMA_PERF)) {
si_test_dma_perf(sscreen);
+3 -3
View File
@@ -216,7 +216,7 @@ enum
enum
{
/* Tests: */
DBG_TEST_DMA,
DBG_TEST_BLIT,
DBG_TEST_VMFAULT_CP,
DBG_TEST_VMFAULT_SHADER,
DBG_TEST_DMA_PERF,
@@ -1479,8 +1479,8 @@ void *gfx10_create_sh_query_result_cs(struct si_context *sctx);
void gfx10_init_query(struct si_context *sctx);
void gfx10_destroy_query(struct si_context *sctx);
/* si_test_dma.c */
void si_test_dma(struct si_screen *sscreen);
/* si_test_blit.c */
void si_test_blit(struct si_screen *sscreen);
/* si_test_clearbuffer.c */
void si_test_dma_perf(struct si_screen *sscreen);
@@ -166,7 +166,7 @@ static unsigned generate_max_tex_side(unsigned max_tex_side)
}
}
void si_test_dma(struct si_screen *sscreen)
void si_test_blit(struct si_screen *sscreen)
{
struct pipe_screen *screen = &sscreen->b;
struct pipe_context *ctx = screen->context_create(screen, NULL, 0);