aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm-uapi/drm.h
diff options
context:
space:
mode:
authorVivek Kasireddy <[email protected]>2019-02-20 18:29:21 -0800
committerLionel Landwerlin <[email protected]>2019-02-26 13:08:51 +0000
commitff14d06be5f731b1fab5e312281e99487500de6e (patch)
tree75bd6ea3b8b2a8964266bcc55a5e22892f3d9859 /include/drm-uapi/drm.h
parent78fb3fd17ec8cccaa2a0072487f5a89fffd8f8e3 (diff)
drm-uapi: Update headers from drm-next
Pull new updates from drm-next as of the following commit: commit a5f2fafece141ef3509e686cea576366d55cabb6 Merge: 71f4e45a4ed3 860433ed2a55 Author: Dave Airlie <[email protected]> Date: Wed Feb 20 12:16:30 2019 +1000 Merge https://gitlab.freedesktop.org/drm/msm into drm-next Signed-off-by: Vivek Kasireddy <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'include/drm-uapi/drm.h')
-rw-r--r--include/drm-uapi/drm.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/drm-uapi/drm.h b/include/drm-uapi/drm.h
index f0bd91de0cf..85c685a2075 100644
--- a/include/drm-uapi/drm.h
+++ b/include/drm-uapi/drm.h
@@ -674,6 +674,22 @@ struct drm_get_cap {
*/
#define DRM_CLIENT_CAP_ATOMIC 3
+/**
+ * DRM_CLIENT_CAP_ASPECT_RATIO
+ *
+ * If set to 1, the DRM core will provide aspect ratio information in modes.
+ */
+#define DRM_CLIENT_CAP_ASPECT_RATIO 4
+
+/**
+ * DRM_CLIENT_CAP_WRITEBACK_CONNECTORS
+ *
+ * If set to 1, the DRM core will expose special connectors to be used for
+ * writing back to memory the scene setup in the commit. Depends on client
+ * also supporting DRM_CLIENT_CAP_ATOMIC
+ */
+#define DRM_CLIENT_CAP_WRITEBACK_CONNECTORS 5
+
/** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
struct drm_set_client_cap {
__u64 capability;