drm/rockchip: vop2: set bg dly and prescan dly at vop2_post_config
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 11 Dec 2023 11:58:15 +0000 (19:58 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 13 Dec 2023 14:17:52 +0000 (15:17 +0100)
commit075a5b3969becb1ebc2f1d4fa1a1fe9163679273
tree1df839a32d1130ff91259192e206155cc1121c35
parentdd49ee4614cfb0b1f627c4353b60cecfe998a374
drm/rockchip: vop2: set bg dly and prescan dly at vop2_post_config

We need to setup background delay cycle and prescan
delay cycle when a mode is enable to avoid trigger
POST_BUF_EMPTY irq on rk3588.

Note: RK356x has no such requirement.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231211115815.1785131-1-andyshrk@163.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c