<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/rockchip, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-03-01T14:35:21Z</updated>
<entry>
<title>media: platform: fix several typos</title>
<updated>2019-03-01T14:35:21Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2019-02-18T19:29:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b72c18d467fad497fe73c59915556e32bc5241d'/>
<id>urn:sha1:8b72c18d467fad497fe73c59915556e32bc5241d</id>
<content type='text'>
Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.

Reviewed-by: Niklas Söderlund &lt;niklas.soderlund+renesas@ragnatech.se&gt;
Acked-by: Andrzej Pietrasiewicz &lt;andrzejtp2010@gmail.com&gt;
Reviewed-by: Benoit Parrot &lt;bparrot@ti.com&gt;
Reviewed-by: Kieran Bingham &lt;kieran.bingham+renesas@ideasonboard.com&gt;
Reviewed-by: Lad, Prabhakar &lt;prabhakar.csengg@gmail.com&gt;
Acked-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Reviewed-by: Houlong Wei &lt;houlong.wei@mediatek.com&gt;
Reviewed-by: Yong Deng &lt;yong.deng@magewell.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: rockchip/rga: Correct return type for mem2mem buffer helpers</title>
<updated>2019-02-18T20:30:25Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2019-02-08T16:17:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da2d3a4e4adabc6ccfb100bc9abd58ee9cd6c4b7'/>
<id>urn:sha1:da2d3a4e4adabc6ccfb100bc9abd58ee9cd6c4b7</id>
<content type='text'>
Fix the assigned type of mem2mem buffer handling API.
Namely, these functions:

 v4l2_m2m_next_buf
 v4l2_m2m_last_buf
 v4l2_m2m_buf_remove
 v4l2_m2m_next_src_buf
 v4l2_m2m_next_dst_buf
 v4l2_m2m_last_src_buf
 v4l2_m2m_last_dst_buf
 v4l2_m2m_src_buf_remove
 v4l2_m2m_dst_buf_remove

return a struct vb2_v4l2_buffer, and not a struct vb2_buffer.

Fixing this is necessary to fix the mem2mem buffer handling API,
changing the return to the correct struct vb2_v4l2_buffer instead
of a void pointer.

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+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: rockchip/rga: constify video_device structure</title>
<updated>2018-11-23T11:07:06Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2018-11-02T14:48:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be773a176cbba68e9b2b6b669e5efe966844adba'/>
<id>urn:sha1:be773a176cbba68e9b2b6b669e5efe966844adba</id>
<content type='text'>
The video_device structure is only copied into another structure, so
it can be const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: rockchip/rga: constify v4l2_m2m_ops structure</title>
<updated>2018-11-23T11:03:51Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2018-10-27T12:30:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a74865e7a17a4991a38258d54482708c270df648'/>
<id>urn:sha1:a74865e7a17a4991a38258d54482708c270df648</id>
<content type='text'>
The v4l2_m2m_ops structure can be const as it is only passed to
v4l2_m2m_init whose parameter is const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: use strscpy() instead of strlcpy()</title>
<updated>2018-09-11T17:32:17Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2018-09-10T12:19:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0decac19da3906d9b66291e57b7759489e1170f'/>
<id>urn:sha1:c0decac19da3906d9b66291e57b7759489e1170f</id>
<content type='text'>
The implementation of strscpy() is more robust and safer.

That's now the recommended way to copy NUL terminated strings.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: rockchip/rga: Fix bad dma_free_attrs() parameter</title>
<updated>2018-07-27T11:53:10Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2018-07-25T21:01:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ddc5c1f799123224a8e02c49d992f962bed225f3'/>
<id>urn:sha1:ddc5c1f799123224a8e02c49d992f962bed225f3</id>
<content type='text'>
In rga_remove(), dma_free_attrs is being passed the wrong
cpu address, which triggers an exception if the driver is
removed. Fix it.

Tested on a RK3399 platform, with a bind/unbind cycle.

Signed-off-by: Ezequiel Garcia &lt;ezequiel@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: mem2mem: Make .job_abort optional</title>
<updated>2018-07-24T21:45:08Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2018-06-18T04:38:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5525b8314389a0c558d15464e86f438974b94e32'/>
<id>urn:sha1:5525b8314389a0c558d15464e86f438974b94e32</id>
<content type='text'>
Implementing job_abort() does not make sense on some drivers.
This is not a problem, as the abort is not required to
wait for the job to finish. Quite the opposite, drivers
are encouraged not to wait.

Demote v4l2_m2m_ops.job_abort from required to optional, and
clean all drivers with dummy implementations.

Signed-off-by: Ezequiel Garcia &lt;ezequiel@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: rockchip/rga: Remove unrequired wait in .job_abort</title>
<updated>2018-06-28T11:56:05Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2018-06-01T19:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b97e5275ba6ef862a09f8b993fa3e8b373dfe9b'/>
<id>urn:sha1:1b97e5275ba6ef862a09f8b993fa3e8b373dfe9b</id>
<content type='text'>
As per the documentation, job_abort is not required
to wait until the current job finishes. It is redundant
to do so, as the core will perform the wait operation.

Remove the wait infrastructure completely.

Signed-off-by: Ezequiel Garcia &lt;ezequiel@collabora.com&gt;
Reviewed-by: Jacob Chen &lt;jacob-chen@iotwrt.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: rockchip/rga: Fix broken .start_streaming</title>
<updated>2018-06-28T11:55:39Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2018-06-01T19:49:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9aecc03555825a79a8a4ca45199cb866e8684623'/>
<id>urn:sha1:9aecc03555825a79a8a4ca45199cb866e8684623</id>
<content type='text'>
Currently, rga_buf_start_streaming() is expecting
pm_runtime_get_sync to return zero on success, which
is wrong.

As per the documentation, pm_runtime_get_sync increments
the device's usage counter and return its result.
This means it will typically return a positive integer
on success and a negative error code.

Therefore, rockchip-rga driver is currently unusable
failing to start_streaming in most cases. Fix it and
while here, cleanup the buffer return-to-core logic.

Fixes: f7e7b48e6d79 ("[media] rockchip/rga: v4l2 m2m support")

Signed-off-by: Ezequiel Garcia &lt;ezequiel@collabora.com&gt;
Reviewed-by: Jacob Chen &lt;jacob-chen@iotwrt.com&gt;
[hans.verkuil@cisco.com: fix line over 80 cols warning]
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: rga: Remove surplus name initialization</title>
<updated>2018-06-28T11:53:19Z</updated>
<author>
<name>Anton Leontiev</name>
</author>
<published>2018-06-12T10:11:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4367ff42dde5d24f5217edba7c54cd13e21b2b6'/>
<id>urn:sha1:a4367ff42dde5d24f5217edba7c54cd13e21b2b6</id>
<content type='text'>
Name is already initialized by assignment from rga_videodev.

Signed-off-by: Anton Leontiev &lt;scileont@gmail.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
</feed>
