summaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-03-19 11:17:17 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-25 07:47:22 -0400
commitd2dc644adf81f3f5bbebda81e378cf250b03ed52 (patch)
tree5c7805e9b443029cd34edb5e954e792bfa716a0c /Documentation/media
parent588f4ee7e6fc5c9a0fb07c7051cdd341949e0feb (diff)
downloadlinux-d2dc644adf81f3f5bbebda81e378cf250b03ed52.tar.bz2
media: media-ioc-g-topology.rst: document new 'flags' field
Document the new struct media_v2_entity 'flags' field. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media')
-rw-r--r--Documentation/media/uapi/mediactl/media-ioc-g-topology.rst10
1 files changed, 9 insertions, 1 deletions
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.