Skip to content
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

topology2: add ALC5650 codec support #16

Open
wants to merge 546 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
546 commits
Select commit Hold shift + click to select a range
4aacac3
Use file_error function to print file related errors
softwarecki Mar 7, 2023
125745b
file_utils: Fix error detection in get_file_size function
softwarecki Mar 7, 2023
343b6d8
Revert "config:tgl/tglh: Do not set cached/uncached address aliases"
lyakh Mar 10, 2023
63eb6ff
cAVS: add alias definitions to cAVS 1.5-2.0
lyakh Mar 21, 2023
1bf447c
config: tgl-h-cavs: align modules to tgl-cavs config
kv2019i Mar 30, 2023
01fd742
lnl: Add LNL configuration file
jxstelter Sep 23, 2022
9643a98
kpb: update UUID
fkwasowi Apr 3, 2023
b2177e5
elf: Add header guard to elf.h
softwarecki Mar 7, 2023
9633c3b
manifest: Check return value of man_create_modules
softwarecki Mar 10, 2023
c210183
Remove unused dram_offset field / config option
softwarecki Mar 21, 2023
d209160
misc_utils: Added functions to print enum and flags value
softwarecki Mar 7, 2023
b9ecb00
rimage: adsp_config: Create new memory_config structure.
softwarecki Mar 29, 2023
9ecae53
rimage: Moved memory alias configuration to a new struct
softwarecki Mar 29, 2023
99195d2
rimage: manifest: Rename struct module to manifest_module
softwarecki Mar 29, 2023
7367fdf
manifest_module: rename fw_size to output_size
softwarecki Mar 29, 2023
1bda0c5
manifest_module: Add is_bootloader field
softwarecki Mar 29, 2023
6e3abe6
rimage: Add suport for loadable modules
softwarecki Mar 10, 2023
debf4cf
manifest: Move MAN_MAX_SIZE_V1_8 define to the public manifest header
softwarecki Mar 31, 2023
25804e7
manifest: Use module manifest from toml as a template for elf modules
softwarecki Mar 31, 2023
ab0429f
Fix: Use module manifest from toml as a template for elf modules
softwarecki Apr 6, 2023
77d4a2a
cmake: remove "install" target
marc-hb Apr 18, 2023
acd8a2b
Config: Change SRCINTC for tgl-cavs.toml and tgl-h-cavs.toml to LL
singalsu Apr 18, 2023
8f250a9
Config: Change indent for SRCINTC
singalsu Apr 18, 2023
1ea1327
README.md: remove "install" target
marc-hb May 24, 2023
649b0a6
file_simple: Allocate correct buffer size for writing sections out
May 30, 2023
4ce79b1
kpb: update kpb uuid for lnl
jxstelter May 19, 2023
089157d
Config: Add Aria module to tgl-cavs.toml and tgl-h-cavs.toml
singalsu Jun 15, 2023
4877720
config: add vangogh toml file to support vangogh build
saisurya-ch Jun 6, 2023
aa0ac9e
rimage.c: fix bug where -p requires a new and ignored parameter
marc-hb Jul 11, 2023
b8ee1aa
Config: Add DRC component to TGL, TGL-H, MTL, LNL
singalsu May 16, 2023
af9a2fe
Config: Fix comment typo for EQ FIR module
singalsu May 16, 2023
d20f1d8
actions: remove travis
cujomalainey May 4, 2021
8c84400
style: trailing whitespace is the root of all evil
cujomalainey Jul 27, 2023
c809af8
Config: Add crossover component for TGL and TGL-H cAVS platforms
singalsu Jun 29, 2023
4fb9fe0
config: lnl+mtl: fix length of ADSP.man CSE manifest
kv2019i Aug 24, 2023
43eb2a4
Config: Add crossover component for MTL and LNL platforms
singalsu Aug 21, 2023
c183ce2
mtl: add measured cps and cpc values
kfrydryx Feb 24, 2023
352f01f
mtl: fill in subsequent measured cps and mcps data
kfrydryx Feb 27, 2023
476d636
mtl: fill in cps and cpc data for ASRC module
kfrydryx Feb 28, 2023
fea2a30
mtl: fill in cps and cpc data for smart_amp_test module
abonislawski Mar 10, 2023
4a36634
mtl: fill in cps and cpc data for EQIIR module
abonislawski May 18, 2023
8bcf1fc
mtl: fill in cps and cpc data for COPIER & GAIN modules
abonislawski Jul 19, 2023
e8b380d
Config: Add Multiband-DRC component to TGL, TGL-H, MTL, LNL
singalsu Jun 13, 2023
7bc2958
Config: Add DCblock to TGL, TGL-H, MTL, and LNL
singalsu Sep 1, 2023
9ccfbc4
sof-glk-nocodec: disable pipelines when disabling SSPs
ranj063 Sep 7, 2023
4a03699
buf: remove coherent.h from struct comp_buffer
marcinszkudlinski Aug 8, 2023
aaebb25
sparse: add a debug core check for shared structures
marcinszkudlinski Sep 4, 2023
94ebaa3
sparse: remove notifier cache/uncache conversions
marcinszkudlinski Sep 7, 2023
84809f9
Tools: Topology2: Add Multiband-DRC
singalsu Jun 13, 2023
fc9fe6c
sparse: remove all sparse_cache from buffer related structs
marcinszkudlinski Sep 6, 2023
0725ce8
sparse: remove __sparse annotations from various places
marcinszkudlinski Sep 6, 2023
6ce1890
sparse: do some cosmetic changes
marcinszkudlinski Sep 6, 2023
f114ace
Audio: Kconfig: Deprecate tone component
singalsu Sep 7, 2023
3253175
source API: mark data pointers as const
marcinszkudlinski Aug 23, 2023
bec031a
dp: introduce dp_queue
marcinszkudlinski Aug 16, 2023
2c54a54
module-adapter: make interface const
lyakh Sep 8, 2023
3f9e6be
module-adapter: (cosmetic) remove a redundant check
lyakh Sep 8, 2023
b6aad8d
smart-amp: remove unused header
lyakh Sep 8, 2023
ca3f44f
audio: src: move out src component data out from src source
btian1 Sep 6, 2023
9fdbf1c
audio: src: split src ipc3 and ipc4 specific file
btian1 Sep 6, 2023
611374e
audio: src: move src header file to source folder
btian1 Sep 6, 2023
88fdb10
audio: src: rename sample rate converter coefficient folder name
btian1 Sep 11, 2023
623bc38
IPC4: remove a superfluous initialisation
lyakh Sep 8, 2023
f27085f
Tools: Tune: Multiband-DRC: Add comment about generator script
singalsu Sep 1, 2023
832830a
IDC: fix message cache handling
lyakh Sep 8, 2023
b2c9944
xtos: mailbox: use memcpy for host mailbox_write
lrgirdwo Dec 12, 2022
955a5b3
host: cmake: make sure we build maths support for host config
lrgirdwo Dec 12, 2022
5668576
host: trace: decouple the testbench from host build
lrgirdwo Aug 28, 2023
2a6d9d3
posix: Add posix headers
lrgirdwo Aug 30, 2023
137c0bf
host: remove XTOS prefix from headers
lrgirdwo Aug 30, 2023
d1dd048
library: Add missing definitions
lrgirdwo Aug 30, 2023
40b9e31
ipc4: Add preprocessor directive
lrgirdwo Aug 30, 2023
b720f1a
audio: Add new kconfig for shared library modules
lrgirdwo Aug 30, 2023
ba07969
ipc4: header: Add support for ALSA switch and enum control handling
singalsu Sep 1, 2023
833a558
Audio: Multiband-DRC: Add switch control for IPC4
singalsu Aug 30, 2023
0fd9828
Audio: Multiband-DRC: Fix comment for switch control workaround
singalsu Sep 1, 2023
3eada7c
topology1: add sof-rpl-rt711-l0-rt1316-l12.tplg support
bardliao Sep 14, 2023
dec770d
Tools: Tune: Add tplg2 support to dcblock setup tool
singalsu Aug 29, 2023
884bad4
Tools: Tune: dcblock: Avoid warning about ignoring imaginary
singalsu Aug 29, 2023
e7816e9
Tools: Tune: dcblock: Fixes for Matlab compatibility
singalsu Aug 29, 2023
e38f3f7
topology2: add sof-mtl-rt713-l0-rt1316-l12-rt1713-l3 support
bardliao Aug 29, 2023
1721f70
logging: add logging through probes
dabekjakub Aug 30, 2023
036da2a
imx: sai: Fix sof run fail issue on imx8ulp
Sep 14, 2023
dd2a64b
audio: host-zephyr: remove redundant return
btian1 Sep 4, 2023
6bed0f0
audio: host: remove duplicated calculation for sample bytes
btian1 Sep 1, 2023
dac982a
audio: host: remove one buffer usage in host copy
btian1 Sep 1, 2023
b2ed867
Audio: Fix the bugs of dai timestamp ops
andrula-song Sep 13, 2023
38be6aa
Audio: use struct dai_ts_data replace timestamp_data
andrula-song Sep 14, 2023
2ede148
Audio: use struct dai_ts_cfg replace timestamp_cfg
andrula-song Sep 14, 2023
57cb19e
drivers: imx: sai: Fix frame size computation
dbaluta Sep 14, 2023
3b31adc
helper: add a condition before updating the component direction
fkwasowi Sep 14, 2023
0675b2a
system-agent: remove an unused variable
lyakh Sep 8, 2023
6f2475b
topology1: Use DYNAMIC for ADL and RPL topologies
Vamshigopal Aug 24, 2023
c9e0fc8
module_adapter: ModuleInitialSettingsConcrete: Fix possible null refe…
softwarecki Sep 4, 2023
e4447e2
buf: remove buffer_acquire/release from buffer.c
marcinszkudlinski Sep 7, 2023
dcc41ff
comp: remove buffer_acquire from component.h
marcinszkudlinski Sep 7, 2023
7ca691d
ipc: remove buffer_acquire from ipc helpers
marcinszkudlinski Sep 7, 2023
4c895a5
mod: remove buffer_acquire from module_adapter
marcinszkudlinski Sep 7, 2023
b608ec8
pipeline: remove buffer_acquire from pipeline files
marcinszkudlinski Sep 7, 2023
1b337ef
imx: sdma: Fix sdma firmware selection
dbaluta Sep 12, 2023
7ca9a2e
driver: imx: Add PDM MICFIL driver
dbaluta Sep 11, 2023
f3c290f
ipc4: logging: fix builds with mtrace and probes both disabled
kv2019i Sep 18, 2023
fb27275
ipc4: Add Vendor Config Set
tobonex Aug 2, 2023
f070135
kpb: Implement configuration part of fast mode task
tobonex Aug 2, 2023
d0d74a4
Tools: Topology2: Change in capture gain curve_duration to 50 ms
singalsu Sep 15, 2023
1479462
topology1: remove Intel CML and EHL topologies
kv2019i Sep 18, 2023
0912756
topology2: intel: bt-ssp-config: use cardinal clock as source
plbossart Sep 18, 2023
5004d0f
zephyr.yml: remove ipc option for zephyr build
Sep 19, 2023
a17c282
xtensa-build-zephyr: remove ipc option
Sep 18, 2023
b0afa39
app: overlays: remove tgl and tgl-h ipc4 overlays
Sep 18, 2023
527e5f7
copier: remove buffer_acquire from copier
tobonex Sep 15, 2023
f87fa4d
mixin/mixout: remove buffer_acquire from mixin/mixout
tobonex Sep 15, 2023
a025600
mixer: remove buffer_acquire from mixer
tobonex Sep 15, 2023
08c6b79
smart_amp: remove buffer_acquire from smart_amp
tobonex Sep 15, 2023
9d0f0aa
aria: remove buffer_acquire from aria
tobonex Sep 15, 2023
4f42a65
asrc: remove buffer_acquire from asrc
tobonex Sep 15, 2023
d7957df
chain_dma: remove buffer_acquire from chain_dma
tobonex Sep 15, 2023
cd7e3d3
kpb: remove buffer_acquire from kpb
tobonex Sep 15, 2023
4f74ed7
volume: remove buffer_acquire from volume
tobonex Sep 15, 2023
d7ebc15
crossover: remove buffer_acquire from crossover
tobonex Sep 15, 2023
75337b4
topology2: remove duplicated pipeline index attribute definition
Sep 21, 2023
8eedfe4
.github: build-windows: choco install ninja
marc-hb Sep 22, 2023
e7a1592
topology2: use input|output audio format
RanderWang Sep 25, 2023
beddfb3
topology2: Add 4ch audio formats for gain-capture pipeline
RanderWang Sep 25, 2023
2cdd11a
Tools: Topology2: Remove 50 ms curve duration set from nocodec
singalsu Sep 21, 2023
2a9473a
app/prj.conf: disable PICOLIBC with CONFIG_MINIMAL_LIBC=y
marc-hb Sep 23, 2023
e4136a4
lnl: memory: expand HEAPMEM_SIZE
jxstelter Sep 22, 2023
f57e478
Zephyr: Fix path to google_hotword_detect.c
singalsu Sep 25, 2023
fe91b3c
eq: remove buffer_acquire from eq_fir and eq_iir
tobonex Sep 15, 2023
352a465
igo_nr: remove buffer_acquire from igo_nr
tobonex Sep 15, 2023
989a13c
mfcc: remove buffer_acquire from mfcc
tobonex Sep 15, 2023
b0f4605
multiband_drc: remove buffer_acquire from multiband_drc
tobonex Sep 15, 2023
1d4cca5
mux: remove buffer_acquire from mux
tobonex Sep 15, 2023
dc3169a
rtnr: remove buffer_acquire from rtnr.c
tobonex Sep 15, 2023
a63f6b6
dcblock: remove buffer_acquire from dcblock
tobonex Sep 19, 2023
5f47509
elf_file: Set of new functions for reading elf files
softwarecki Mar 31, 2023
539c2b3
module: Set of a new functions to parse modules
softwarecki Mar 31, 2023
7155327
Switch to new elf reader and module parse functions.
softwarecki Mar 31, 2023
4fc431b
elf: Remove unused elf.c
softwarecki Mar 30, 2023
877079a
smex: elf: Removed unnecessary initialization of local variables
softwarecki Sep 18, 2023
7141836
smex: elf: Added checking of value returned by file operation function
softwarecki Sep 18, 2023
e5f337b
smex: elf: Fixed an error code returned when a file operation fails
softwarecki Sep 21, 2023
5c016bc
smex: elf: elf_find_section: Check function input data
softwarecki Sep 18, 2023
f882c30
logger: convert: Fixed handling of an error reported by clock_gettime
softwarecki Sep 18, 2023
9f36a5d
logger: convert: Added error handling for file operation functions.
softwarecki Sep 18, 2023
4c905f5
logger: convert: Simplified printing of a timestamp
softwarecki Sep 18, 2023
30a2855
logger: convert: read_entry_from_ldc_file: Make sure string null term…
softwarecki Sep 18, 2023
56a1352
logger: convert: Code quality improvements
softwarecki Sep 18, 2023
651af68
tools: logger: Use a safe variant of the string manipulation functions
softwarecki Sep 18, 2023
966ad48
tools: logger: Fix resources release
softwarecki Sep 18, 2023
46a9d87
sink/src: change IBS/OBS in API to more meaningful names
marcinszkudlinski Sep 20, 2023
e6c3dec
dp_queue: buf calculation size, add list, cosmetic changes
marcinszkudlinski Sep 15, 2023
1ea43ca
DP: bugfix, set pointer to NULL after free
marcinszkudlinski Sep 19, 2023
e441f17
module: add pointers to sink/src to module structure
marcinszkudlinski Aug 31, 2023
cbc04be
DP: connect dp_queue to processing DP modules
marcinszkudlinski Aug 30, 2023
9ca86c9
smart_amp: revamp to two-layer modular design structure
johnylin76 Aug 15, 2023
dfb30f3
tools/probe: Fix WAV header creation for extracted audio streams
ujfalusi Sep 26, 2023
659088e
drc: remove buffer_acquire from drc
tobonex Sep 15, 2023
2308681
google_hotword_detect: remove buffer_acquire from google_hotword_detect
tobonex Sep 15, 2023
7112246
google_rtc_audio_processing: remove buffer_acquire
tobonex Sep 15, 2023
bdc8316
cadence: remove buffer_acquire from cadence.c
tobonex Sep 15, 2023
2523812
dts: remove buffer_acquire from dts.c
tobonex Sep 15, 2023
e848406
waves: remove buffer_acquire from waves.c
tobonex Sep 15, 2023
29b2f0e
probe: remove buffer_acquire from probe.c
tobonex Sep 15, 2023
64af017
selector: remove buffer_acquire from selector.c
tobonex Sep 15, 2023
9a1d95f
tone: remove buffer_acquire from tone.c
tobonex Sep 15, 2023
edf85ff
tdfb: remove buffer_acquire from tdfb.c
tobonex Sep 15, 2023
ba344b5
dp: add calcultion of DP module period
marcinszkudlinski Sep 15, 2023
59bc4a7
DP: add calculation of EDF to DP scheduling
marcinszkudlinski Sep 11, 2023
0061953
.github/sparse-zephyr: add -DCONFIG_MINIMAL_LIBC to avoid picolibc
marc-hb Sep 26, 2023
b98e912
platform: posix: clk: add lowest freq index
tmleman Sep 22, 2023
99c53d9
base_fw: get fw config
tmleman Sep 14, 2023
837f771
ace: clock: update clock definitions
tmleman Sep 6, 2023
5b8ba30
ace: overlay: update clock frequency
tmleman Sep 6, 2023
48259d8
west.yml: update zephyr to b2f7ea0523
tmleman Sep 26, 2023
61dc4e8
sample: remove buffer_acquire from samples
tobonex Sep 15, 2023
c78301e
dai: remove buffer_acquire from dai (zephyr and legacy also)
tobonex Sep 15, 2023
04d37be
host: remove buffer_acquire from host legacy/zephyr
tobonex Sep 15, 2023
c274607
buffer: cosmetic change in buffer.h
tobonex Sep 15, 2023
deb7a09
github action: remove duplicate build for TGL/TGL-H
Sep 26, 2023
545ab19
ipc4: logging: fix library build
ranj063 Sep 19, 2023
72553fa
ipc4: handler: Add compier fallthrough to prevent compilation error
ranj063 Sep 19, 2023
640f71f
ipc4: Add support for IPC4 shared library
ranj063 Sep 19, 2023
aa981cc
arch: host: configs: Add config for alsa plugin
ranj063 Sep 19, 2023
7266a73
tplg_parser: topology: Introduce new structures and update existing o…
ranj063 Sep 19, 2023
87148ab
tools: Introduce the SOF ALSA plugin
lrgirdwo Sep 19, 2023
f9afd6a
buf: remove buffer_acquire/buffer_release
marcinszkudlinski Aug 30, 2023
d89b7d2
ipc4: add google rtc AEC support for mtl
RanderWang Jan 11, 2023
405d48d
Audio: Module adapter: Fix error message typo sinks -> sources
singalsu Sep 25, 2023
ac487e0
Congfig: Add TDFB to TGL, TGL-H, MTL, and LNL
singalsu Oct 2, 2023
f873a99
ipc4: mixin/mixout: Remove redundant source_info stuff
serhiy-katsyuba-intel Sep 29, 2023
9f2d19d
vmh_free: cosmetic changes to local variable
kv2019i Oct 2, 2023
6d2352a
west.yml: update zephyr to 3.5.0-rc1
tmleman Sep 28, 2023
9e21d8b
topology2: set pipeline priority for google aec stream
RanderWang Sep 15, 2023
18595e9
topology2: speaker-echo-ref: Remove the echo ref PCM
ranj063 Aug 25, 2023
351fe7e
topology2: google-rtc-aec: Add 4ch audio formats
ranj063 Aug 31, 2023
9e9120a
topology2: google-rtc-aec: Remove byte control
ranj063 Sep 8, 2023
4b9d10e
Audio: Volume: Support all volume ramp types in IPC4 mode
singalsu Sep 18, 2023
8f9c68a
Audio: Volume: Handle all volume ramp types
singalsu Sep 20, 2023
51159d8
Tools: Topology2: Fix the gain.conf curve_type values
singalsu Sep 15, 2023
2e7296f
cmake: add new ${RIMAGE_TOP} constant
marc-hb Oct 4, 2023
e08b2c2
zephyr/cmake: add new ${RIMAGE_TOP} constant
marc-hb Oct 5, 2023
b5f3ed9
rimage: move everything down to subdir tools/rimage/, prepare move to…
marc-hb Oct 5, 2023
a44ddbe
ipc: don't propagate commands across pipelines for IPC4
iuliana-prodan Oct 5, 2023
0bd8c3b
Upgrade rimage submodule and west submodule to ac487e09ca5b
marc-hb Oct 5, 2023
cada950
Arch: Host: Fix testbench xt build fail
singalsu Oct 6, 2023
09e1b87
Audio: MFCC: Fix testbench xt build fail
singalsu Oct 5, 2023
4d39342
topology2: doc: topology2-filter.py: Add topology2 Doxygen filter
May 8, 2023
cfa4d44
topology2: doc: Add initial sof.doxygen.in
May 11, 2023
3e0fdf5
topology2: doc: Initial cmake build rules for doxygen documentation
Aug 31, 2023
23a74a3
topology2: doc: Add README instructing how to build the documentation
Sep 28, 2023
59dd233
topology2: doc: topology2-generate-contents.sh: Script to generate co…
Sep 27, 2023
3014380
topology2: doc: mainpage.doxy: Add simple main-page with contents
Sep 4, 2023
080dc5a
topology2: doc: gain.conf: Convert comments to Doxygen documentation
Aug 31, 2023
37ac9fc
topology2: doc: common.conf: Doxygenify the existing comments
Aug 18, 2023
13cf2a2
topology2: doc: mixer.conf: Doxygenify and improve the existing comments
May 11, 2023
2e95890
topology2: doc: volume-playback.conf: Doxygenify existing comments
Sep 1, 2023
c7f0e93
topology2: doc: widget-common.conf: Attribute comments to Doxygen
Sep 19, 2023
22ec5b3
topology2: doc: audio_format.conf: Translate comments to Doxygen
Sep 26, 2023
a3e6cf7
topology2: doc: data.conf: Change comments to Doxygen
Sep 26, 2023
215d7b3
topology2: doc: fe_dai.conf: Change comments to Doxygen
Sep 26, 2023
649ac7d
topology2: doc: input_audio_format.conf: Translate comments to Doxygen
Sep 27, 2023
c1996e0
topology2: doc: Little fixes to make all classes show correctly
Sep 29, 2023
4fe87be
Merge full rimage.git history back into tools/rimage/ subdir of sof.git
marc-hb Oct 9, 2023
99206de
Clean just inherited tools/rimage/.gitmodules file (for tomlc99)
marc-hb Oct 5, 2023
9b31875
Add new sof/tools/rimage/tomlc99 submodule to west.yml too
marc-hb Oct 5, 2023
f55338a
Switch Zephyr build to new sof/tools/rimage location
marc-hb Oct 3, 2023
157457c
Switch smex and sof-logger to new sof/tools/rimage location
marc-hb Oct 4, 2023
98ee39f
cmake: switch XTOS build to sof/tools/rimage
marc-hb Oct 3, 2023
e330fb4
Delete old rimage submodule and old rimage west module
marc-hb Oct 5, 2023
da08c1a
west.yml: Bump up Zephyr revision
LaurentiuM1234 Oct 6, 2023
3e368fe
IPC4: Add header to support user space ALSA notifications
singalsu Oct 2, 2023
a8ee62a
Audio: TDFB: Update component for IPC4
singalsu Oct 2, 2023
48616b2
audio: module adapter: create ipc3 and ipc4 specific source file
btian1 Sep 4, 2023
a83df49
audio: volume: enable linear ramp for ipc4 volume
btian1 Sep 18, 2023
d24abbc
audio: volume: move volume related config to component config
btian1 Sep 21, 2023
689e8e9
dp: LL tick source start/stop fix
marcinszkudlinski Oct 10, 2023
5b5566f
zephyr: remove stray } from RIMAGE_CONFIG_PATH
nashif Oct 11, 2023
fd497c9
Merge e330fb4ec727c3a060ad6b1fb6e8c21a4afe7357 into 5b5566f534941c842…
marc-hb Oct 11, 2023
7a11e27
topology2: host-gateway-capture: Replace audio_format objects
ranj063 Oct 11, 2023
bb8d6ba
Revert "module_adapter: avoid module init crash in case of ipc data i…
iuliana-prodan Oct 10, 2023
269d8d5
Tools: Topology2: Add DC block component
singalsu Sep 4, 2023
a292c9c
Tools: Topology2: Build topologies to test processing components
singalsu Aug 30, 2023
501816a
Tools: Topology2: Add sof-hda-benchmark-drc16/24/32-tgl build
singalsu Sep 27, 2023
311c030
Tools: Topology2: Add sof-hda-benchmark-eqiir16/24/32-tgl generate
singalsu Sep 5, 2023
df8f9df
Tools: Topology2: Add sof-hda-benchmark-eqfir16/24/32-tgl build
singalsu Sep 27, 2023
c1b74ba
topology2: sof-mtl-rt713-l0-rt1316-l12-rt1713-l3: use default stream
bardliao Oct 11, 2023
868711c
dp: start DP tick fixup
marcinszkudlinski Oct 11, 2023
bcc2a0d
topology2: add clks_control attributes
macchian Oct 16, 2023
a15a713
topology2: add RT5650 codec support
macchian Oct 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/workflows/sparse-zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,15 @@ jobs:
# --pristine is important to reproduce _warnings_. It makes no
# difference for github but it's useful for anyone trying to
# reproduce and copying the command from the logs.
# "sparse" is currently incompatible with PICOLIBC (the new Zephyr default),
# see https://github.com/zephyrproject-rtos/zephyr/issues/63003
- name: analyze zephyr
working-directory: ./workspace
run: |
./sof/zephyr/docker-run.sh \
./sof/zephyr/docker-build.sh ${{ matrix.platform }} \
--cmake-args=-DZEPHYR_SCA_VARIANT=sparse --cmake-args=-DCONFIG_LOG_USE_VLA=n \
--cmake-args=-DCONFIG_MINIMAL_LIBC=y \
--pristine 2>&1 | tee _.log

printf '\n\n\t\t\t ---- Messages below are treated as sparse errors --- \n\n\n'
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,10 @@ jobs:
IPC_platforms: [
# - IPC3 default
imx8 imx8x imx8m,
tgl tgl-h, # UNSUPPORTED! Will be removed
# - IPC4 default
mtl, lnl,
# Temporary testbed for Zephyr development.
-i IPC4 tgl tgl-h,
tgl tgl-h,
]
build_opts: [""]
# Sparse matrices are complicated, you must read this page slowly:
Expand Down Expand Up @@ -213,11 +212,9 @@ jobs:
platforms: [
# - IPC3 default
imx8 imx8x imx8m,
tgl tgl-h, # UNSUPPORTED! Will be removed
# - IPC4 default
mtl,
# Very few IPC3 platforms support IPC4 too.
-i IPC4 tgl tgl-h,
tgl tgl-h,
]
build_opts: [""]
# Sparse matrices are complicated, see comments on Linux matrix above.
Expand Down Expand Up @@ -329,7 +326,18 @@ jobs:
working-directory: ${{ github.workspace }}/workspace
run: pip install -r zephyr/scripts/requirements.txt

# Ninja has been coming and going, see #8250
- name: choco install ninja
run: |
choco install ninja
ninja.exe --version

