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

Add DTS config and topology on MT8196 platform #9854

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/overlays/mt8196/dts_overlay.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_COMP_IIR=y
CONFIG_COMP_MODULE_ADAPTER=y
CONFIG_DTS_CODEC=y
3 changes: 3 additions & 0 deletions src/arch/xtensa/configs/override/mt8196_chrome_dts.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_COMP_IIR=y
CONFIG_COMP_MODULE_ADAPTER=y
CONFIG_DTS_CODEC=y
1 change: 1 addition & 0 deletions src/audio/codec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ if(CONFIG_DTS_CODEC)
else()
sof_add_static_library(DtsCodec
${SOF_ROOT_SOURCE_DIRECTORY}/third_party/lib/libdts-sof-interface-i32.a)
target_include_directories(sof PRIVATE ${CMAKE_SOURCE_DIR}/third_party/include)
endif()
endif()
1 change: 1 addition & 0 deletions tools/topology/topology1/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ set(TPLGS
"sof-mt8188-mt6359\;sof-mt8188-waves\;-DWAVES=1"
"sof-mt8196-mt6681\;sof-mt8196"
"sof-mt8196-mt6681\;sof-mt8196-waves\;-DWAVES=1"
"sof-mt8196-mt6681\;sof-mt8196-dts\;-DDTS=`DTS'"

"sof-acp-renoir\;sof-acp"
"sof-rn-rt5682-rt1019\;sof-rn-rt5682-rt1019"
Expand Down
4 changes: 2 additions & 2 deletions tools/topology/topology1/sof-mt8196-mt6681.m4
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dnl time_domain, sched_comp)
define(`ENDPOINT_NAME', `Speakers')
# Low Latency playback pipeline 1 on PCM 16 using max 2 channels of s16le
# Set 1000us deadline with priority 0 on core 0
PIPELINE_PCM_ADD(ifdef(`WAVES', sof/pipe-waves-codec-playback.m4, sof/pipe-passthrough-playback.m4),
PIPELINE_PCM_ADD(ifdef(`DTS', sof/pipe-eq-iir-dts-codec-playback.m4, ifdef(`WAVES', sof/pipe-waves-codec-playback.m4, sof/pipe-passthrough-playback.m4)),
1, 0, 2, s16le,
1000, 0, 0,
48000, 48000, 48000)
Expand All @@ -46,7 +46,7 @@ undefine(`ENDPOINT_NAME')
define(`ENDPOINT_NAME', `Headphones')
# Low Latency playback pipeline 2 on PCM 17 using max 2 channels of s16le
# Set 1000us deadline with priority 0 on core 0
PIPELINE_PCM_ADD(ifdef(`WAVES', sof/pipe-waves-codec-playback.m4, sof/pipe-passthrough-playback.m4),
PIPELINE_PCM_ADD(ifdef(`DTS', sof/pipe-eq-iir-dts-codec-playback.m4, ifdef(`WAVES', sof/pipe-waves-codec-playback.m4, sof/pipe-passthrough-playback.m4)),
2, 1, 2, s16le,
1000, 0, 0,
48000, 48000, 48000)
Expand Down
Loading