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

Commit f99fdbf3 authored by Patrick Lai's avatar Patrick Lai Committed by Banajit Goswami
Browse files

ASoC: msm8996: overwrite pmqos request for low latency playback



During low latency playback testing, it was found that allowing
CPU to enter L2 power collapse(PC) state has adverse effect on power
consumption. This adverse effect can be avoided by voting lower
latency requirement through PM_QOS framework. ALSA core framework
votes on behalf of client driver. However, latency value is derived
based on 75% of period size and does not provide hook for client
driver to customize ratio. This latency value on MSM8996 would not
allow CPU to enter L2 PC state with 5ms buffer size. In consideration
of avoiding change in ALSA core framework and not impacting other
existing use case behavior, update MSM8996 machine driver to
overwrite pmqos latency value only for low latency PCM device.

Change-Id: I21605d077805c039039c95d1b58443ee1d63e2b1
Signed-off-by: default avatarPatrick Lai <plai@codeaurora.org>
parent 13848461
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