[PATCH v2 0/2] drm/rockchip: vop2: Give each RK3588 video port its own cluster
Arun Iyengar via B4 Relay
devnull+aiyengar1990.gmail.com at kernel.org
Tue Dec 1 02:28:04 PST 2026
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 at gmail.com>
More information about the Linux-rockchip
mailing list