This follows Daniel's advice to add the two test cases based on multi drm_fd to
test the ring sync and CPU<->GPU sync.
The Broadwell GT3 machine has two independent BSD rings that can be used
to process the video commands. This is implemented in kernel driver and
transparent
to the user-space. But we still need to check the ring sync and CPU<->GPU sync
for
the second BSD ring. Two tests are created based on the multi drm_fds to
test the sync. Multi drm_fd can assure that the second BSD ring has the
opportunity
to dispatch the GPU command.
V1->V2: Follow Daniel's comment to add one subtext instead of one individual
test case, which is used to test the CPU<->GPU sync under multi BSD rings/
Zhao Yakui (2):
tests: Add one ring sync case based on multi drm_fd to test ring
semaphore sync under multi BSD rings
tests/gem_dummy_reloc_loop: Add one subtest based on multi drm_fd to
test CPU<->GPU sync under multi BSD rings
tests/Makefile.sources | 1 +
tests/gem_dummy_reloc_loop.c | 102 ++++++++++++++++++++++-
tests/gem_multi_bsd_sync_loop.c | 172 +++++++++++++++++++++++++++++++++++++++
3 files changed, 274 insertions(+), 1 deletion(-)
create mode 100644 tests/gem_multi_bsd_sync_loop.c
--
1.7.10.1
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx