diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-10-24 15:27:12 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-10-28 11:00:07 +0000 |
commit | 020600b77dfc179d99bb3d088927dcdf6d432cfe (patch) | |
tree | 8b194ab641952afbbeea31e8d35d79baa5d6f0c2 /tests/gem_ctx_create.c | |
parent | d71ecdbf5de0bb95551c6a5def4d42e85b4d6616 (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.c | 2 |
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)) { |