[PATCH 0/2] drm/rockchip: vop2: two fixes from working on DSI enablement

From: Heiko Stuebner
Date: Thu Apr 25 2024 - 15:55:26 EST


While working on enabling DSI support on rk3588 I stumbled across the issue
of the display staying black while both the vop2 and dsi drivers were
claiming to be running just fine.

After a bit of checking I found that I got DSI output on VP3 when HDMI
on VP0 was at least associated in the DTS, but not without.

Andy's patch [0] helped and is definitly necessary, but did not fix the
problem completely. The missing thing was that VP3 is rk3588-specific
(rk3568 only has 3 video-ports, not 4 like rk3588) and the layers of
VP3 never got configured.

Patch2 fixes this.


[0] https://lore.kernel.org/dri-devel/20240422101905.32703-2-andyshrk@xxxxxxx/

Heiko Stuebner (2):
drm/rockchip: vop2: fix rk3588 dp+dsi maxclk verification
drm/rockchip: vop2: configure layers for vp3 on rk3588

drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 16 ++++++++++++++--
drivers/gpu/drm/rockchip/rockchip_drm_vop2.h | 1 +
2 files changed, 15 insertions(+), 2 deletions(-)

--
2.39.2