# MSYS2 provides gcc x64_86 toolchain & openssl
# Installs in D:/a/_temp/msys64
#
# Note there is already C:/msys64/ provided by
# https://github.com/actions/runner-images/blob/win22/20230918.1/images/win/Windows2022-Readme.md
# Is it not good enough? Maybe it could save 20-30s.
- name: Initialize MSYS2
uses: msys2/setup-msys2@v2
with:
Expand Down Expand Up @@ -397,7 +405,7 @@ jobs:
# http://mywiki.wooledge.org/ParsingLs
for regdir in 'linux-build *mtl' \
'windows-build *mtl' \
'windows-build *-i IPC4 tgl tgl-h'; do
'windows-build *tgl tgl-h'; do
find . -maxdepth 1 | grep -q "\./${regdir}\$" ||
{ >&2 printf 'Missing %s\n' "${regdir}"; exit 1; }
done
Expand Down
36 changes: 17 additions & 19 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
[submodule "rimage"]
path = rimage
# This is a _relative_ submodule URL. In some use cases it's better than
# an _absolute_ submodule URL, in other cases it's not. One size does
# unfortunately not fit all.
#
# Among other pages, http://blog.tremily.us/posts/Relative_submodules/
# has a good comparison
#
# If you use Zephyr you must also look at the comments in sof/west.yml.
#
# If you want to fork or mirror sof.git _without_ doing the same for
# rimage.git then your automation may want you to change and git commit
# an absolute URL in your branch. No need to git commit for interactive
# use; a local and temporary edit of this file is enough for interactive
# use because .gitmodules is used only once to --init[ialize]
# .git/config the first time. Then .gitmodules is never used again after
# cloning.
url = ../rimage
# This is required for non-Zephyr ("XTOS") configurations. Zephyr
# configs also get it from sof/west.yml which adds the burden of keeping
# both tomlc99 SHA1s synchronized but in practice this barely ever moves.
[submodule "tomlc99"]
path = tools/rimage/tomlc99
# This is a _absolute_ submodule URL. In some use cases it's
# better than an _relative_ submodule URL, in other cases it's
# not. One size does unfortunately not fit all. Among other
# pages, http://blog.tremily.us/posts/Relative_submodules/ has a
# good comparison.
#
# A local and temporary edit of this url can be enough because
# .gitmodules is used _only once_ to submodule --init[ialize]
# .git/config the first time. Then .gitmodules is never used
# again after cloning tomlc99 the first time.
url = https://github.com/thesofproject/tomlc99.git
branch = master
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ project(SOF C ASM)
set(SOF_ROOT_SOURCE_DIRECTORY "${PROJECT_SOURCE_DIR}")
set(SOF_ROOT_BINARY_DIRECTORY "${PROJECT_BINARY_DIR}")

