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>
This commit is contained in:
Chandan Uddaraju
2020-07-23 23:55:35 -07:00
parent cea2d1cef0
commit 35b60f6208
4 ha cambiato i file con 106 aggiunte e 27 eliminazioni

Vedi File

@@ -737,6 +737,14 @@ enum dsi_pixel_format dsi_display_get_dst_format(
* Return: Zero on Success
*/
int dsi_display_cont_splash_config(void *display);
/**
* dsi_display_cont_splash_res_disable() - Disable resource votes added in probe
* @display: Pointer to dsi display
* Returns: Zero on success
*/
int dsi_display_cont_splash_res_disable(void *display);
/*
* dsi_display_get_panel_vfp - get panel vsync
* @display: Pointer to private display structure