<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/media/platform/s5p-mfc, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/media/platform/s5p-mfc?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/media/platform/s5p-mfc?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-03-18T04:58:34Z</updated>
<entry>
<title>media: platform: rename s5p-mfc/ to samsung/s5p-mfc/</title>
<updated>2022-03-18T04:58:34Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@kernel.org</email>
</author>
<published>2022-03-13T10:18:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=43ecec16c4face9a59e81771e7cbff4671c62117'/>
<id>urn:sha1:43ecec16c4face9a59e81771e7cbff4671c62117</id>
<content type='text'>
As the end goal is to have platform drivers split by vendor,
rename s5p-mfc/ to samsung/s5p-mfc/.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: platform: s5p-mfc: move config to its own file</title>
<updated>2022-03-18T04:56:31Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@kernel.org</email>
</author>
<published>2022-03-11T12:36:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1d031da4f6e7ec7a83b6920d663e3baec11f6a98'/>
<id>urn:sha1:1d031da4f6e7ec7a83b6920d663e3baec11f6a98</id>
<content type='text'>
In order to better organize the platform/Kconfig, place
s5p-mfc-specific config stuff on a separate Kconfig file.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: s5p_mfc_dec: set flags for OUTPUT coded formats</title>
<updated>2022-02-16T08:01:14Z</updated>
<author>
<name>Maxime Jourdan</name>
<email>mjourdan@baylibre.com</email>
</author>
<published>2019-08-15T14:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fcc6217645ea1dbbbe523968d3a25397b514a67a'/>
<id>urn:sha1:fcc6217645ea1dbbbe523968d3a25397b514a67a</id>
<content type='text'>
Tag all the coded formats where the s5p_mfc decoder supports dynamic
resolution switching or has a bytestream parser.

Signed-off-by: Maxime Jourdan &lt;mjourdan@baylibre.com&gt;
Reviewed-by: Paul Kocialkowski &lt;paul.kocialkowski@bootlin.com&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: s5p-mfc: Use platform_get_irq() to get the interrupt</title>
<updated>2022-01-28T10:39:19Z</updated>
<author>
<name>Lad Prabhakar</name>
<email>prabhakar.mahadev-lad.rj@bp.renesas.com</email>
</author>
<published>2022-01-11T00:23:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8fae0d9f571ed9ae82315f083e3584d0593c8a91'/>
<id>urn:sha1:8fae0d9f571ed9ae82315f083e3584d0593c8a91</id>
<content type='text'>
platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static
allocation of IRQ resources in DT core code, this causes an issue
when using hierarchical interrupt domains using "interrupts" property
in the node as this bypasses the hierarchical setup and messes up the
irq chaining.

In preparation for removal of static setup of IRQ resource from DT core
code use platform_get_irq().

Signed-off-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt;
Reviewed-by: Andrzej Hajda &lt;andrzej.hajda@intel.com&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: s5p-mfc: Use 'bitmap_zalloc()' when applicable</title>
<updated>2021-11-15T08:12:02Z</updated>
<author>
<name>Christophe JAILLET</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2021-10-23T10:10:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=019b48989f2223320a7ffc4f6631d8b9354051fb'/>
<id>urn:sha1:019b48989f2223320a7ffc4f6631d8b9354051fb</id>
<content type='text'>
'mfc_dev-&gt;mem_bitmap' is a bitmap. So use 'bitmap_zalloc()' to simplify
code and improve the semantic.

Also change the corresponding 'kfree()' into 'bitmap_free()' to keep
consistency.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&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: s5p-mfc: Add checking to s5p_mfc_probe().</title>
<updated>2021-09-30T08:07:54Z</updated>
<author>
<name>Nadezda Lutovinova</name>
<email>lutovinova@ispras.ru</email>
</author>
<published>2021-08-11T13:32:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=cdfaf4752e6915a4b455ad4400133e540e4dc965'/>
<id>urn:sha1:cdfaf4752e6915a4b455ad4400133e540e4dc965</id>
<content type='text'>
If of_device_get_match_data() return NULL,
then null pointer dereference occurs in  s5p_mfc_init_pm().
The patch adds checking if dev-&gt;variant is NULL.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Nadezda Lutovinova &lt;lutovinova@ispras.ru&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: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()</title>
<updated>2021-09-30T08:07:54Z</updated>
<author>
<name>Tuo Li</name>
<email>islituo@gmail.com</email>
</author>
<published>2021-08-05T07:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8515965e5e33f4feb56134348c95953f3eadfb26'/>
<id>urn:sha1:8515965e5e33f4feb56134348c95953f3eadfb26</id>
<content type='text'>
The variable pdev is assigned to dev-&gt;plat_dev, and dev-&gt;plat_dev is
checked in:
  if (!dev-&gt;plat_dev)

This indicates both dev-&gt;plat_dev and pdev can be NULL. If so, the
function dev_err() is called to print error information.
  dev_err(&amp;pdev-&gt;dev, "No platform data specified\n");

However, &amp;pdev-&gt;dev is an illegal address, and it is dereferenced in
dev_err().

To fix this possible null-pointer dereference, replace dev_err() with
mfc_err().

Reported-by: TOTE Robot &lt;oslab@tsinghua.edu.cn&gt;
Signed-off-by: Tuo Li &lt;islituo@gmail.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: s5p-mfc: Make use of the helper function devm_platform_ioremap_resource()</title>
<updated>2021-09-30T08:07:52Z</updated>
<author>
<name>Cai Huoqing</name>
<email>caihuoqing@baidu.com</email>
</author>
<published>2021-09-01T05:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5d3b9611d589d820639c1efaa9fb525c40a1841f'/>
<id>urn:sha1:5d3b9611d589d820639c1efaa9fb525c40a1841f</id>
<content type='text'>
Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing &lt;caihuoqing@baidu.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: drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c : fix typo 'in deed imporant' &gt; 'indeed important'</title>
<updated>2021-07-12T07:16:36Z</updated>
<author>
<name>Herman</name>
<email>yanshuaijun@yulong.com</email>
</author>
<published>2021-06-15T02:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d229a910bf8c597340133e69d7fbbaede5a1692c'/>
<id>urn:sha1:d229a910bf8c597340133e69d7fbbaede5a1692c</id>
<content type='text'>
Change 'imporant' into 'important'.

Signed-off-by: Herman &lt;yanshuaijun@yulong.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: s5p-mfc: Fix display delay control creation</title>
<updated>2021-06-28T13:17:42Z</updated>
<author>
<name>Marek Szyprowski</name>
<email>m.szyprowski@samsung.com</email>
</author>
<published>2021-04-23T20:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=61c6f04a988e420a1fc5e8e81cf9aebf142a7bd6'/>
<id>urn:sha1:61c6f04a988e420a1fc5e8e81cf9aebf142a7bd6</id>
<content type='text'>
v4l2_ctrl_new_std() fails if the caller provides no 'step' parameter for
integer control, so define it to fix following error:

s5p_mfc_dec_ctrls_setup:1166: Adding control (1) failed

Fixes: c3042bff918a ("media: s5p-mfc: Use display delay and display enable std controls")
Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.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>
</feed>
