drm/tests
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
..
amdgpu amdgpu: Add explicit dependency test. 2017-11-30 14:51:12 -05:00
etnaviv tests/etnaviv: link against libdrm 2017-04-03 17:57:22 +01:00
exynos exynos: change the license to X11/MIT 2017-11-07 11:19:58 +00:00
kms tests: kms: fix shadowed declaration warning 2016-11-22 13:54:31 +00:00
kmstest tests/kmstest: inverse the order of LDADD libraries 2016-01-27 23:12:09 +00:00
modeprint tests: Split helpers into library 2015-12-18 17:43:40 +00:00
modetest modetest: Allow full testing of primary planes 2017-10-19 19:16:16 +03:00
nouveau tests: Use -pthread in CFLAGS instead of -lpthread 2017-01-27 16:18:02 +00:00
proptest android: introduce Android.common.mk to reduce boilerplate 2017-01-27 15:48:16 +00:00
radeon drm: consolidate common list implementations (v2) 2015-08-05 13:47:48 -04:00
tegra autotools: add WARN_CFLAGS to all targets 2015-02-27 15:51:24 +00:00
ttmtest Purge macro NEED_REPLIES 2010-07-01 13:12:55 -06:00
util Add the DPI encoder/connector types to KMS utils. 2017-04-25 16:10:38 -07:00
vbltest tests: Include poll.h rather than sys/poll.h 2016-01-26 21:50:17 +00:00
Android.mk android: simplify the including rule of subdirs 2015-03-20 17:07:21 +00:00
Makefile.am tests: automake: reorder makefile contents 2016-12-05 17:24:32 +00:00
drmdevice.c tests/drmdevice: Add USB, platform and host1x support 2017-01-20 16:27:33 +01:00
drmsl.c drmsltest: Check expected neighbours 2017-08-21 13:05:13 +01:00
hash.c tests/hash: return non-zero on failure 2015-04-05 15:33:06 +01:00
random.c tests/random: return non-zero on test failure 2015-04-05 15:33:33 +01:00