summaryrefslogtreecommitdiff
path: root/lib/ioctl_wrappers.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ioctl_wrappers.h')
-rw-r--r--lib/ioctl_wrappers.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h
index 8e2cd380..67bf5056 100644
--- a/lib/ioctl_wrappers.h
+++ b/lib/ioctl_wrappers.h
@@ -235,9 +235,11 @@ void igt_require_fb_modifiers(int fd);
*
* Creates a framebuffer object.
*/
-int __kms_addfb(int fd, uint32_t handle, uint32_t width, uint32_t height,
- uint32_t stride, uint32_t pixel_format, uint64_t modifier,
- uint32_t *offsets, uint32_t flags, uint32_t *buf_id);
+int __kms_addfb(int fd, uint32_t handle,
+ uint32_t width, uint32_t height,
+ uint32_t pixel_format, uint64_t modifier,
+ uint32_t strides[4], uint32_t offsets[4],
+ uint32_t flags, uint32_t *buf_id);
/**
* to_user_pointer: