mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: vop2: memset tv state when disable crtc
before this commit, the bcsh config is incorrect at the following case:
vp1 -> hdmi plug in -> 1080p -> config bcsh(vp1 bcsh r2y/r2y enable)
-> vp1 -> hdmi plug out
-> vp0 -> hdmi plug in -> 8k(vp0 bcsh r2y/yr2 disable, vp1 bcsh r2y/r2y enable)
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Icd794a3a8b5f896bd65bd243d977106117bdaac4
This commit is contained in:
@@ -4340,6 +4340,7 @@ static void vop2_crtc_atomic_disable(struct drm_crtc *crtc,
|
||||
vp->splice_mode_right = false;
|
||||
vp->loader_protect = false;
|
||||
splice_vp->splice_mode_right = false;
|
||||
memset(&vp->active_tv_state, 0, sizeof(vp->active_tv_state));
|
||||
vop2_unlock(vop2);
|
||||
|
||||
vop2_set_system_status(vop2);
|
||||
|
||||
Reference in New Issue
Block a user