aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Grodzovsky2017-11-24 14:19:09 -0600
committerAndrey Grodzovsky2017-11-30 13:51:12 -0600
commitbc21168fa924d3fc4a000492e861f50a1a135b25 (patch)
tree3cd56f6c934e85f709e16db650504a341793ccad /amdgpu/amdgpu_asic_id.c
parentf71e95108de9a414226b0421ae2af99902ea28a5 (diff)
downloadexternal-libdrm-bc21168fa924d3fc4a000492e861f50a1a135b25.tar.gz
external-libdrm-bc21168fa924d3fc4a000492e861f50a1a135b25.tar.xz
external-libdrm-bc21168fa924d3fc4a000492e861f50a1a135b25.zip
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>
Diffstat (limited to 'amdgpu/amdgpu_asic_id.c')
0 files changed, 0 insertions, 0 deletions