drm/rockchip: vop2: Clear vcstate output_type when crtc disable

Output interface may be changed after CRTC disabled. Clear it to keep
the same state as first started up.

Change-Id: I78ccebc3e0bd9592c2f0a0cdb9d911f3d3477d9d
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
This commit is contained in:
Chaoyi Chen
2024-12-11 17:26:23 +08:00
committed by Tao Huang
parent 4526fb661c
commit dddd9eb669

View File

@@ -5267,6 +5267,7 @@ static void vop2_crtc_atomic_disable(struct drm_crtc *crtc,
vop2->active_display_mask &= ~BIT(vp->id);
vcstate->splice_mode = false;
vcstate->output_flags = 0;
vcstate->output_type = 0;
vp->splice_mode_right = false;
vp->loader_protect = false;
splice_vp->splice_mode_right = false;