<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/Documentation/media/uapi/cec, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/Documentation/media/uapi/cec?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/Documentation/media/uapi/cec?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2020-04-14T08:31:49Z</updated>
<entry>
<title>media: docs: move uAPI book to userspace-api/media</title>
<updated>2020-04-14T08:31:49Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+huawei@kernel.org</email>
</author>
<published>2020-03-04T09:21:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=54f38fcae536ea202ce7d6a359521492fba30c1f'/>
<id>urn:sha1:54f38fcae536ea202ce7d6a359521492fba30c1f</id>
<content type='text'>
Since 2017, there is an space reserved for userspace API,
created by changeset 1d596dee3862 ("docs: Create a user-space API guide").

As the media subsystem was one of the first subsystems to use
Sphinx, until this patch, we were keeping things on a separate
place.

Let's just use the new location, as having all uAPI altogether
will likely make things easier for developers.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: Documentation/media/uapi: more readable unions</title>
<updated>2020-02-24T16:52:44Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil-cisco@xs4all.nl</email>
</author>
<published>2020-02-10T10:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=218fc9f2fcfbad70e7b2111eca591b1dc8e6c8a9'/>
<id>urn:sha1:218fc9f2fcfbad70e7b2111eca591b1dc8e6c8a9</id>
<content type='text'>
Avoid adding an extra columns when describing unions in the documentation.
That makes it much harder to read. See e.g. VIDIOC_QUERY_EXT_CTRLS.

Instead start off a union with 'union {' and end it with an extra row
containing '}'.

This leaves a lot more space for the description of the fields.

This formatting technique was used in a few places already, but this
patches fixes all remaining occurrences of 'union' in the media uAPI.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Reported-by: Nicolas Dufresne &lt;nicolas@ndufresne.ca&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: cec-ioc-g-mode.rst: remove trailing 'i'</title>
<updated>2019-12-13T08:29:11Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil-cisco@xs4all.nl</email>
</author>
<published>2019-12-05T15:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=887c7942ce31dcffecf53897598c766602f5e6f5'/>
<id>urn:sha1:887c7942ce31dcffecf53897598c766602f5e6f5</id>
<content type='text'>
Remove spurious trailing 'i'.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: cec: document CEC_ADAP_G_CONNECTOR_INFO and capability</title>
<updated>2019-10-01T20:20:29Z</updated>
<author>
<name>Dariusz Marcinkiewicz</name>
<email>darekm@google.com</email>
</author>
<published>2019-08-23T12:20:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=98f290731fe3cec04a1ca0635ad2d5d175d77276'/>
<id>urn:sha1:98f290731fe3cec04a1ca0635ad2d5d175d77276</id>
<content type='text'>
Document the new CEC_ADAP_G_CONNECTOR_INFO ioctl and the new
CEC_CAP_CONNECTOR_INFO capability.

Co-developed-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;

Signed-off-by: Dariusz Marcinkiewicz &lt;darekm@google.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
[hverkuil-cisco@xs4all.nl: added CEC_CAP_CONNECTOR_INFO]
[hverkuil-cisco@xs4all.nl: added DQEVENT have_conn_info]
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: Documentation: update email address</title>
<updated>2019-06-05T19:58:09Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil-cisco@xs4all.nl</email>
</author>
<published>2019-06-05T14:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6aace2f89f785482efecbec3d61dfa41e0a64f9c'/>
<id>urn:sha1:6aace2f89f785482efecbec3d61dfa41e0a64f9c</id>
<content type='text'>
Use hverkuil-cisco@xs4all.nl instead of hans.verkuil@cisco.com.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: cec-ioc-g-mode.rst: be more specific when EPERM is returned</title>
<updated>2019-05-23T09:37:22Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil-cisco@xs4all.nl</email>
</author>
<published>2019-05-22T09:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=428d3c867df6f2f87721fe7384ea09ad3130f839'/>
<id>urn:sha1:428d3c867df6f2f87721fe7384ea09ad3130f839</id>
<content type='text'>
Document which capability is required, rather than just saying
that "root permissions" are required.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: cec-ioc-receive.rst: document CEC_MSG_FL_RAW</title>
<updated>2019-05-23T09:33:33Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil-cisco@xs4all.nl</email>
</author>
<published>2019-05-15T07:50:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=eabe3bc2689ad0993c57469eb7efb1291443cc74'/>
<id>urn:sha1:eabe3bc2689ad0993c57469eb7efb1291443cc74</id>
<content type='text'>
Document this new cec_msg flag.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: add SPDX header to media uAPI files</title>
<updated>2018-12-05T15:39:18Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+samsung@kernel.org</email>
</author>
<published>2018-08-30T14:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=82559ac0273a68addb15535899cb1662de50a586'/>
<id>urn:sha1:82559ac0273a68addb15535899cb1662de50a586</id>
<content type='text'>
All those files are under GFDL 1.1 or later, with no invariant sections.
Tag them as such.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: remove text encoding from rst files</title>
<updated>2018-12-05T15:37:18Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+samsung@kernel.org</email>
</author>
<published>2018-08-30T14:09:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=18e6830a636cb61072c3ed970e1e4106df48ca29'/>
<id>urn:sha1:18e6830a636cb61072c3ed970e1e4106df48ca29</id>
<content type='text'>
This is not needed there. Also, the same UTF-8 encoding should
be used on all documents.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: cec: add new tx/rx status bits to detect aborts/timeouts</title>
<updated>2018-10-05T15:22:39Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2018-10-04T07:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7ec2b3b941a666a942859684281b5f6460a0c234'/>
<id>urn:sha1:7ec2b3b941a666a942859684281b5f6460a0c234</id>
<content type='text'>
If the HDMI cable is disconnected or the CEC adapter is manually
unconfigured, then all pending transmits and wait-for-replies are
aborted. Signal this with new status bits (CEC_RX/TX_STATUS_ABORTED).

If due to (usually) a driver bug a transmit never ends (i.e. the
transmit_done was never called by the driver), then when this times
out the message is marked with CEC_TX_STATUS_TIMEOUT.

This should not happen and is an indication of a driver bug.

Without a separate status bit for this it was impossible to detect
this from userspace.

The 'transmit timed out' kernel message is now a warning, so this
should be more prominent in the kernel log as well.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;      # for v4.18 and up
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
</feed>
