From b21aa11a6de720f3144a569463605940785576c1 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Fri, 17 Jan 2025 14:28:13 +0200 Subject: [PATCH] topology2: cavs-nocodec-bt: add Intel PTL support Add rules to create sof-nocodec-bt-ptl.tplg and sof-nocodec-bt-ptl-lbm.tplg. Signed-off-by: Kai Vehmanen --- tools/topology/topology2/cavs-nocodec-bt.conf | 1 + tools/topology/topology2/development/tplg-targets.cmake | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/tools/topology/topology2/cavs-nocodec-bt.conf b/tools/topology/topology2/cavs-nocodec-bt.conf index 0e9217b5481e..2b6d0b8ed381 100644 --- a/tools/topology/topology2/cavs-nocodec-bt.conf +++ b/tools/topology/topology2/cavs-nocodec-bt.conf @@ -63,6 +63,7 @@ IncludeByKey.PLATFORM { "adl" "platform/intel/tgl.conf" "mtl" "platform/intel/mtl.conf" "lnl" "platform/intel/lnl.conf" + "ptl" "platform/intel/ptl.conf" } # include DMIC config if needed. diff --git a/tools/topology/topology2/development/tplg-targets.cmake b/tools/topology/topology2/development/tplg-targets.cmake index 1a5f5a6679ad..baf4ec908c13 100644 --- a/tools/topology/topology2/development/tplg-targets.cmake +++ b/tools/topology/topology2/development/tplg-targets.cmake @@ -280,6 +280,13 @@ PLATFORM=mtl" "cavs-nocodec-bt\;sof-nocodec-bt-mtl-lbm\;BT_LOOPBACK_MODE=true,PLATFORM=mtl,\ PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-nocodec-bt-mtl-lbm.bin" +# BT offload for ptl +"cavs-nocodec-bt\;sof-nocodec-bt-ptl\;PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-nocodec-bt-ptl.bin,\ +PLATFORM=ptl" +# BT offload loopback test topology (lbm) for ptl +"cavs-nocodec-bt\;sof-nocodec-bt-ptl-lbm\;BT_LOOPBACK_MODE=true,PLATFORM=ptl,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-nocodec-bt-ptl-lbm.bin" + # CAVS HDA topology for benchmarking performance # Copier - peak volume - mixin - mixout - aria - peak volume - mixin - mixout - copier "sof-hda-generic\;sof-hda-benchmark-generic\;HDA_CONFIG=benchmark,BENCH_CONFIG=benchmark,BENCH_ARIA_PARAMS=param_1"