Uh oh!
There was an error while loading. Please reload this page.
Idisp indexes - #2344
Conversation
There was a problem hiding this comment.
what does this have to do with demux? Or this is to align with recent changes on the hdaudio machine driver?
There was a problem hiding this comment.
also the second index is the dailink_index, and I don't see it having changed so far:
structsnd_soc_dai_linkskl_hda_be_dai_links[HDA_DSP_MAX_BE_DAI_LINKS] = {
/* Back End DAI links */
{
.name="iDisp1",
.id=1,
.dpcm_playback=1,
.no_pcm=1,
SND_SOC_DAILINK_REG(idisp1_cpu, idisp1_codec, platform),
},
{
.name="iDisp2",
.id=2,
.dpcm_playback=1,
.no_pcm=1,
SND_SOC_DAILINK_REG(idisp2_cpu, idisp2_codec, platform),
},
{
.name="iDisp3",
.id=3,
.dpcm_playback=1,
.no_pcm=1,
SND_SOC_DAILINK_REG(idisp3_cpu, idisp3_codec, platform),
},juimonen
commented
Feb 3, 2020
@kv2019i is this correct? |
kv2019i
commented
Feb 3, 2020
@juimonen wrote (and @plbossart asked):
This is related to @lyakh changed ad7b1d2 that was recently merged. Kernel driver is now changes to use to new ids, so all topologies need to match. |
juimonen
commented
Feb 3, 2020
@kv2019i but I should not change this in generic-hda, which was the other commit in this pr? |
kv2019i
commented
Feb 4, 2020
Aa, sorry -- no, the generic-hda should not be changed, the ids were only changed for up2-pcm512. |
juimonen
commented
Feb 4, 2020
@kv2019i@plbossart ok my mistake. Removed hda-generic from this PR, now only includes the demux-apl prt. |
Change idisp indexes to correct ones. Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
| # 3 HDMI/DP outputs (ID: 3,4,5) | ||
| DAI_CONFIG(HDA, 0, 3, iDisp1) | ||
| DAI_CONFIG(HDA, 1, 4, iDisp2) | ||
| DAI_CONFIG(HDA, 2, 5, iDisp3) |
There was a problem hiding this comment.
ok the indices look fine, but I am not sure I understand this line
# currently this dai is here as "virtual" capture backend
W_DAI_IN(SSP, 5, SSP5-Codec, s24le, 3, 0)
what is the purpose of this line?
What happens if we truly want to use SSP5 for capture?
There was a problem hiding this comment.
@plbossart I have to test and think that a bit. Frankly I was just now trying to load the demux component for testing my topology work and loading stopped because of wrong idisp indexes. IOW I didn't actually test does the topology work, with this it at least loads.
juimonen
commented
Feb 25, 2020
anything blocking of merging this simple PR? |
plbossart
commented
Feb 25, 2020
" I didn't actually test does the topology work, with this it at least loads." Shouldn't we have functional topologies in the SOF tree? |
juimonen
commented
Feb 26, 2020
@plbossart well ok let's say this is an improvement to the current status. But yeah, no traction so let's close it. I can push it later if someone needs it. Maybe then remove the apl-demux conf altogether as it really doesn't load atm? |
demux topologies won't load without this change in apl/up2