From d2dc644adf81f3f5bbebda81e378cf250b03ed52 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Mon, 19 Mar 2018 11:17:17 -0400 Subject: media: media-ioc-g-topology.rst: document new 'flags' field Document the new struct media_v2_entity 'flags' field. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/mediactl/media-ioc-g-topology.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst b/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst index 725961198143..d6f41a8e307f 100644 --- a/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst +++ b/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst @@ -142,7 +142,15 @@ desired arrays with the media graph elements. - Entity main function, see :ref:`media-entity-functions` for details. * - __u32 - - ``reserved``\ [6] + - ``flags`` + - Entity flags, see :ref:`media-entity-flag` for details. + Only valid if ``MEDIA_V2_ENTITY_HAS_FLAGS(media_version)`` + returns true. The ``media_version`` is defined in struct + :c:type:`media_device_info` and can be retrieved using + :ref:`MEDIA_IOC_DEVICE_INFO`. + + * - __u32 + - ``reserved``\ [5] - Reserved for future extensions. Drivers and applications must set this array to zero. -- cgit v1.2.3-59-g8ed1b