drm/rockchip: vop2: Setup bg delay number for splice vp even there is no active plane

The background color and color bar won't display if the bg delay number
not correctly setting.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I11f78d043b173e4cd651f0c1ea5cab5dfe0fdb4b
This commit is contained in:
Andy Yan
2022-01-25 20:34:12 +08:00
committed by Tao Huang
parent c1527f1566
commit 0a4829dad9

View File

@@ -7162,6 +7162,8 @@ static void vop2_crtc_atomic_begin(struct drm_crtc *crtc, struct drm_crtc_state
} else {
vop2_calc_bg_ovl_and_port_mux(vp);
vop2_setup_dly_for_vp(vp);
if (vcstate->splice_mode)
vop2_setup_dly_for_vp(splice_vp);
}
/* The pre alpha overlay of Cluster still need process in one win mode. */