media: media-ioc-g-topology.rst: document new 'flags' field
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 19 Mar 2018 15:17:17 +0000 (11:17 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 25 Jul 2018 11:47:22 +0000 (07:47 -0400)
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>
Documentation/media/uapi/mediactl/media-ioc-g-topology.rst

index 7259611..d6f41a8 100644 (file)
@@ -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.