History

drm: document drm_mode_create_lease object requirements

validate_lease expects one CRTC, one connector and one plane.

Simon Ser committed 5 years ago

Commit 353be7c1 parent c8527b91 file · +3 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/drm_mode.h+3−0
@@ -1110,6 +1110,9 @@ struct drm_mode_destroy_blob { · 1109 unmodified lines
11101110 * struct drm_mode_create_lease - Create lease
11111111 *
11121112 * Lease mode resources, creating another drm_master.
1113+ *
1114+ * The @object_ids array must reference at least one CRTC, one connector and
1115+ * one plane if &DRM_CLIENT_CAP_UNIVERSAL_PLANES is enabled.
11131116 */
11141117 struct drm_mode_create_lease {
11151118 /** @object_ids: Pointer to array of object ids (__u32) */