topology2: isolated dolby-dax widget setting on headphone#10642
topology2: isolated dolby-dax widget setting on headphone#10642checkupup wants to merge 1 commit intothesofproject:mainfrom
Conversation
On certain platforms, such as Intel PTL, memory limitations prevent the creation of two instances simultaneously on both the speaker and headphone pipelines. The DAX_HEADSET option has been added here to allow user to decide whether to enable DAX on both the speaker and headphone pipelines based on the platform's capabilities. Signed-off-by: Jun Lai <jun.lai@dolby.com>
|
Can one of the admins verify this patch?
|
| mixout-gain-dax-alh-dai-copier-playback [ | ||
| { | ||
| index 1 | ||
| IncludeByKey.DAX_HEADSET { |
There was a problem hiding this comment.
@checkupup would this not be better at the level above ? i.e. we have a sdw-jack-dax.conf file and we include that OR sdw-jack-generic.conf in the higher level conf file using the DAX options.
There was a problem hiding this comment.
+1. I think we can create a sdw-jack-dax.conf and sdw-amp-dax.conf to extract out DAX-related variation, and use IncludeKey.USE_DAX to choose to include either -dax.conf or -generic.conf. These 2 files now are not that friendly to read.
|
test this please |
|
@checkupup btw, what are the memory requirements for DAX in this configuration ? I guess we are good for TEXT, DATA and RODATA sections, but I assume the gap is for continuous memory on the heap for 2 instances (what size) ? |
The memory requirements are on runtime heap memory. While starting to run, one DAX module will allocate ~590kB dynamic buffer. |
johnylin76
left a comment
There was a problem hiding this comment.
LGTM. I have also verified on my end, thanks.
On certain platforms, such as Intel PTL, memory limitations prevent the creation of two instances simultaneously on both the speaker and headphone pipelines. The
DAX_HEADSEToption has been added here to allow user to decide whether to enable DAX on both the speaker and headphone pipelines based on the platform's capabilities.The DAX speaker is mandatory if
USE_DAXis set to true, so there is noDAX_SPEAKERoption.