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