radeonsi: update the DMA perf test
authorMarek Olšák <marek.olsak@amd.com>
Mon, 5 Oct 2020 04:55:55 +0000 (00:55 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 9 Oct 2020 23:13:40 +0000 (23:13 +0000)
commit7a0162905b157fd0ea8f2489eb52ebbd6224a717
tree4c1a4d904830cf560527b4677ba21071c0533cba
parent4182fbcb6093b062f0f26182e785a9e4096c5a92
radeonsi: update the DMA perf test

- don't test 2 waves/SA
- create the compute shader only once per subtest
- use only 1 TIME_ELAPSED query per subtest
- don't invalidate sL0 (it's not used)
- don't invalidate L2 for L2_LRU to test L2 throughput
- don't flush the CS after every run
- remove unused min/max computation

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7055>
src/gallium/drivers/radeonsi/si_test_dma_perf.c