disp: msm: add connector API to disable cont_splash resource votes

The panel regulator votes are added by default during
dsi probe to make sure sync state driver doesn't disable
these regulators for cont_splash use case. These regulator
votes need to be removed when cont_splash feature is
disabled. Add a new connector API to handle this.

CRs-Fixed: 2734419
Change-Id: Ie54c8f246877a042afacddaeae8b90440652116f
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
此提交包含在:
Chandan Uddaraju
2020-07-23 23:55:35 -07:00
父節點 cea2d1cef0
當前提交 35b60f6208
共有 4 個檔案被更改,包括 106 行新增27 行删除

查看文件

@@ -325,6 +325,13 @@ struct sde_connector_ops {
*/
int (*cont_splash_config)(void *display);
/**
* cont_splash_res_disable - Remove any splash resources added in probe
* @display: Pointer to private display handle
* Returns: zero for success, negetive for failure
*/
int (*cont_splash_res_disable)(void *display);
/**
* get_panel_vfp - returns original panel vfp
* @display: Pointer to private display handle