summaryrefslogtreecommitdiff
path: root/tests/syncobj_basic.c
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2019-11-22 15:02:51 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2019-11-23 22:26:47 +0000
commit20c6ad34cbb3ea96d316ed8e1169920a3f1ea911 (patch)
tree8b8cb08e056e263624a9ca1b569e0a455b31f616 /tests/syncobj_basic.c
parent360b11e511d98b6370134cff6e8ec3c434a65aee (diff)
lib/syncobj: drop local declarations
We have copies of the DRM uAPI headers in the repo, so drop the local declaration of syncobj defines/types. v2: s/drmIoctl/igt_ioctl/ (Chris) Clear errno after report it through return value (Chris) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/syncobj_basic.c')
-rw-r--r--tests/syncobj_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/syncobj_basic.c b/tests/syncobj_basic.c
index 44769d3b..1dce45c9 100644
--- a/tests/syncobj_basic.c
+++ b/tests/syncobj_basic.c
@@ -149,7 +149,7 @@ test_bad_create_flags(int fd)
static void
test_create_signaled(int fd)
{
- uint32_t syncobj = syncobj_create(fd, LOCAL_SYNCOBJ_CREATE_SIGNALED);
+ uint32_t syncobj = syncobj_create(fd, DRM_SYNCOBJ_CREATE_SIGNALED);
igt_assert_eq(syncobj_wait_err(fd, &syncobj, 1, 0, 0), 0);