-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hda: separation of l1 settings to power manager #66042
hda: separation of l1 settings to power manager #66042
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to be moving some ace specifics into power management for all of Zephyr while not actually changing the logic involved.
If soc specifics are needed in sof then those need to be exposed through the soc headers not through the general pm device header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adsp specific logic and should never be part of Zephyr's device pm interface.
ffd555b
to
f1515a9
Compare
I changed the location of the function to soc/xtensa/intel_adsp/common/include/intel_adsp_ipc.h |
I changed the location of the function to soc/xtensa/intel_adsp/common/include/intel_adsp_ipc.h |
f1515a9
to
9a193ac
Compare
b989a6b
to
aa1d95f
Compare
Yes. It's about Direct Media Interface |
@marc-hb wrote:
I don't think it doesn't matter much here. The property we are setting is really tied to DMA (not typo) here. Behind the DMA, there will be DMI in the end, but from the point of view of the DSP, this difference has little practical meaning. |
When you run Names look good to me now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Looks fine, I would just remove "ipc" from function names, it seems unrelated |
Separating two new functions force and allow l1 to have the current state with separated functions in the ipc file so that SOF can call these functions via IPC DMI_FORCE_L1_EXIT. Change related to the addition of a new parameter to force DMI L1 exit on IPC request. Signed-off-by: Fabiola Kwasowiec <fabiola.kwasowiec@intel.com>
aa1d95f
to
869c9ca
Compare
This fails to compile for LNL: https://github.com/thesofproject/sof/actions/runs/7196263630/job/19600738125?pr=8618
|
By using ADSP_FORCE_DECOUPLED_HDMA_L1_EXIT_BIT in a common .h file, this commit => now ADSP_FORCE_DECOUPLED_HDMA_L1_EXIT_BIT must always be defined, even when CONFIG_DMA_INTEL_ADSP_HDA_TIMING_L1_EXIT is false. Is this new requirement OK? Of course another question is: why is CONFIG_DMA_INTEL_ADSP_HDA_TIMING_L1_EXIT false on LNL? But that's a different question. |
5 months and probably a lot of wasted time later: |
Separating two new functions force and allow l1 to have the current state with separated functions in the power manager so that SOF can call these functions via IPC DMI_FORCE_L1_EXIT. Change related to the addition of a new parameter to force DMI L1 exit on IPC request.
Associated with: https://github.com/thesofproject/sof/pull/8561/files