[PATCH 5/6] drm/doc: diagram for mode objects and properties

Eric Anholt eric at anholt.net
Tue Feb 28 23:40:15 UTC 2017


Daniel Vetter <daniel.vetter at ffwll.ch> writes:

> Resulted in confusion a few times in the past.
>
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Cc: Manasi Navare <manasi.d.navare at intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  Documentation/gpu/drm-kms.rst | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>
> diff --git a/Documentation/gpu/drm-kms.rst b/Documentation/gpu/drm-kms.rst
> index 17a4cd5b14fd..20378881445f 100644
> --- a/Documentation/gpu/drm-kms.rst
> +++ b/Documentation/gpu/drm-kms.rst

> +The base structure for all KMS objects is :c:type:`struct drm_mode_object
> +<drm_mode_object>`. One of the base services is provides is tracking properties,

"it provides"?

> +which are especially important for the atomic IOCTL (see `Atomic Mode
> +Setting`_). The somewhat surprising part here is that properties are not
> +directly instantiated on each object, but free-standing mode objects themselves,
> +represented by :c:type:`struct drm_property <drm_property>`, which only specify
> +the type and value range of a property. Any given property can be attached
> +multiple times to different objects using :c:func:`drm_object_attach_property()
> +<drm_object_attach_property>`.
> +

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170228/b0ac9c50/attachment.sig>


More information about the dri-devel mailing list