drm/tests/amdgpu
Andrey Grodzovsky bc21168fa9 amdgpu: Add explicit dependency test.
The test is as following:

1) Create context A & B
2) Send a command submission using context A which fires up a compute shader.
3) The shader wait a bit and then write a value to a memory location.
4) Send a command submission using context B which writes another value to the same memory location, but having an explicit dependency on the first command submission.
5) Wait with the CPU for both submissions to finish and inspect the written value.

Test passes if the value seen in the memory location after both submissions is from command B.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
2017-11-30 14:51:12 -05:00
..
Makefile.am amdgpu: Add VMID reservation per GPU context test. 2017-10-27 18:26:08 +02:00
amdgpu_test.c amdgpu: Add explicit dependency test. 2017-11-30 14:51:12 -05:00
amdgpu_test.h amdgpu: Switch amdgpu CS tests enabling to the new way. 2017-11-29 10:31:00 -05:00
basic_tests.c amdgpu: Add explicit dependency test. 2017-11-30 14:51:12 -05:00
bo_tests.c amdgpu: Dynamicly disable BO suite "Metadata" test. 2017-11-29 10:31:10 -05:00
cs_tests.c amdgpu: Switch amdgpu CS tests enabling to the new way. 2017-11-29 10:31:00 -05:00
deadlock_tests.c amdgpu: Disable deadlock test suite for Vega 10 2017-11-15 23:28:45 -05:00
decode_messages.h tests/amdgpu: implement vcn dec unit tests 2017-06-05 10:41:13 -04:00
frame.h tests/amdgpu: add uvd encode unit tests 2017-08-16 16:16:50 -04:00
uvd_enc_tests.c amdgpu: Use new suite/test disabling functionality. 2017-11-13 18:20:22 +01:00
uve_ib.h tests/amdgpu: fix uvd enc data corruption issue 2017-10-06 09:40:06 -04:00
vce_ib.h tests/amdgpu: update vce encRefPic addr mode to tiled 2016-09-30 14:28:03 -04:00
vce_tests.c amdgpu: Use new suite/test disabling functionality. 2017-11-13 18:20:22 +01:00
vcn_tests.c amdgpu: Use new suite/test disabling functionality. 2017-11-13 18:20:22 +01:00
vm_tests.c amdgpu: Fix wrappers for AMDGPU_VM IOCTL. 2017-11-03 13:07:30 +01:00