mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user