diff --git a/qcom/opensource/display-drivers/msm/dsi/dsi_panel.c b/qcom/opensource/display-drivers/msm/dsi/dsi_panel.c index dce2ed4810..6643bd5b12 100644 --- a/qcom/opensource/display-drivers/msm/dsi/dsi_panel.c +++ b/qcom/opensource/display-drivers/msm/dsi/dsi_panel.c @@ -4641,6 +4641,10 @@ int dsi_panel_pre_prepare(struct dsi_panel *panel) mutex_lock(&panel->panel_lock); +#if IS_ENABLED(CONFIG_DISPLAY_SAMSUNG) + ss_panel_power_on_pre_lp11(panel->panel_private); +#endif + /* If LP11_INIT is set, panel will be powered up during prepare() */ if (panel->lp11_init) goto error; diff --git a/qcom/opensource/display-drivers/msm/sde/sde_encoder_dce.h b/qcom/opensource/display-drivers/msm/sde/sde_encoder_dce.h index f19cfe42ef..fda76caa46 100644 --- a/qcom/opensource/display-drivers/msm/sde/sde_encoder_dce.h +++ b/qcom/opensource/display-drivers/msm/sde/sde_encoder_dce.h @@ -43,4 +43,8 @@ void sde_encoder_dce_flush(struct sde_encoder_virt *sde_enc); */ bool sde_encoder_has_dsc_hw_rev_2(struct sde_encoder_virt *sde_enc); +#if IS_ENABLED(CONFIG_DISPLAY_SAMSUNG) +int sde_encoder_is_dsc_enabled(struct sde_encoder_virt *sde_enc); +#endif + #endif /* __SDE_ENCODER_DCE_H__ */