Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f351299 authored by Jaganath Kanakkassery's avatar Jaganath Kanakkassery Committed by Andre Eisenbach
Browse files

Avoid using alarm APIs for LPM when Idle timeout is zero



For some vendors the idle timer value is configured to zero. But with
the current LPM timer implementation it will use the alarm APIs to
schedule wake_deassert(), which introduces context switch overhead.
The code is modified to trigger the wake_deassert immediately if the
idle timeout value is configured to zero. These changes improve OPP
throughput.

Change-Id: Ic48e7b990ccf55525a0d15b65c03daedfe03c582
Signed-off-by: default avatarJaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
Signed-off-by: default avatarZhiquan Liu <zhiquan.liu@intel.com>
parent 6d873256
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment