summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_create.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-10-24 15:27:12 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2013-10-28 11:00:07 +0000
commit020600b77dfc179d99bb3d088927dcdf6d432cfe (patch)
tree8b194ab641952afbbeea31e8d35d79baa5d6f0c2 /tests/gem_ctx_create.c
parentd71ecdbf5de0bb95551c6a5def4d42e85b4d6616 (diff)
tests: Convert the ctx test to use render nodes when possible
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/gem_ctx_create.c')
-rw-r--r--tests/gem_ctx_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_create.c b/tests/gem_ctx_create.c
index f22522b8..1d9ff86c 100644
--- a/tests/gem_ctx_create.c
+++ b/tests/gem_ctx_create.c
@@ -47,7 +47,7 @@ int main(int argc, char *argv[])
create.ctx_id = rand();
create.pad = rand();
- fd = drm_open_any();
+ fd = drm_open_any_render();
ret = drmIoctl(fd, CONTEXT_CREATE_IOCTL, &create);
if (ret != 0 && (errno == ENODEV || errno == EINVAL)) {