summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-03-19 11:11:10 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-25 07:45:51 -0400
commitb0549006263efd59e22518eda230040ffee71b93 (patch)
treef3f549b1b848c0bc65b4a1e88f8d13e8022ff4e1 /Documentation
parent30b914c8d825da7d4c651ade34667cef05e3ee27 (diff)
downloadlinux-b0549006263efd59e22518eda230040ffee71b93.tar.bz2
media: media-ioc-g-topology.rst: document new 'index' field
Document the new struct media_v2_pad 'index' 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')
-rw-r--r--Documentation/media/uapi/mediactl/media-ioc-g-topology.rst11
1 files changed, 9 insertions, 2 deletions
diff --git a/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst b/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst
index a3f259f83b25..725961198143 100644
--- a/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst
+++ b/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst
@@ -176,7 +176,7 @@ desired arrays with the media graph elements.
* - struct media_v2_intf_devnode
- ``devnode``
- Used only for device node interfaces. See
- :c:type:`media_v2_intf_devnode` for details..
+ :c:type:`media_v2_intf_devnode` for details.
.. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.7cm}|
@@ -218,7 +218,14 @@ desired arrays with the media graph elements.
- Pad flags, see :ref:`media-pad-flag` for more details.
* - __u32
- - ``reserved``\ [5]
+ - ``index``
+ - Pad index, starts at 0. Only valid if ``MEDIA_V2_PAD_HAS_INDEX(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``\ [4]
- Reserved for future extensions. Drivers and applications must set
this array to zero.