drm/rockchip: vop2: Support for different layer select configuration between VPs
authorAndy Yan <andy.yan@rock-chips.com>
Tue, 18 Feb 2025 11:27:32 +0000 (19:27 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 2 Mar 2025 18:32:13 +0000 (19:32 +0100)
commit5439c4f3cb0ec11a3f3cb70be2b019770f6d183c
treea7f78a8c489130870821d40cecf68b8e08e5c40d
parent145c9b36892a07bf5e2525b4938e1a6cc9b41b7a
drm/rockchip: vop2: Support for different layer select configuration between VPs

In the upcoming VOP for rk3576, every VP has it's own LAYER_SEL
register, and the configuration value of each VP for the same
window maybe different, so extend the layer_sel_id to array,
let it can descption the layer select configuration value for
different VP.

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