Merge 2653c8e813
on remote branch
Change-Id: I5459a6511b0cb81978355a73460475096ffd5165
This commit is contained in:
commit
0e1c2facb4
@ -2716,7 +2716,7 @@ static int dsi_display_phy_power_off(struct dsi_display *display)
|
||||
return rc;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DEEPSLEEP
|
||||
#if defined(CONFIG_DEEPSLEEP) || defined(CONFIG_HIBERNATION)
|
||||
int dsi_display_unset_clk_src(struct dsi_display *display)
|
||||
{
|
||||
int rc = 0;
|
||||
|
@ -3779,6 +3779,7 @@ static int _sde_kms_pm_deepsleep_helper(struct sde_kms *sde_kms, bool enter)
|
||||
if (mem_sleep_current != PM_SUSPEND_MEM)
|
||||
return 0;
|
||||
|
||||
/*Applicable for both deepsleep and hibernation*/
|
||||
SDE_INFO("Deepsleep : enter %d\n", enter);
|
||||
|
||||
for (i = 0; i < sde_kms->dsi_display_count; i++) {
|
||||
@ -3787,9 +3788,9 @@ static int _sde_kms_pm_deepsleep_helper(struct sde_kms *sde_kms, bool enter)
|
||||
|
||||
|
||||
if (enter) {
|
||||
/* During deepsleep, clk_parent are reset at HW
|
||||
* but sw caching is retained in clk framework. To
|
||||
* maintain same state. unset parents and restore
|
||||
/* During deepsleep/hibernation, clk_parent are reset
|
||||
* at HW but sw caching is retained in clk framework.
|
||||
* To maintain same state. unset parents and restore
|
||||
* during exit.
|
||||
*/
|
||||
if (dsi_display->needs_clk_src_reset)
|
||||
|
Loading…
Reference in New Issue
Block a user