From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
To: aiyengar1990@gmail.com,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Hans Verkuil <hverkuil@kernel.org>,
Alex Bee <knaerzche@gmail.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Subject: Re: [PATCH v3 0/3] media: rockchip: Add the IEP2 deinterlacer of RK3568/RK3588
Date: Mon, 23 Nov 2026 16:37:43 -0500 [thread overview]
Message-ID: <aa951ce0fd972085a4c9fb19a3c67e36ed90dc7f.camel@collabora.com> (raw)
In-Reply-To: <20261120-iep2-v3-0-e94eb9f629d2@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3393 bytes --]
Le vendredi 20 novembre 2026 à 11:30 +0000, Arun Iyengar via B4 Relay a écrit :
> Add a V4L2 mem2mem driver for the IEP2 deinterlacer of the RK3568 and
> RK3588, with its binding and the RK3588 DT node. The V4L2 side follows
> Alex Bee's IEP driver.
>
> Tested on an Orange Pi 5 (RK3588S) with a 7.3-based kernel (KASAN,
> lockdep); build-tested on media next. v4l2-compliance 59/59, all four
> modes at 1080i without IOMMU faults, s2idle and deep suspend while
> streaming, unbind while streaming, forced watchdog and IOMMU fault
> resets. Not tested: RK3568. DMABUF imports of exactly the image size
> are refused, because of the 4 KiB OUTPUT padding (see 2/3).
What software makes use of this driver? Did you test in a real application?
>
> One case is still open: a reset during a transfer, seen only with
> forced watchdog resets, can leave the IOMMU busy. Jobs then fail
> without DMA and the driver suspends at once so that PD_VDPU powers
> off, which restores it. While another device of the domain, e.g. a
> video decoder, keeps it on, the jobs keep failing.
What do you mean by iommu busy? In the decoder, some errors would lead to the
decoder core doing a self reset witch we believe wipes the MMU registers. Could
the watchdog reset endup doing the same?
>
> Developed with Claude (Anthropic), which wrote the code and the commit
> messages. I reviewed every change.
>
> ---
> Changes in v3:
> - Drop the vendor kernel notes from the commit messages and cover (Krzysztof)
> - 1/3: drop the linux-media list from the MAINTAINERS entry (Krzysztof)
> - 1/3: add Krzysztof's Reviewed-by
> - 2/3: start the job and its watchdog under irq_lock (Sashiko)
> - 2/3: soft-reset the core with the AXI side, CRU reset if the IOMMU
> stays lost, shared IRQ off during a reset; no DMA until the IOMMU is
> restored
> - 2/3: return OUTPUT buffers before CAPTURE buffers
> - 2/3: mask and clear all interrupts on completion and before a job
> - 2/3: suspend at once when the IOMMU is lost
> - 2/3: take the mutex in system suspend
> - Link to v2: https://patch.msgid.link/20261115-iep2-v2-0-3d8798cd9a55@gmail.com
>
> ---
> Arun Iyengar (3):
> media: dt-bindings: Add Rockchip IEP2 deinterlacer
> media: rockchip: Add IEP2 deinterlacer driver
> arm64: dts: rockchip: Add IEP2 deinterlacer to RK3588
>
> Documentation/admin-guide/media/rockchip-iep2.rst | 32 +
> Documentation/admin-guide/media/v4l-drivers.rst | 1 +
> .../bindings/media/rockchip,rk3568-iep2.yaml | 95 ++
> MAINTAINERS | 8 +
> arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 22 +
> drivers/media/platform/rockchip/Kconfig | 1 +
> drivers/media/platform/rockchip/Makefile | 1 +
> drivers/media/platform/rockchip/iep2/Kconfig | 16 +
> drivers/media/platform/rockchip/iep2/Makefile | 3 +
> drivers/media/platform/rockchip/iep2/iep2-regs.h | 191 +++
> drivers/media/platform/rockchip/iep2/iep2.c | 1320 ++++++++++++++++++++
> drivers/media/platform/rockchip/iep2/iep2.h | 108 ++
> 12 files changed, 1798 insertions(+)
> ---
> base-commit: ad6549a46748d00818483b535e5cd2a704685c98
> change-id: 20261110-iep2-b9a9c6e77c44
>
> Best regards,
> --
> Arun Iyengar <aiyengar1990@gmail.com>
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2026-11-23 21:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 11:30 [PATCH v3 0/3] media: rockchip: Add the IEP2 deinterlacer of RK3568/RK3588 Arun Iyengar via B4 Relay
2026-11-20 11:30 ` [PATCH v3 1/3] media: dt-bindings: Add Rockchip IEP2 deinterlacer Arun Iyengar via B4 Relay
2026-11-20 11:30 ` [PATCH v3 2/3] media: rockchip: Add IEP2 deinterlacer driver Arun Iyengar via B4 Relay
2026-11-20 11:30 ` [PATCH v3 3/3] arm64: dts: rockchip: Add IEP2 deinterlacer to RK3588 Arun Iyengar via B4 Relay
2026-11-23 21:37 ` Nicolas Dufresne [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa951ce0fd972085a4c9fb19a3c67e36ed90dc7f.camel@collabora.com \
--to=nicolas.dufresne@collabora.com \
--cc=aiyengar1990@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=hverkuil@kernel.org \
--cc=knaerzche@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mchehab@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox