Skip to content

cAVS: pm_runtime: change to use bool flag to denote the DSP target state - #3252

Merged
jajanusz merged 1 commit into
thesofproject:masterfrom
keyonjie:pm_gate
Jul 30, 2020
Merged

jajanusz merged 1 commit into
thesofproject:masterfrom
keyonjie:pm_gate

Conversation

@keyonjie

Copy link
Copy Markdown
Contributor

Remove the usage of refcount dsp_d0_sref, and use bool flag dsp_d0 to
denote is the DSP target state is D0 or D0ix (Low power mode).

This will simplify the logic of use of LPS and clock switching.

Signed-off-by: Keyon Jie yang.jie@linux.intel.com

Remove the usage of refcount dsp_d0_sref, and use bool flag dsp_d0 to
denote is the DSP target state is D0 or D0ix (Low power mode).

This will simplify the logic of use of LPS and clock switching.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
@mmaka1

mmaka1 commented Jul 29, 2020

Copy link
Copy Markdown

Note: Once the clock switching is decoupled from the dsp pm-runtime (d0 override), the low power scenarios (LPS) should be active by override bitmap to enable multiple clients, not just the host through pm_gate IPC.

@jajanusz
jajanusz merged commit 21573f4 into thesofproject:master Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants