summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/compote-uapi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/drm/compote-uapi.h b/include/uapi/drm/compote-uapi.h
index bbedb2af30d4..83f5e8a3c80a 100644
--- a/include/uapi/drm/compote-uapi.h
+++ b/include/uapi/drm/compote-uapi.h
@@ -29,8 +29,18 @@ struct compote_ioctl_mem_free {
uint64_t foffset;
};
+struct compote_ioctl_channel_alloc {
+ uint64_t channel;
+};
+
+struct compote_ioctl_channel_free {
+ uint64_t channel;
+};
+
/* Expose the address space of the calling process through hmm dummy dev file */
#define COMPOTE_IOCTL_MEM_ALLOC _IOWR('H', 0x00, struct compote_ioctl_mem_alloc)
#define COMPOTE_IOCTL_MEM_FREE _IOWR('H', 0x01, struct compote_ioctl_mem_free)
+#define COMPOTE_IOCTL_CHAN_ALLOC _IOWR('H', 0x02, struct compote_ioctl_channel_alloc)
+#define COMPOTE_IOCTL_CHAN_FREE _IOWR('H', 0x03, struct compote_ioctl_channel_free)
#endif /* COMPOTE_UAPI_H */