diff mbox series

[v2,6/9] drm/doc: atomic implicitly enables other caps

Message ID 20201217113220.102271-7-contact@emersion.fr (mailing list archive)
State New, archived
Headers show
Series drm/doc: misc documentation improvements | expand

Commit Message

Simon Ser Dec. 17, 2020, 11:32 a.m. UTC
Document that enabling atomic also enables universal planes and aspect
ratio modes.

Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
---
 include/uapi/drm/drm.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Daniel Vetter Dec. 17, 2020, 12:05 p.m. UTC | #1
On Thu, Dec 17, 2020 at 12:32:17PM +0100, Simon Ser wrote:
> Document that enabling atomic also enables universal planes and aspect
> ratio modes.
> 
> Signed-off-by: Simon Ser <contact@emersion.fr>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: Pekka Paalanen <ppaalanen@gmail.com>

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>

> ---
>  include/uapi/drm/drm.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> 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
>  
> -- 
> 2.29.2
>
diff mbox series

Patch

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