summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-09-03 16:00:16 +0300
committerSimon Ser <contact@emersion.fr>2021-09-10 10:40:56 +0300
commit353be7c2328ccba0add424d015ef51ddf423e202 (patch)
treeb13779c55139d22b54e637605dd50c8e72ea0cad /include
parentc8527b9ad3cfe73b2db9f9fd2ad2db0c06db0670 (diff)
downloadlinux-353be7c2328ccba0add424d015ef51ddf423e202.tar.xz
drm: document drm_mode_create_lease object requirements
validate_lease expects one CRTC, one connector and one plane. Signed-off-by: Simon Ser <contact@emersion.fr> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Cc: Keith Packard <keithp@keithp.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210903130000.1590-1-contact@emersion.fr
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/drm_mode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 90c55383f1ee..e4a2570a6058 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -1110,6 +1110,9 @@ struct drm_mode_destroy_blob {
* struct drm_mode_create_lease - Create lease
*
* Lease mode resources, creating another drm_master.
+ *
+ * The @object_ids array must reference at least one CRTC, one connector and
+ * one plane if &DRM_CLIENT_CAP_UNIVERSAL_PLANES is enabled.
*/
struct drm_mode_create_lease {
/** @object_ids: Pointer to array of object ids (__u32) */