gallium/radeon: implement randomized SDMA texture copy testing (v2)
authorMarek Olšák <marek.olsak@amd.com>
Fri, 5 Sep 2014 18:15:16 +0000 (20:15 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 10 May 2016 15:20:09 +0000 (17:20 +0200)
commit3af28e558fb9cf71edd83e8cc9c3ddc33373cc93
tree769f4c6d59b9a1ec3e6c1cea3b90bfea17d4be88
parentf475c9fb0708c312a4194558da36204becfafd35
gallium/radeon: implement randomized SDMA texture copy testing (v2)

v2: - adjustments for exercising all important SDMA code paths
    - decrease the probability of getting huge sizes (faster testing)
    - increase the probability of getting power-of-two dimensions
    - change the memory cap to 128MB (faster testing)
    - better detect which engine has been used

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/radeon/Makefile.sources
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_test_dma.c [new file with mode: 0644]
src/gallium/drivers/radeonsi/si_pipe.c