diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvhost_ioctl.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/nvhost_ioctl.h b/include/linux/nvhost_ioctl.h index 94d0f4a99..1c7b99d10 100644 --- a/include/linux/nvhost_ioctl.h +++ b/include/linux/nvhost_ioctl.h | |||
| @@ -444,6 +444,13 @@ struct nvhost_ctrl_poll_fd_create_args { | |||
| 444 | __u32 padding; | 444 | __u32 padding; |
| 445 | }; | 445 | }; |
| 446 | 446 | ||
| 447 | struct nvhost_ctrl_poll_fd_trigger_event_args { | ||
| 448 | __s32 fd; | ||
| 449 | __u32 id; | ||
| 450 | __u32 thresh; | ||
| 451 | __u32 padding; | ||
| 452 | }; | ||
| 453 | |||
| 447 | #define NVHOST_IOCTL_CTRL_SYNCPT_READ \ | 454 | #define NVHOST_IOCTL_CTRL_SYNCPT_READ \ |
| 448 | _IOWR(NVHOST_IOCTL_MAGIC, 1, struct nvhost_ctrl_syncpt_read_args) | 455 | _IOWR(NVHOST_IOCTL_MAGIC, 1, struct nvhost_ctrl_syncpt_read_args) |
| 449 | #define NVHOST_IOCTL_CTRL_SYNCPT_INCR \ | 456 | #define NVHOST_IOCTL_CTRL_SYNCPT_INCR \ |
| @@ -482,9 +489,11 @@ struct nvhost_ctrl_poll_fd_create_args { | |||
| 482 | _IOWR(NVHOST_IOCTL_MAGIC, 15, struct nvhost_ctrl_check_module_support_args) | 489 | _IOWR(NVHOST_IOCTL_MAGIC, 15, struct nvhost_ctrl_check_module_support_args) |
| 483 | #define NVHOST_IOCTL_CTRL_POLL_FD_CREATE \ | 490 | #define NVHOST_IOCTL_CTRL_POLL_FD_CREATE \ |
| 484 | _IOR(NVHOST_IOCTL_MAGIC, 16, struct nvhost_ctrl_poll_fd_create_args) | 491 | _IOR(NVHOST_IOCTL_MAGIC, 16, struct nvhost_ctrl_poll_fd_create_args) |
| 492 | #define NVHOST_IOCTL_CTRL_POLL_FD_TRIGGER_EVENT \ | ||
| 493 | _IOW(NVHOST_IOCTL_MAGIC, 17, struct nvhost_ctrl_poll_fd_trigger_event_args) | ||
| 485 | 494 | ||
| 486 | #define NVHOST_IOCTL_CTRL_LAST \ | 495 | #define NVHOST_IOCTL_CTRL_LAST \ |
| 487 | _IOC_NR(NVHOST_IOCTL_CTRL_POLL_FD_CREATE) | 496 | _IOC_NR(NVHOST_IOCTL_CTRL_POLL_FD_TRIGGER_EVENT) |
| 488 | #define NVHOST_IOCTL_CTRL_MAX_ARG_SIZE \ | 497 | #define NVHOST_IOCTL_CTRL_MAX_ARG_SIZE \ |
| 489 | sizeof(struct nvhost_ctrl_syncpt_waitmex_args) | 498 | sizeof(struct nvhost_ctrl_syncpt_waitmex_args) |
| 490 | 499 | ||
