disp: msm: sde: shorter idle-pc duration in doze mode
Currently aggresive idle-pc entry is only enabled in case of doze-suspend mode. Extend the support to doze mode as well. Change-Id: I8e9e0e116bb65a1aec0180bf9bc10bed99d4a137 Signed-off-by: Govinda Rao K S <quic_gkarikur@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
de4b82ec48
commit
c35cbdda4f
@@ -1898,7 +1898,7 @@ static void _sde_encoder_rc_restart_delayed(struct sde_encoder_virt *sde_enc,
|
|||||||
else
|
else
|
||||||
lp = SDE_MODE_DPMS_ON;
|
lp = SDE_MODE_DPMS_ON;
|
||||||
|
|
||||||
if (lp == SDE_MODE_DPMS_LP2)
|
if ((lp == SDE_MODE_DPMS_LP1) || (lp == SDE_MODE_DPMS_LP2))
|
||||||
idle_pc_duration = IDLE_SHORT_TIMEOUT;
|
idle_pc_duration = IDLE_SHORT_TIMEOUT;
|
||||||
else
|
else
|
||||||
idle_pc_duration = IDLE_POWERCOLLAPSE_DURATION;
|
idle_pc_duration = IDLE_POWERCOLLAPSE_DURATION;
|
||||||
|
Reference in New Issue
Block a user