public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH I-g-t V2 0/2] Tests: Add test cases based on multi drm_fd to test sync
@ 2014-04-15  2:38 Zhao Yakui
  2014-04-15  2:38 ` [PATCH I-g-t V2 1/2] tests: Add one ring sync case based on multi drm_fd to test ring semaphore sync under multi BSD rings Zhao Yakui
  2014-04-15  2:38 ` [PATCH I-g-t V2 2/2] tests/gem_dummy_reloc_loop: Add one subtest based on multi drm_fd to test CPU<->GPU " Zhao Yakui
  0 siblings, 2 replies; 10+ messages in thread
From: Zhao Yakui @ 2014-04-15  2:38 UTC (permalink / raw)
  To: intel-gfx

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-04-23  9:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15  2:38 [PATCH I-g-t V2 0/2] Tests: Add test cases based on multi drm_fd to test sync Zhao Yakui
2014-04-15  2:38 ` [PATCH I-g-t V2 1/2] tests: Add one ring sync case based on multi drm_fd to test ring semaphore sync under multi BSD rings Zhao Yakui
2014-04-22 11:52   ` Imre Deak
2014-04-22 19:44     ` Daniel Vetter
2014-04-23  1:13       ` Zhao Yakui
2014-04-23  9:17         ` Imre Deak
2014-04-15  2:38 ` [PATCH I-g-t V2 2/2] tests/gem_dummy_reloc_loop: Add one subtest based on multi drm_fd to test CPU<->GPU " Zhao Yakui
2014-04-22 12:05   ` Imre Deak
2014-04-22 19:48     ` Daniel Vetter
2014-04-23  0:26       ` Zhao Yakui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox