<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/synopsys, branch linux-6.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-05-28T16:17:20Z</updated>
<entry>
<title>Merge tag 'media/v6.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media</title>
<updated>2025-05-28T16:17:20Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2025-05-28T16:17:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a61e26038143727d9b0f1bc01b0370f77f2ad7e4'/>
<id>urn:sha1:a61e26038143727d9b0f1bc01b0370f77f2ad7e4</id>
<content type='text'>
Pull media updates from Mauro Carvalho Chehab:

 - v4l2-core fix: V4L2_BUF_TYPE_VIDEO_OVERLAY is capture, not output

 - New driver: Amlogic C3 ISP

 - New sensor drivers: ST VD55G1 and VD56G3, OmniVision OV02C10

 - amlogic: c3-mipi-csi2: Handle 64-bits division

 - a fix for 64-bits division at the amlogic c3-mipi-csi2 driver

 - Changes at atomisp to support mainline mt9m114 driver and remove
   deprecated GPIO APIs

 - various cleanups, fixes and enhancements

* tag 'media/v6.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (314 commits)
  media: rkvdec: h264: Support High 10 and 4:2:2 profiles
  media: rkvdec: Add get_image_fmt ops
  media: rkvdec: Initialize the m2m context before the controls
  media: rkvdec: h264: Limit minimum profile to constrained baseline
  media: mediatek: jpeg: support 34bits
  media: verisilicon: Free post processor buffers on error
  media: platform: mtk-mdp3: Remove unused mdp_get_plat_device
  media: amlogic: c3-mipi-csi2: Handle 64-bits division
  media: uvcvideo: Use dev_err_probe for devm_gpiod_get_optional
  media: uvcvideo: Fix deferred probing error
  media: uvcvideo: Rollback non processed entities on error
  media: uvcvideo: Send control events for partial succeeds
  media: uvcvideo: Return the number of processed controls
  media: uvcvideo: Do not turn on the camera for some ioctls
  media: uvcvideo: Make power management granular
  media: uvcvideo: Increase/decrease the PM counter per IOCTL
  media: uvcvideo: Create uvc_pm_(get|put) functions
  media: uvcvideo: Keep streaming state in the file handle
  Documentation: media: Add documentation file c3-isp.rst
  Documentation: media: Add documentation file metafmt-c3-isp.rst
  ...
</content>
</entry>
<entry>
<title>media: synopsys: hdmirx: Count dropped frames</title>
<updated>2025-05-09T09:55:07Z</updated>
<author>
<name>Nicolas Dufresne</name>
</author>
<published>2025-04-10T20:43:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57c8d79adf05244b171964d1d6c7e6fabbe5f5fd'/>
<id>urn:sha1:57c8d79adf05244b171964d1d6c7e6fabbe5f5fd</id>
<content type='text'>
The sequence number communicate the lost frames to userspace. For this
reason, it must be incremented even when a frame is skipped. This allows
userspace such as GStreamer to report the loss.

Fixes: 7b59b132ad439 ("media: platform: synopsys: Add support for HDMI input driver")
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Reviewed-by: Dmitry Osipenko &lt;dmitry.osipenko@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: synopsys: hdmirx: Renamed frame_idx to sequence</title>
<updated>2025-05-09T09:55:07Z</updated>
<author>
<name>Nicolas Dufresne</name>
</author>
<published>2025-04-10T20:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0400bee67f49753b878c2576c02c1bc454f091ed'/>
<id>urn:sha1:0400bee67f49753b878c2576c02c1bc454f091ed</id>
<content type='text'>
This variable is used to fill the v4l2_buffer.sequence, let's name it
the exact same way to reduce confusion.

No functional changes.

Fixes: 7b59b132ad439 ("media: platform: synopsys: Add support for HDMI input driver")
Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Reviewed-by: Dmitry Osipenko &lt;dmitry.osipenko@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: platform: synopsys: VIDEO_SYNOPSYS_HDMIRX should depend on ARCH_ROCKCHIP</title>
<updated>2025-04-07T06:10:39Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2025-03-18T14:03:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0dce5b44bd38af20b0383ae4cabeead37b4b9a9a'/>
<id>urn:sha1:0dce5b44bd38af20b0383ae4cabeead37b4b9a9a</id>
<content type='text'>
For now, the Synopsys HDMI HDMI RX Controller is only supported on
Rockchip RK3588 SoCs.  Hence add a dependency on ARCH_ROCKCHIP, to
prevent asking the user about this driver when configuring a kernel
without Rockchip SoC support.

Fixes: 7b59b132ad4398f9 ("media: platform: synopsys: Add support for HDMI input driver")
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Shreeya Patel &lt;shreeya.patel@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: synopsys: hdmirx: Fix signedness bug in hdmirx_parse_dt()</title>
<updated>2025-03-07T10:02:16Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2025-03-07T09:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca8dc5951b6be04bb6e2b69a1606c8fbaa5e4fb4'/>
<id>urn:sha1:ca8dc5951b6be04bb6e2b69a1606c8fbaa5e4fb4</id>
<content type='text'>
The num_clks is set this way:

	hdmirx_dev-&gt;num_clks = devm_clk_bulk_get_all(dev, &amp;hdmirx_dev-&gt;clks);
        if (hdmirx_dev-&gt;num_clks &lt; 1)
                return -ENODEV;

The devm_clk_bulk_get_all() function returns negative error codes so the
hdmirx_dev-&gt;num_cks variable needs to be signed for the error handling to
work.

Fixes: 7b59b132ad43 ("media: platform: synopsys: Add support for HDMI input driver")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Reviewed-by: Dmitry Osipenko &lt;dmitry.osipenko@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: platform: synopsys: hdmirx: Fix 64-bit division for 32-bit targets</title>
<updated>2025-03-07T07:49:35Z</updated>
<author>
<name>Nathan Chancellor</name>
</author>
<published>2025-03-06T21:45:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fae8cab4ba3a76bb883eca176bc442eb5e6d581e'/>
<id>urn:sha1:fae8cab4ba3a76bb883eca176bc442eb5e6d581e</id>
<content type='text'>
The build fails for 32-bit targets with:

  arm-linux-gnueabi-ld: drivers/media/platform/synopsys/hdmirx/snps_hdmirx.o: in function `hdmirx_get_timings':
  snps_hdmirx.c:(.text.hdmirx_get_timings+0x46c): undefined reference to `__aeabi_uldivmod'

bt-&gt;pixelclock is __u64, which causes the compiler to emit a libcall for
64-bit division. Use the optimized kernel helper, div_u64(), to resolve
this.

Fixes: 7b59b132ad43 ("media: platform: synopsys: Add support for HDMI input driver")
Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: platform: synopsys: hdmirx: Optimize struct snps_hdmirx_dev</title>
<updated>2025-03-06T16:28:31Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2025-03-06T08:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=308e51f41239c6af0f93b2f1a2b023ad31418a7c'/>
<id>urn:sha1:308e51f41239c6af0f93b2f1a2b023ad31418a7c</id>
<content type='text'>
Move cached EDID that takes 512 bytes to the bottom of struct
snps_hdmirx_dev to improve CPU's cache locality of the struct.

Signed-off-by: Dmitry Osipenko &lt;dmitry.osipenko@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: platform: synopsys: hdmirx: Remove unused HDMI audio CODEC relics</title>
<updated>2025-03-06T16:28:31Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2025-03-06T08:05:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e5bc4863c30d575458e95899dd1ffc3fc74bfea'/>
<id>urn:sha1:0e5bc4863c30d575458e95899dd1ffc3fc74bfea</id>
<content type='text'>
HDMI audio CODEC is unsupported in the current version of the driver.
Support may come later. Remove HDMI CODEC bits that were left out
by accident to keep code consistent.

Signed-off-by: Dmitry Osipenko &lt;dmitry.osipenko@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: platform: synopsys: hdmirx: Remove duplicated header inclusion</title>
<updated>2025-03-06T16:28:30Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2025-03-06T08:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a0f44372ffe586660d374164b05df1dba6e6fb2'/>
<id>urn:sha1:4a0f44372ffe586660d374164b05df1dba6e6fb2</id>
<content type='text'>
Remove second v4l2-common.h header inclusion.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202503061231.PHF6hEL2-lkp@intel.com/
Signed-off-by: Dmitry Osipenko &lt;dmitry.osipenko@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: platform: synopsys: Add support for HDMI input driver</title>
<updated>2025-03-05T16:40:18Z</updated>
<author>
<name>Shreeya Patel</name>
</author>
<published>2025-03-04T08:58:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b59b132ad4398f9c13c3222e5126f5045aa5ead'/>
<id>urn:sha1:7b59b132ad4398f9c13c3222e5126f5045aa5ead</id>
<content type='text'>
Add initial support for the Synopsys DesignWare HDMI RX
Controller Driver used by Rockchip RK3588. The driver
supports:
 - HDMI 1.4b and 2.0 modes (HDMI 4k@60Hz)
 - RGB888, YUV422, YUV444 and YCC420 pixel formats
 - CEC
 - EDID configuration

The hardware also has Audio and HDCP capabilities, but these are
not yet supported by the driver.

Co-developed-by: Dingxian Wen &lt;shawn.wen@rock-chips.com&gt;
Signed-off-by: Dingxian Wen &lt;shawn.wen@rock-chips.com&gt;
Signed-off-by: Shreeya Patel &lt;shreeya.patel@collabora.com&gt;
Signed-off-by: Dmitry Osipenko &lt;dmitry.osipenko@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
</feed>
