mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: vop2: fix splash screen when vsync less than 8
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I065f1e5d4795b10442d285eae2178153be870d02
This commit is contained in:
@@ -6259,6 +6259,9 @@ static void vop2_setup_dly_for_vp(struct vop2_video_port *vp)
|
||||
else
|
||||
pre_scan_dly = bg_dly + (hdisplay >> 1) - 1;
|
||||
|
||||
if (vop2->version == VOP_VERSION_RK3588 && hsync_len < 8)
|
||||
hsync_len = 8;
|
||||
|
||||
pre_scan_dly = (pre_scan_dly << 16) | hsync_len;
|
||||
|
||||
VOP_MODULE_SET(vop2, vp, bg_dly, bg_dly);
|
||||
|
||||
Reference in New Issue
Block a user