From 8fcca1967c539b33c8d69dc834ca564c0fa907fd Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 8 Mar 2017 12:22:58 +0000 Subject: igt/gem_madvise: Correct expected results Trying to execbuf with a purged object is meant to fail. Signed-off-by: Chris Wilson --- lib/ioctl_wrappers.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ioctl_wrappers.h') diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h index ef92b5bc..af061ef3 100644 --- a/lib/ioctl_wrappers.h +++ b/lib/ioctl_wrappers.h @@ -62,6 +62,7 @@ uint32_t gem_get_caching(int fd, uint32_t handle); uint32_t gem_flink(int fd, uint32_t handle); uint32_t gem_open(int fd, uint32_t name); void gem_close(int fd, uint32_t handle); +int __gem_write(int fd, uint32_t handle, uint64_t offset, const void *buf, uint64_t length); void gem_write(int fd, uint32_t handle, uint64_t offset, const void *buf, uint64_t length); void gem_read(int fd, uint32_t handle, uint64_t offset, void *buf, uint64_t length); void gem_set_domain(int fd, uint32_t handle, -- cgit v1.2.3