mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radeonsi: don't test SDMA perf if SDMA is disabled/unsupported
This commit is contained in:
parent
993bf52977
commit
ec0956a194
1 changed files with 3 additions and 0 deletions
|
|
@ -112,6 +112,9 @@ void si_test_dma_perf(struct si_screen *sscreen)
|
|||
unsigned cs_dwords_per_thread =
|
||||
test_cs ? cs_dwords_per_thread_list[cs_method % NUM_SHADERS] : 0;
|
||||
|
||||
if (test_sdma && !sctx->dma_cs)
|
||||
continue;
|
||||
|
||||
if (sctx->chip_class == GFX6) {
|
||||
/* GFX6 doesn't support CP DMA operations through L2. */
|
||||
if (test_cp && cache_policy != L2_BYPASS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue