OSDN Git Service

drm/doc: atomic implicitly enables other caps
authorSimon Ser <contact@emersion.fr>
Thu, 17 Dec 2020 11:32:17 +0000 (12:32 +0100)
committerSimon Ser <contact@emersion.fr>
Thu, 17 Dec 2020 16:06:26 +0000 (17:06 +0100)
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
include/uapi/drm/drm.h

index 808b48a..5c31aea 100644 (file)
@@ -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