tests/gem_dummy_reloc_loop: Add one subtest based on multi drm_fd to test CPU<->GPU...
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 24 Apr 2014 02:15:45 +0000 (10:15 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Apr 2014 09:32:07 +0000 (11:32 +0200)
commit5a8c06464e025495f0b9143dbcec76f02354d58a
tree2e3ca3f0c9c4a87ee1ecab9134e21cc36605c663
parentae8e646127715e816376c6324c9109331bad6503
tests/gem_dummy_reloc_loop: Add one subtest based on multi drm_fd to test CPU<->GPU 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 CPU<->GPU sync for the second BSD ring.

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.

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

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/gem_dummy_reloc_loop.c