tests: Add one ring sync case based on multi drm_fd to test ring semaphore sync under...
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 24 Apr 2014 02:15:44 +0000 (10:15 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Apr 2014 09:32:07 +0000 (11:32 +0200)
commitae8e646127715e816376c6324c9109331bad6503
treeeeecbb033cbf0f0e255842b16c1175dc38a82c2d
parentcd3850e28e5ec83dc15462b965310794effb71b1
tests: Add one ring sync case based on multi drm_fd to test ring semaphore sync under multi BSD rings

The Broadwell GT3 machine has two independent BSD rings in kernel driver while
it is transparent to the user-space driver. In such case it needs to check
the ring sync between the two BSD rings. At the same time it also needs to
check the sync among the second BSD ring and the other rings.

V2->V3: Follow Imre's comment to remove the unnecessary initialization and
use igt_assert_f instead of igt_assert.

V3->V4: Add gem_multi_bsd_sync_loop.c into the tests/.gitignore

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/.gitignore
tests/Makefile.sources
tests/gem_multi_bsd_sync_loop.c [new file with mode: 0644]