<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/sunxi, branch linux-5.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-07-19T05:45:55Z</updated>
<entry>
<title>sun4i-csi: call _vb2_fop_release instead of v4l2_fh_release</title>
<updated>2020-07-19T05:45:55Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2020-07-07T13:36:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=503ebad4b5d7883ab8476d95f0e2aa77bc56f91e'/>
<id>urn:sha1:503ebad4b5d7883ab8476d95f0e2aa77bc56f91e</id>
<content type='text'>
This driver didn't call _vb2_fop_release in the sun4i_csi_release
function. Without that call the vb2 queue is not properly canceled and
buffers may not be freed.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>sun4i-csi: drop read/write, enable VB2_DMABUF</title>
<updated>2020-07-19T05:45:35Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2020-07-07T13:32:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71ecc5356d227072c7c31e44f6774d461fd4865f'/>
<id>urn:sha1:71ecc5356d227072c7c31e44f6774d461fd4865f</id>
<content type='text'>
For no obvious reason VB2_DMABUF was not enabled. Add this.

Also both read and write file ops were set, but this was not enabled
in the vb2 io_modes or in the device_caps capabilities. Drop this.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>sunxi-csi: fill in bus_info of media device</title>
<updated>2020-07-19T05:45:03Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2020-07-07T13:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de26c90fc40d7d32a6f3f71babad2547ab3b7abb'/>
<id>urn:sha1:de26c90fc40d7d32a6f3f71babad2547ab3b7abb</id>
<content type='text'>
This fixes a v4l2-compliance warning:

Required ioctls:
                warn: v4l2-test-media.cpp(52): empty bus_info
        test MEDIA_IOC_DEVICE_INFO: OK

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: sun8i: Fix an error handling path in 'deinterlace_runtime_resume()'</title>
<updated>2020-05-05T15:26:26Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2020-05-05T07:50:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62eedb356188376acd0368384a9b294d5180c00b'/>
<id>urn:sha1:62eedb356188376acd0368384a9b294d5180c00b</id>
<content type='text'>
It is spurious to call 'clk_disable_unprepare()' when
'clk_prepare_enable()' has not been called yet.
Re-order the error handling path to avoid it.

Fixes: a4260ea49547 ("media: sun4i: Add H3 deinterlace driver")
Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Acked-by: Chen-Yu Tsai &lt;wens@csie.org&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
[hverkuil-cisco@xs4all.nl: err_exlusive_rate -&gt; err_exclusive_rate]
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: Kconfig files: use select for V4L2 subdevs and MC</title>
<updated>2020-04-14T08:29:05Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2020-03-25T14:36:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32a363d0b0b142f35512848dc646ee53e0926723'/>
<id>urn:sha1:32a363d0b0b142f35512848dc646ee53e0926723</id>
<content type='text'>
There are lots of drivers that only work when the media controller
and/or the V4L2 subdev APIs are present.

Right now, someone need to first enable those APIs before
using those drivers.

Well, ideally, drivers, should, instead *optionally*
depend on it, in order for PC camera drivers to be able to use
them, but nowadays most drivers are UVC cameras, with don't
require a sensor driver.

So, be it.

Let's instead make them select the MEDIA_CONTROLLER and the
SUBDEV API, in order to make easier for people to be able
of enabling them.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: add SPDX headers on Kconfig and Makefile files</title>
<updated>2020-04-14T08:29:05Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2020-03-26T15:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76c34a8d0e53f98975a2da5f753a99b4abc05c44'/>
<id>urn:sha1:76c34a8d0e53f98975a2da5f753a99b4abc05c44</id>
<content type='text'>
Most of media Kconfig/Makefile files already has SPDX,
but there are a few ones still missing. Add it to them.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: sun8i: Add Allwinner A83T Rotate driver</title>
<updated>2020-03-02T14:16:40Z</updated>
<author>
<name>Jernej Skrabec</name>
</author>
<published>2020-01-24T23:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d77182ada3d40854735eb9321ce30de60c2abdbb'/>
<id>urn:sha1:d77182ada3d40854735eb9321ce30de60c2abdbb</id>
<content type='text'>
Allwinner A83T contains rotation core which can rotate and flip images.

Add a driver for it.

Signed-off-by: Jernej Skrabec &lt;jernej.skrabec@siol.net&gt;
[hverkuil-cisco@xs4all.nl: MAINTAINERS paths were out of date, fix that]
[hverkuil-cisco@xs4all.nl: VFL_TYPE_GRABBER -&gt; _VIDEO]
[hverkuil-cisco@xs4all.nl: Fix module build]
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: Split v4l2_pipeline_pm_use into v4l2_pipeline_pm_{get, put}</title>
<updated>2020-03-02T14:11:40Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2020-01-24T20:35:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8fd390b89cc8ca786bc1b66d8a76512a6068b081'/>
<id>urn:sha1:8fd390b89cc8ca786bc1b66d8a76512a6068b081</id>
<content type='text'>
Currently, v4l2_pipeline_pm_use() prototype is:

  int v4l2_pipeline_pm_use(struct media_entity *entity, int use)

Where the 'use' argument shall only be set to '1' for enable/power-on,
or to '0' for disable/power-off. The integer return is specified
as only meaningful when 'use' is set to '1'.

Let's enforce this semantic by splitting the function in two:
v4l2_pipeline_pm_get and v4l2_pipeline_pm_put. This is done
for several reasons.

It makes the API easier to use (or harder to misuse).
It removes the constraint on the values the 'use' argument
shall take. Also, it removes the need to constraint
the return value, by making v4l2_pipeline_pm_put void return.

And last, it's more consistent with other kernel APIs, such
as the runtime pm APIs, which makes the code more symmetric.

Signed-off-by: Ezequiel Garcia &lt;ezequiel@collabora.com&gt;
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: sun8i: Remove redundant platform_get_irq error message</title>
<updated>2020-02-24T16:14:33Z</updated>
<author>
<name>YueHaibing</name>
</author>
<published>2020-01-16T14:36:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6821660c4386e31e9344fb8dc87111ffbc9cb60b'/>
<id>urn:sha1:6821660c4386e31e9344fb8dc87111ffbc9cb60b</id>
<content type='text'>
platform_get_irq() will call dev_err() itself on failure,
so there is no need for the driver to also do this.
This is detected by coccinelle.

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
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: media/platform: rename VFL_TYPE_GRABBER to _VIDEO</title>
<updated>2020-02-24T15:54:14Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2020-02-03T11:41:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=70cad4495a7438b07d806b8795ab6c6ef083b737'/>
<id>urn:sha1:70cad4495a7438b07d806b8795ab6c6ef083b737</id>
<content type='text'>
'GRABBER' is a weird name, all other types map to the /dev
device names. Rename to 'VIDEO' to be consistent with the
other types.

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>
</feed>
