Merge tag 'LA.UM.9.14.r1-23800-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.r1-23800-LAHAINA.QSSI14.0" * tag 'LA.UM.9.14.r1-23800-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers: disp: msm: add support for hibernation Change-Id: Ieefc35e48b8d7068279c592918329e43b3d3959e
This commit is contained in:
commit
7f04c28240
@ -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;
|
||||
|
@ -3851,6 +3851,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++) {
|
||||
@ -3859,9 +3860,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