]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: Register the primary plane and overlay plane separately
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 3 Mar 2025 03:44:15 +0000 (11:44 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 3 Mar 2025 21:35:18 +0000 (22:35 +0100)
commit6fd4f8a26a21dd2075cfcc7eae3b9d440d886571
tree887377210b036d64189503dae4dc83835f48aea8
parent4d2a877cc0efefa815648f1ed5f5b2b796f55bab
drm/rockchip: vop2: Register the primary plane and overlay plane separately

In the upcoming VOP of rk3576, a Window cannot attach to all Video Ports,
so make sure all VP find it's suitable primary plane, then register the
remain windows as overlay plane will make code easier.

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-2-andyshrk@163.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c