summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-17 12:32:17 +0100
committerSimon Ser <contact@emersion.fr>2020-12-17 17:06:26 +0100
commita1b766d1b3646b5ef90f0fa7b42fd99bbd166766 (patch)
tree06f121ce9c2f2daa3a871f2ec7ac0e4eac0ef48a
parentdrm: require each CRTC to have a unique primary plane (diff)
downloadlinux-a1b766d1b3646b5ef90f0fa7b42fd99bbd166766.tar.xz
linux-a1b766d1b3646b5ef90f0fa7b42fd99bbd166766.zip
drm/doc: atomic implicitly enables other caps
Document that enabling atomic also enables universal planes and aspect ratio modes. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Pekka Paalanen <ppaalanen@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201217113220.102271-7-contact@emersion.fr
-rw-r--r--include/uapi/drm/drm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h
index 808b48a93330..5c31aea1f342 100644
--- a/include/uapi/drm/drm.h
+++ b/include/uapi/drm/drm.h
@@ -678,7 +678,9 @@ struct drm_get_cap {
/**
* DRM_CLIENT_CAP_ATOMIC
*
- * If set to 1, the DRM core will expose atomic properties to userspace
+ * If set to 1, the DRM core will expose atomic properties to userspace. This
+ * implicitly enables &DRM_CLIENT_CAP_UNIVERSAL_PLANES and
+ * &DRM_CLIENT_CAP_ASPECT_RATIO.
*/
#define DRM_CLIENT_CAP_ATOMIC 3