drm/rockchip: vop2: close esmart pd when disable vop

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Ic12297df5e47e31e5eb3472a89030b158477ed60
This commit is contained in:
Zhang Yubing
2022-07-30 15:28:04 +08:00
committed by Tao Huang
parent c26747a966
commit 0b955c148d

View File

@@ -3816,7 +3816,7 @@ static void vop2_crtc_atomic_disable(struct drm_crtc *crtc,
* turn down when the whole VOP_PD off.
* see vop2_power_domain_put at vop2_win_disable
*/
if (vop2->enable_count == 1 && vcstate->splice_mode == true)
if (vop2->enable_count == 1)
vop2_power_domain_esmat_off(crtc);
if (vop2->dscs[vcstate->dsc_id].enabled &&