diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-08 12:22:58 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-08 12:23:55 +0000 |
commit | 8fcca1967c539b33c8d69dc834ca564c0fa907fd (patch) | |
tree | cee22b1bc7292816eb9c57bf92c09af979148439 /lib/ioctl_wrappers.c | |
parent | 28a2f14956f7672e303fed1f9ec85cade7bd7a56 (diff) |
igt/gem_madvise: Correct expected results
Trying to execbuf with a purged object is meant to fail.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/ioctl_wrappers.c')
-rw-r--r-- | lib/ioctl_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c index 7370543f..32cb0f36 100644 --- a/lib/ioctl_wrappers.c +++ b/lib/ioctl_wrappers.c @@ -338,7 +338,7 @@ void gem_close(int fd, uint32_t handle) do_ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close_bo); } -static int __gem_write(int fd, uint32_t handle, uint64_t offset, const void *buf, uint64_t length) +int __gem_write(int fd, uint32_t handle, uint64_t offset, const void *buf, uint64_t length) { struct drm_i915_gem_pwrite gem_pwrite; int err; |