Skip to content

Commit

Permalink
zephyr: enable HIFI_SHARING if DP scheduler is enabled with HIFI
Browse files Browse the repository at this point in the history
If data processing (DP) scheduler is enabled on Xtensa HiFi
platforms, CONFIG_HIFI_SHARING should be enabled as well. Otherwise
modules running via DP scheduler cannot use HiFi extensions (as
the HiFi register state is not saved and restored on context
switches).

Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
kv2019i committed Nov 8, 2024
1 parent b372425 commit f0b68db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ config ZEPHYR_DP_SCHEDULER
depends on ZEPHYR_SOF_MODULE
depends on ACE
depends on PIPELINE_2_0
imply XTENSA_HIFI_SHARING if XTENSA_HIFI
help
Enable Data Processing preemptive scheduler based on
Zephyr preemptive threads.
Expand Down

0 comments on commit f0b68db

Please sign in to comment.