drm/rockchip: vop2: Add platform specific callback
authorAndy Yan <andy.yan@rock-chips.com>
Tue, 18 Feb 2025 11:27:30 +0000 (19:27 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 2 Mar 2025 18:32:13 +0000 (19:32 +0100)
commit328e6885996ca2c6eb8b07d3c9bb1439fdcb088f
tree37371158cd02b60d9f4dd791b2e1771c0812572a
parent838a871a4d51b59fe56ac0422b97443203bfa55c
drm/rockchip: vop2: Add platform specific callback

The VOP interface mux, overlay, background delay cycle configuration
of different SOC are much different. Add platform specific callback
ops to let the core driver look cleaner and more refined.

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-4-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