<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/mediatek, branch linux-6.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-05-15T06:13:31Z</updated>
<entry>
<title>media: mediatek: jpeg: support 34bits</title>
<updated>2025-05-15T06:13:31Z</updated>
<author>
<name>Jianhua Lin</name>
</author>
<published>2025-04-24T09:08:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7560349ee0d9441642da6d38c3822d08fffdd2fb'/>
<id>urn:sha1:7560349ee0d9441642da6d38c3822d08fffdd2fb</id>
<content type='text'>
The HW iommu is able to support a 34-bit iova address-space (16GB),
enable this feature for the encoder/decoder driver by shifting the
address by two bits and setting the extended address registers.

Signed-off-by: Jianhua Lin &lt;jianhua.lin@mediatek.com&gt;
Reviewed-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: platform: mtk-mdp3: Remove unused mdp_get_plat_device</title>
<updated>2025-05-15T06:13:31Z</updated>
<author>
<name>Dr. David Alan Gilbert</name>
</author>
<published>2025-02-05T02:18:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=59f94c57b5175cd094f2ded4f0437217bce2447d'/>
<id>urn:sha1:59f94c57b5175cd094f2ded4f0437217bce2447d</id>
<content type='text'>
mdp_get_plat_device() was added in 2022 but has remained unused.

Remove it.

Fixes: 61890ccaefaf ("media: platform: mtk-mdp3: add MediaTek MDP3 driver")
Signed-off-by: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;
Reviewed-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: platform: use (t,l)/wxh format for rectangle</title>
<updated>2025-04-30T06:16:07Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2025-03-04T11:08:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80a9da00b999561882d8ec3bda0a131476628a9a'/>
<id>urn:sha1:80a9da00b999561882d8ec3bda0a131476628a9a</id>
<content type='text'>
Standardize reporting of rectangles to (t,l)/wxh.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: mediatek: vcodec: Enable HEVC main still picture decode</title>
<updated>2025-04-24T13:21:34Z</updated>
<author>
<name>Nathan Hebert</name>
</author>
<published>2025-02-12T00:34:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f5f28084eb9dbb408cf5429018a9b7a2859616f'/>
<id>urn:sha1:3f5f28084eb9dbb408cf5429018a9b7a2859616f</id>
<content type='text'>
Mediatek devices that support HEVC also support the main still picture
profile, but today, the main still picture profile is excluded.

This removes the skip mask for HEVC, and enables the main still
picture profile decoding.

Signed-off-by: Nathan Hebert &lt;nhebert@chromium.org&gt;
Reviewed-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: mediatek: vcodec: add description for vsi struct</title>
<updated>2025-04-11T11:21:14Z</updated>
<author>
<name>Yunfei Dong</name>
</author>
<published>2025-03-08T07:47:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c3596d7e83a320ef7241de6e194d85bec5974ea'/>
<id>urn:sha1:4c3596d7e83a320ef7241de6e194d85bec5974ea</id>
<content type='text'>
The vsi (video shared information) struct needs to be synchronized
between firmware and host, as a change that is only done in the host
version of the struct but isn't synchronized to the firmware. This can
lead to decoding issues with H264 bitstreams. Highlight this requirement
within the struct descriptions.

Signed-off-by: Yunfei Dong &lt;yunfei.dong@mediatek.com&gt;
Reviewed-by: Chen-Yu Tsai &lt;wenst@chromium.org&gt;
Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: mediatek: vcodec: support extended h264 decode</title>
<updated>2025-04-11T11:21:13Z</updated>
<author>
<name>Yunfei Dong</name>
</author>
<published>2025-03-08T07:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8c3bb1e54457eec538907a614fab3c9c9295ff8'/>
<id>urn:sha1:c8c3bb1e54457eec538907a614fab3c9c9295ff8</id>
<content type='text'>
Add a new extended vsi_ext struct besides the existing vsi struct, to
enable calculating the end of the address range of the current working
buffer for architectures, where simply adding the buffer size to the
start of the address range isn't sufficient.
Additionally, on extended architectures, the NAL information can be
fetched directly from the firmware, which allows skipping the parsing
step within the kernel.

Signed-off-by: Yunfei Dong &lt;yunfei.dong@mediatek.com&gt;
Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: mediatek: vcodec: remove vsi operation in common interface</title>
<updated>2025-04-11T11:21:12Z</updated>
<author>
<name>Yunfei Dong</name>
</author>
<published>2025-03-08T07:47:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80d45644d5f93d941ff127a0791362a0738c0745'/>
<id>urn:sha1:80d45644d5f93d941ff127a0791362a0738c0745</id>
<content type='text'>
Extend the VSI (video shared information) struct to allow sending slice
parameters to SCP, as the parameters have changed on MT8188 architecture.
Remove VSI related information from the common interface to ensure that
the interface is usable by architectures with and without the extended
parameters. The new VSI extensions will be introduced in later patches.

Signed-off-by: Yunfei Dong &lt;yunfei.dong@mediatek.com&gt;
Reviewed-by: Chen-Yu Tsai &lt;wenst@chromium.org&gt;
Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: mediatek: vcodec: Correct vsi_core framebuffer size</title>
<updated>2025-04-11T11:21:12Z</updated>
<author>
<name>Fei Shao</name>
</author>
<published>2025-03-14T07:56:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f19035b86382f635a0d13d177b601babaf263a12'/>
<id>urn:sha1:f19035b86382f635a0d13d177b601babaf263a12</id>
<content type='text'>
The framebuffer size for decoder instances was being incorrectly set -
inst-&gt;vsi_core-&gt;fb.y.size was assigned twice consecutively.

Assign the second picinfo framebuffer size to the C framebuffer instead,
which appears to be the intended target based on the surrounding code.

Fixes: 2674486aac7d ("media: mediatek: vcodec: support stateless hevc decoder")
Cc: stable@vger.kernel.org
Signed-off-by: Fei Shao &lt;fshao@chromium.org&gt;
Reviewed-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: mediatek: vcodec: Remove trailing space after \n newline</title>
<updated>2025-04-08T07:21:21Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2024-09-02T14:07:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ddc3d6c16ea2587898a315f20f7b8fbd791dc1b'/>
<id>urn:sha1:9ddc3d6c16ea2587898a315f20f7b8fbd791dc1b</id>
<content type='text'>
There is a extraneous space after a newline in a mtk_venc_debug message.
Remove it.

Signed-off-by: Colin Ian King &lt;colin.i.king@gmail.com&gt;
Reviewed-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization</title>
<updated>2025-02-21T09:33:02Z</updated>
<author>
<name>Jiasheng Jiang</name>
</author>
<published>2025-02-18T18:58:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4936cd5817af35d23e4d283f48fa59a18ef481e4'/>
<id>urn:sha1:4936cd5817af35d23e4d283f48fa59a18ef481e4</id>
<content type='text'>
On Mediatek devices with a system companion processor (SCP) the mtk_scp
structure has to be removed explicitly to avoid a resource leak.
Free the structure in case the allocation of the firmware structure fails
during the firmware initialization.

Fixes: 53dbe0850444 ("media: mtk-vcodec: potential null pointer deference in SCP")
Cc: stable@vger.kernel.org
Signed-off-by: Jiasheng Jiang &lt;jiashengjiangcool@gmail.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
</feed>
