Skip to content

Commit

Permalink
disp: msm: sde: shorter idle-pc duration in doze mode
Browse files Browse the repository at this point in the history
Currently aggresive idle-pc entry is only enabled in
case of doze-suspend mode. Extend the support to doze
mode as well.
  • Loading branch information
Govinda Rao K S authored and Ristovski committed Nov 28, 2023
1 parent e41721f commit 66d6acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion techpack/display/msm/sde/sde_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ static void _sde_encoder_rc_restart_delayed(struct sde_encoder_virt *sde_enc,
else
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;
else
idle_pc_duration = IDLE_POWERCOLLAPSE_DURATION;
Expand Down

0 comments on commit 66d6acd

Please sign in to comment.