set(RIMAGE_TOP "${PROJECT_SOURCE_DIR}/tools/rimage")

# check git hooks
include(scripts/cmake/git-hooks.cmake)

Expand Down Expand Up @@ -159,8 +161,8 @@ install(
${PROJECT_SOURCE_DIR}/src/include/ipc
${PROJECT_SOURCE_DIR}/src/include/kernel
${PROJECT_SOURCE_DIR}/src/include/user
${PROJECT_SOURCE_DIR}/rimage/src/include/sof/kernel
${PROJECT_SOURCE_DIR}/rimage/src/include/sof/user
${RIMAGE_TOP}/src/include/sof/kernel
${RIMAGE_TOP}/src/include/sof/user
DESTINATION include/sof
PATTERN "*.h"
)
Expand Down
1 change: 1 addition & 0 deletions app/boards/intel_adsp_ace15_mtpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ CONFIG_SYS_CLOCK_TICKS_PER_SEC=12000
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=38400000

CONFIG_LOG_BACKEND_ADSP_MTRACE=y
CONFIG_LOG_BACKEND_SOF_PROBE=n
CONFIG_SOF_LOG_LEVEL_INF=y
CONFIG_ZEPHYR_LOG=y
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
Expand Down
1 change: 1 addition & 0 deletions app/overlays/lnl/fpga_overlay.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=19200000
CONFIG_DAI_DMIC_HW_IOCLK=19200000
CONFIG_XTENSA_CCOUNT_HZ=40000000
1 change: 1 addition & 0 deletions app/overlays/mtl/fpga_overlay.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=19200000
CONFIG_DAI_DMIC_HW_IOCLK=19200000
CONFIG_XTENSA_CCOUNT_HZ=40000000
5 changes: 0 additions & 5 deletions app/overlays/tgl-h/ipc4_overlay.conf

