mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/rockchip: vop2: Give each RK3588 video port its own cluster
@ 2026-12-01 10:28 Arun Iyengar via B4 Relay
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Arun Iyengar via B4 Relay @ 2026-12-01 10:28 UTC (permalink / raw)
  To: Sandy Huang, Heiko Stübner, Andy Yan, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
	Sascha Hauer, Rob Herring
  Cc: dri-devel, linux-rockchip, linux-arm-kernel, linux-kernel,
	Chaoyi Chen, Damon Ding, Cristian Ciocaltea, Arun Iyengar

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>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-01 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 10:28 [PATCH v2 0/2] drm/rockchip: vop2: Give each RK3588 video port its own cluster Arun Iyengar via B4 Relay
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

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®