From a48a376bc5c34f76e038cc4d63ba8e25f9e0a6e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 16 Jul 2024 02:00:18 -0400 Subject: [PATCH] radeonsi: test more alignment cases in si_test_dma_perf Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- .../drivers/radeonsi/si_test_dma_perf.c | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_test_dma_perf.c b/src/gallium/drivers/radeonsi/si_test_dma_perf.c index 5f84a4e647e..4f6c2270260 100644 --- a/src/gallium/drivers/radeonsi/si_test_dma_perf.c +++ b/src/gallium/drivers/radeonsi/si_test_dma_perf.c @@ -60,6 +60,16 @@ enum { ALIGN_4, ALIGN_2, ALIGN_1, + ALIGN_SRC128, + ALIGN_SRC64, + ALIGN_SRC4, + ALIGN_SRC2, + ALIGN_SRC1, + ALIGN_DST128, + ALIGN_DST64, + ALIGN_DST4, + ALIGN_DST2, + ALIGN_DST1, ALIGN_SRC4_DST2, ALIGN_SRC4_DST1, ALIGN_SRC2_DST4, @@ -83,6 +93,16 @@ static const struct align_info_t align_info[] = { [ALIGN_4] = {"both=4", 4, 4}, [ALIGN_2] = {"both=2", 2, 2}, [ALIGN_1] = {"both=1", 1, 1}, + [ALIGN_SRC128] = {"src=128", 128, 0}, + [ALIGN_SRC64] = {"src=64", 64, 0}, + [ALIGN_SRC4] = {"src=4", 4, 0}, + [ALIGN_SRC2] = {"src=2", 2, 0}, + [ALIGN_SRC1] = {"src=1", 1, 0}, + [ALIGN_DST128] = {"dst=128", 0, 128}, + [ALIGN_DST64] = {"dst=64", 0, 64}, + [ALIGN_DST4] = {"dst=4", 0, 4}, + [ALIGN_DST2] = {"dst=2", 0, 2}, + [ALIGN_DST1] = {"dst=1", 0, 1}, [ALIGN_SRC4_DST2] = {"src=4 dst=2", 4, 2}, [ALIGN_SRC4_DST1] = {"src=4 dst=1", 4, 1}, [ALIGN_SRC2_DST4] = {"src=2 dst=4", 2, 4},