drm/rockchip: dw-dp: protect panel status when show logo

Change-Id: I506170da755fb25d43296e28378299392de177e3
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
This commit is contained in:
Zhang Yubing
2025-08-19 11:54:39 +08:00
committed by Tao Huang
parent c42d5b7f6c
commit ae9109eca6

View File

@@ -3309,6 +3309,8 @@ static int dw_dp_loader_protect(struct rockchip_drm_sub_dev *sub_dev, bool on)
struct dw_dp *dp = container_of(sub_dev, struct dw_dp, sub_dev);
dp->is_loader_protect = true;
if (dp->panel)
rockchip_drm_panel_loader_protect(dp->panel, on);
_dw_dp_loader_protect(dp, on);
if (dp->right)
_dw_dp_loader_protect(dp->right, on);