]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: Set plane possible crtcs by possible vp mask
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 3 Mar 2025 03:44:16 +0000 (11:44 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 3 Mar 2025 21:35:19 +0000 (22:35 +0100)
commitb90fa71a11600276c993e620abea8ca9f2045401
tree072ad0012f80beefd035e3be598d48df7a6203e0
parent6fd4f8a26a21dd2075cfcc7eae3b9d440d886571
drm/rockchip: vop2: Set plane possible crtcs by possible vp mask

In the upcoming VOP of rk3576, a window cannot attach to all Video
Ports, we introduce a possible_vp_mask for every window to indicate
which Video Ports this window can attach to.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Tested-by: Michael Riesch <michael.riesch@wolfvision.net> # on RK3568
Tested-by: Detlev Casanova <detlev.casanova@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250303034436.192400-3-andyshrk@163.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
drivers/gpu/drm/rockchip/rockchip_drm_vop2.h
drivers/gpu/drm/rockchip/rockchip_vop2_reg.c