<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/coda, branch linux-5.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-11-10T06:27:40Z</updated>
<entry>
<title>media: coda: disable decoder crop selections</title>
<updated>2019-11-10T06:27:40Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2019-11-10T06:27:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ffd31463ce303de92724d4e1faf7807f68a4aa5'/>
<id>urn:sha1:4ffd31463ce303de92724d4e1faf7807f68a4aa5</id>
<content type='text'>
Disable output side crop selections for the decoder.
This fixes the following v4l2-compliance complaint:

		fail: v4l2-test-formats.cpp(1576): IS_DECODER(node)
	test Cropping: FAIL

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: coda: disable encoder compose selections</title>
<updated>2019-11-10T06:26:11Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2019-11-10T06:26:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff1c21f4cffdd490f2d7fd1ce28462e3dca610de'/>
<id>urn:sha1:ff1c21f4cffdd490f2d7fd1ce28462e3dca610de</id>
<content type='text'>
Disable capture side compose selections for the encoder.
This fixes the following v4l2-compliance complaint:

		fail: v4l2-test-formats.cpp(1662): IS_ENCODER(node)
	test Composing: FAIL

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: coda: drop unused irqlock</title>
<updated>2019-11-09T08:10:42Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2019-11-06T11:38:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d52741728a518afe536d22dc6e9b60193c5fa942'/>
<id>urn:sha1:d52741728a518afe536d22dc6e9b60193c5fa942</id>
<content type='text'>
The irqlock spinlock has been unused from the start. Remove it.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: coda: request to skip kernel mapping for decoded buffers</title>
<updated>2019-11-05T11:59:50Z</updated>
<author>
<name>Lucas Stach</name>
</author>
<published>2019-10-24T10:32:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b299d9abf159c5e40864f8ece97d914b6a9f4b1'/>
<id>urn:sha1:3b299d9abf159c5e40864f8ece97d914b6a9f4b1</id>
<content type='text'>
The kernel driver never touches the decoded buffers with the CPU.
All accesses are either done by hardware DMA masters or userspace
mapping the buffers. This means we don't need a kernel virtual
address mapping for those buffers at all. As those buffers are
usually quite large, we can save a good deal of kernel vmalloc
space by requesting to not have a kernel mapping set up for them.

Signed-off-by: Lucas Stach &lt;l.stach@pengutronix.de&gt;
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: coda: fix deadlock between decoder picture run and start command</title>
<updated>2019-11-05T11:59:19Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2019-10-24T10:32:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3fd80198de6ab98a205cf7fb148d88e9e1c44bb'/>
<id>urn:sha1:a3fd80198de6ab98a205cf7fb148d88e9e1c44bb</id>
<content type='text'>
The BIT decoder picture run temporarily locks the bitstream mutex while
the coda device mutex is locked, to refill the bitstream ring buffer.
Consequently, the decoder start command, which locks both mutexes when
flushing the bitstream ring buffer, must lock the coda device mutex
first as well, to avoid an ABBA deadlock.

Fixes: e7fd95849b3c ("media: coda: flush bitstream ring buffer on decoder restart")
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: coda: set device_caps in struct video_device</title>
<updated>2019-07-22T18:45:10Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2019-06-26T06:48:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7999846b9448a84083a913f0e882a93b4d9d123'/>
<id>urn:sha1:e7999846b9448a84083a913f0e882a93b4d9d123</id>
<content type='text'>
Instead of filling in the struct v4l2_capability device_caps
field, fill in the struct video_device device_caps field.

That way the V4L2 core knows what the capabilities of the
video device are.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Reviewed-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: coda: encoder parameter change support</title>
<updated>2019-06-24T18:48:33Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2019-06-18T16:45:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b152a403a0208aad25f9977f12a2e5a039e246b0'/>
<id>urn:sha1:b152a403a0208aad25f9977f12a2e5a039e246b0</id>
<content type='text'>
Add support for dynamically changing the GOP size, bitrate, frame rate,
constant intra quantization parameter, number of intra refresh macro
blocks and slice mode parameters.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
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: coda: add coda_slice_mode() function</title>
<updated>2019-06-24T18:47:39Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2019-06-18T16:45:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0414b4756820e1ec908f95953cea959d26b0063b'/>
<id>urn:sha1:0414b4756820e1ec908f95953cea959d26b0063b</id>
<content type='text'>
Changing slice mode dynamically while encoding will require to calculate
the register value again, so split it out into a separate function.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
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: coda: store device pointer in driver structure instead of pdev</title>
<updated>2019-06-24T18:46:42Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2019-06-18T16:45:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cdc841b5ac05fa9fcfe1be5d55bb57c0d4749a49'/>
<id>urn:sha1:cdc841b5ac05fa9fcfe1be5d55bb57c0d4749a49</id>
<content type='text'>
Currently the platform device pointer is stored in struct coda_dev,
only to convert it into a device pointer wherever it is used. Just
store the device pointer directly.

Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
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: coda: mark last returned frame</title>
<updated>2019-06-24T18:45:53Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2019-06-18T16:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b424e9e01e6aec16d6e1deaa99f03598ccb8975'/>
<id>urn:sha1:4b424e9e01e6aec16d6e1deaa99f03598ccb8975</id>
<content type='text'>
If reordering is not enabled, the last decoded frame has to be the last
returned buffer. Otherwise wait for the firmware to report no more
frame to display. In that case the return buffer is the last one as
well, and can be reported as such.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
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>
</feed>