This file was deleted.

5 changes: 0 additions & 5 deletions app/overlays/tgl/ipc4_overlay.conf

This file was deleted.

4 changes: 4 additions & 0 deletions app/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ CONFIG_OUTPUT_DISASSEMBLY=y

CONFIG_HAVE_AGENT=n

# Since Zephyr commit f0daf904bb0202c PICOLIBC is the new default.
# We need more time to test and evaluate.
CONFIG_MINIMAL_LIBC=y

CONFIG_LOG=y
CONFIG_LOG_PRINTK=y
# Log processing is offloaded to a low-priority thread.
Expand Down
2 changes: 1 addition & 1 deletion app/stub_build_all_ipc3.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CONFIG_COMP_STUBS=y
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=y
CONFIG_COMP_TONE=y
CONFIG_COMP_TONE=n
CONFIG_COMP_CROSSOVER=y
CONFIG_COMP_DRC=y
CONFIG_COMP_MULTIBAND_DRC=y
Expand Down
1 change: 1 addition & 0 deletions posix/include/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target_include_directories(sof_public_headers INTERFACE include)
172 changes: 172 additions & 0 deletions posix/include/rtos/alloc.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright(c) 2016 Intel Corporation. All rights reserved.
*
* Author: Liam Girdwood <[email protected]>
* Keyon Jie <[email protected]>
*/

