Commit 68c5d538 authored by Chris Wilson's avatar Chris Wilson

igt/vgem_basic: Check multiple clients can open /dev/dri/<vgem>

Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 8453d4bb
......@@ -32,6 +32,12 @@
IGT_TEST_DESCRIPTION("Basic sanity check of Virtual GEM module (vGEM).");
static void test_client(int fd)
{
close(drm_open_driver(DRIVER_VGEM));
close(drm_open_driver_render(DRIVER_VGEM));
}
static void test_create(int fd)
{
struct vgem_bo bo;
......@@ -218,6 +224,9 @@ igt_main
fd = drm_open_driver(DRIVER_VGEM);
}
igt_subtest_f("second-client")
test_client(fd);
igt_subtest_f("create")
test_create(fd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment