From: Arun Iyengar via B4 Relay <devnull+aiyengar1990.gmail.com@kernel.org>
To: "Sandy Huang" <hjc@rock-chips.com>,
"Heiko Stübner" <heiko@sntech.de>, "Andy Yan" <andyshrk@163.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Rob Herring" <robh@kernel.org>
Cc: dri-devel@lists.freedesktop.org,
linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Chaoyi Chen <chaoyi.chen@rock-chips.com>,
Damon Ding <damon.ding@rock-chips.com>,
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>,
Arun Iyengar <aiyengar1990@gmail.com>
Subject: [PATCH v2 0/2] drm/rockchip: vop2: Give each RK3588 video port its own cluster
Date: Tue, 01 Dec 2026 10:28:04 +0000 [thread overview]
Message-ID: <20261201-vop2-axi-primary-v2-0-e111a8c05883@gmail.com> (raw)
Tested on Orange Pi 5, HDMI 4K120 + DP 4K60, v7.3 plus local HDMI FRL and
750 MHz aclk_vop (not in mainline): 7207 bad frames in 60 s before, 0 after.
With KASAN, an injected vop2_create_crtcs() failure binds on retry without
a splat (the use-after-free itself was not reproduced), and with VP0 + VP2
Cluster1 defaults above VP2's primary.
This does not enforce the TRM rule Chaoyi Chen quoted (one video port's
layers on one AXI port); overlay planes are unchanged.
Applies with Chaoyi Chen's 8K series [1]: VP0 keeps Cluster0 and Cluster1.
[1] https://lore.kernel.org/all/20261116084555.1061-4-kernel@airkyi.com/
Developed with Claude (Anthropic), which wrote the code and the commit
messages. I reviewed every change.
---
Changes in v2:
- New patch 1: clean up after a failed vop2_create_crtcs() (Sashiko).
- Patch 2: primary planes get the lowest default zpos (Sashiko).
- Patch 2: commit message states overlays and VP0+VP1 boards are
unchanged (Sashiko).
- Patch 2: drop the Fixes tag; mainline cannot reach this load.
- Link to v1: https://patch.msgid.link/20261121-vop2-axi-primary-v1-1-8d5c74905207@gmail.com
---
Arun Iyengar (2):
drm/rockchip: vop2: Clean up after a failed vop2_create_crtcs()
drm/rockchip: vop2: Give each RK3588 video port its own cluster
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 43 +++++++++++++++++++---------
1 file changed, 30 insertions(+), 13 deletions(-)
---
base-commit: c408466a4dfaee4b12587e926c5b85e68c8b3c40
change-id: 20261121-vop2-axi-primary-971fcba0d98e
Best regards,
--
Arun Iyengar <aiyengar1990@gmail.com>
next reply other threads:[~2026-12-01 10:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 10:28 Arun Iyengar via B4 Relay [this message]
2026-12-01 10:28 ` [PATCH v2 1/2] drm/rockchip: vop2: Clean up after a failed vop2_create_crtcs() Arun Iyengar via B4 Relay
2026-12-01 10:28 ` [PATCH v2 2/2] drm/rockchip: vop2: Give each RK3588 video port its own cluster Arun Iyengar via B4 Relay
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=20261201-vop2-axi-primary-v2-0-e111a8c05883@gmail.com \
--to=devnull+aiyengar1990.gmail.com@kernel.org \
--cc=airlied@gmail.com \
--cc=aiyengar1990@gmail.com \
--cc=andyshrk@163.com \
--cc=chaoyi.chen@rock-chips.com \
--cc=cristian.ciocaltea@collabora.com \
--cc=damon.ding@rock-chips.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=hjc@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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
all inboxes | Powered by JetHome®