/**
* \file xtos/include/rtos/alloc.h
* \brief Memory Allocation API definition
* \author Liam Girdwood <[email protected]>
* \author Keyon Jie <[email protected]>
*/

#ifndef __SOF_LIB_ALLOC_H__
#define __SOF_LIB_ALLOC_H__

#include <rtos/bit.h>
#include <rtos/string.h>
#include <sof/trace/trace.h>
#include <user/trace.h>

#include <stddef.h>
#include <stdint.h>

/** \addtogroup alloc_api Memory Allocation API
* @{
*/

/**
* \brief Heap Memory Zones
*
* The heap has three different zones from where memory can be allocated :-
*
* 1) System Zone. Fixed size heap where alloc always succeeds and is never
* freed. Used by any init code that will never give up the memory.
*
* 2) System Runtime Zone. Heap zone intended for runtime objects allocated
* by the kernel part of the code.
*
* 3) Runtime Zone. Main and larger heap zone where allocs are not guaranteed to
* succeed. Memory can be freed here.
*
* 4) Buffer Zone. Largest heap zone intended for audio buffers.
*
* 5) Runtime Shared Zone. Similar to Runtime Zone, but content may be used and
* fred from any enabled core.
*
* 6) System Shared Zone. Similar to System Zone, but content may be used from
* any enabled core.
*
* See platform/memory.h for heap size configuration and mappings.
*/
enum mem_zone {
SOF_MEM_ZONE_SYS = 0, /**< System zone */
SOF_MEM_ZONE_SYS_RUNTIME, /**< System-runtime zone */
SOF_MEM_ZONE_RUNTIME, /**< Runtime zone */
SOF_MEM_ZONE_BUFFER, /**< Buffer zone */
SOF_MEM_ZONE_RUNTIME_SHARED, /**< Runtime shared zone */
SOF_MEM_ZONE_SYS_SHARED, /**< System shared zone */
};

