[PATCH] drm: drivers may provide multiple primary planes per CRTC

Simon Ser contact at emersion.fr
Thu Aug 6 10:33:31 UTC 2020


Some drivers may expose primary planes compatible with multiple CRTCs.
Make this clear in the docs: the current wording may be misunderstood as
"exactly one primary plane per CRTC".

Signed-off-by: Simon Ser <contact at emersion.fr>
Cc: Daniel Vetter <daniel at ffwll.ch>
---
 drivers/gpu/drm/drm_plane.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c
index b7b90b3a2e38..108a922e8c23 100644
--- a/drivers/gpu/drm/drm_plane.c
+++ b/drivers/gpu/drm/drm_plane.c
@@ -49,8 +49,8 @@
  * &struct drm_plane (possibly as part of a larger structure) and registers it
  * with a call to drm_universal_plane_init().
  *
- * Cursor and overlay planes are optional. All drivers should provide one
- * primary plane per CRTC to avoid surprising userspace too much. See enum
+ * Cursor and overlay planes are optional. All drivers should provide at least
+ * one primary plane per CRTC to avoid surprising userspace too much. See enum
  * drm_plane_type for a more in-depth discussion of these special uapi-relevant
  * plane types. Special planes are associated with their CRTC by calling
  * drm_crtc_init_with_planes().
-- 
2.28.0




More information about the dri-devel mailing list