/** \name Heap zone flags
* @{
*/

/** \brief Indicates that original content should not be copied by realloc. */
#define SOF_MEM_FLAG_NO_COPY BIT(1)
/** \brief Indicates that if we should return uncached address. */
#define SOF_MEM_FLAG_COHERENT BIT(2)

/** @} */

/**
* Allocates memory block.
* @param zone Zone to allocate memory from, see enum mem_zone.
* @param flags Flags, see SOF_MEM_FLAG_...
* @param caps Capabilities, see SOF_MEM_CAPS_...
* @param bytes Size in bytes.
* @return Pointer to the allocated memory or NULL if failed.
*
* @note Do not use for buffers (SOF_MEM_ZONE_BUFFER zone).
* Use rballoc(), rballoc_align() to allocate memory for buffers.
*/
void *rmalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes);

/**
* Similar to rmalloc(), guarantees that returned block is zeroed.
*
* @note Do not use for buffers (SOF_MEM_ZONE_BUFFER zone).
* rballoc(), rballoc_align() to allocate memory for buffers.
*/
void *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes);

/**
* Allocates memory block from SOF_MEM_ZONE_BUFFER.
* @param flags Flags, see SOF_MEM_FLAG_...
* @param caps Capabilities, see SOF_MEM_CAPS_...
* @param bytes Size in bytes.
* @param alignment Alignment in bytes.
* @return Pointer to the allocated memory or NULL if failed.
*/
void *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes,
uint32_t alignment);

/**
* Similar to rballoc_align(), returns buffer aligned to PLATFORM_DCACHE_ALIGN.
*/
static inline void *rballoc(uint32_t flags, uint32_t caps, size_t bytes)
{
return rballoc_align(flags, caps, bytes, PLATFORM_DCACHE_ALIGN);
}

/**
* Changes size of the memory block allocated from SOF_MEM_ZONE_BUFFER.
* @param ptr Address of the block to resize.
* @param flags Flags, see SOF_MEM_FLAG_...
* @param caps Capabilities, see SOF_MEM_CAPS_...
* @param bytes New size in bytes.
* @param old_bytes Old size in bytes.
* @param alignment Alignment in bytes.
* @return Pointer to the resized memory of NULL if failed.
*/
void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes,
size_t old_bytes, uint32_t alignment);

/**
* Similar to rballoc_align(), returns resized buffer aligned to
* PLATFORM_DCACHE_ALIGN.
*/
static inline void *rbrealloc(void *ptr, uint32_t flags, uint32_t caps,
size_t bytes, size_t old_bytes)
{
return rbrealloc_align(ptr, flags, caps, bytes, old_bytes,
PLATFORM_DCACHE_ALIGN);
}

/**
* Frees the memory block.
* @param ptr Pointer to the memory block.
*
* @note Blocks from SOF_MEM_ZONE_SYS cannot be freed, such a call causes
* panic.
*/
void rfree(void *ptr);

/**
* Allocates memory block from the system heap reserved for the specified core.
* @param core Core id.
* @param bytes Size in bytes.
*/
void *rzalloc_core_sys(int core, size_t bytes);

/**
* Calculates length of the null-terminated string.
* @param s String.
* @return Length of the string in bytes.
*/
int rstrlen(const char *s);

/**
* Compares two strings, see man strcmp.
* @param s1 First string to compare.
* @param s2 Second string to compare.
* @return See man strcmp.
*/
int rstrcmp(const char *s1, const char *s2);

/** @}*/

#endif /* __SOF_LIB_ALLOC_H__ */
39 changes: 39 additions & 0 deletions posix/include/rtos/atomic.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright(c) 2018 Intel Corporation. All rights reserved.
*
* Author: Liam Girdwood <[email protected]>
*/

#ifndef __SOF_ATOMIC_H__
#define __SOF_ATOMIC_H__

#include <arch/atomic.h>
#include <stdint.h>

static inline void atomic_init(atomic_t *a, int32_t value)
{
arch_atomic_init(a, value);
}

static inline int32_t atomic_read(const atomic_t *a)
{
return arch_atomic_read(a);
}

static inline void atomic_set(atomic_t *a, int32_t value)
{
arch_atomic_set(a, value);
}

static inline int32_t atomic_add(atomic_t *a, int32_t value)
{
return arch_atomic_add(a, value);
}

static inline int32_t atomic_sub(atomic_t *a, int32_t value)
{
return arch_atomic_sub(a, value);
}

#endif /* __SOF_ATOMIC_H__ */
Loading
Loading