* Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI @ 2012-05-30 7:14 Xiao Jiang 2012-05-30 23:35 ` Ricardo Neri 0 siblings, 1 reply; 12+ messages in thread From: Xiao Jiang @ 2012-05-30 7:14 UTC (permalink / raw) To: linux-omap; +Cc: jgq516 Hello, After enable SND_OMAP_SOC_OMAP_HDMI with omap2plus_defconfig, I got some err infos with latest Linus's tree, does somebody also has the same issue? sound/soc/omap/omap-hdmi.c:45:24: error: field 'dss_audio' has incomplete type sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_startup': sound/soc/omap/omap-hdmi.c:67:27: error: 'struct omap_dss_driver' has no member named 'audio_supported' sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': sound/soc/omap/omap-hdmi.c:79:29: error: 'struct omap_dss_driver' has no member named 'audio_enable' sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_hw_params': sound/soc/omap/omap-hdmi.c:208:28: error: 'struct omap_dss_driver' has no member named 'audio_config' sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_trigger': sound/soc/omap/omap-hdmi.c:224:29: error: 'struct omap_dss_driver' has no member named 'audio_start' sound/soc/omap/omap-hdmi.c:229:23: error: 'struct omap_dss_driver' has no member named 'audio_stop' sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_shutdown': sound/soc/omap/omap-hdmi.c:242:22: error: 'struct omap_dss_driver' has no member named 'audio_disable' sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': sound/soc/omap/omap-hdmi.c:80:1: warning: control reaches end of non-void function Regards, Xiao ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-05-30 7:14 Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI Xiao Jiang @ 2012-05-30 23:35 ` Ricardo Neri 2012-05-31 4:27 ` Xiao Jiang 2012-05-31 5:41 ` Jarkko Nikula 0 siblings, 2 replies; 12+ messages in thread From: Ricardo Neri @ 2012-05-30 23:35 UTC (permalink / raw) To: Xiao Jiang, Valkeinen, Tomi; +Cc: linux-omap +Tomi Hi Xiao, On 05/30/2012 02:14 AM, Xiao Jiang wrote: > Hello, > > After enable SND_OMAP_SOC_OMAP_HDMI with omap2plus_defconfig, I got some > err infos with latest > Linus's tree, does somebody also has the same issue? > > sound/soc/omap/omap-hdmi.c:45:24: error: field 'dss_audio' has > incomplete type > sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_startup': > sound/soc/omap/omap-hdmi.c:67:27: error: 'struct omap_dss_driver' has no > member named 'audio_supported' > sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': > sound/soc/omap/omap-hdmi.c:79:29: error: 'struct omap_dss_driver' has no > member named 'audio_enable' > sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_hw_params': > sound/soc/omap/omap-hdmi.c:208:28: error: 'struct omap_dss_driver' has > no member named 'audio_config' > sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_trigger': > sound/soc/omap/omap-hdmi.c:224:29: error: 'struct omap_dss_driver' has > no member named 'audio_start' > sound/soc/omap/omap-hdmi.c:229:23: error: 'struct omap_dss_driver' has > no member named 'audio_stop' > sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_shutdown': > sound/soc/omap/omap-hdmi.c:242:22: error: 'struct omap_dss_driver' has > no member named 'audio_disable' > sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': > sound/soc/omap/omap-hdmi.c:80:1: warning: control reaches end of > non-void function Build breaks because there some patches [1] that are still missing in Linus' tree. ASoC HDMI audio driver for OMAP[2] now uses the new DSS audio functionality in [1], but ASoC patches were merged first. DSS patches have been accepted and they are part of Tomi's pull request for DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is out. BR, Ricardo [1].http://www.spinics.net/lists/linux-omap/msg69466.html [2].http://www.spinics.net/lists/linux-omap/msg70561.html > > Regards, > Xiao > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-05-30 23:35 ` Ricardo Neri @ 2012-05-31 4:27 ` Xiao Jiang 2012-06-05 1:24 ` Ricardo Neri 2012-05-31 5:41 ` Jarkko Nikula 1 sibling, 1 reply; 12+ messages in thread From: Xiao Jiang @ 2012-05-31 4:27 UTC (permalink / raw) To: Ricardo Neri; +Cc: Valkeinen, Tomi, linux-omap Ricardo Neri wrote: > +Tomi > > Hi Xiao, > > On 05/30/2012 02:14 AM, Xiao Jiang wrote: >> Hello, >> >> After enable SND_OMAP_SOC_OMAP_HDMI with omap2plus_defconfig, I got some >> err infos with latest >> Linus's tree, does somebody also has the same issue? >> >> sound/soc/omap/omap-hdmi.c:45:24: error: field 'dss_audio' has >> incomplete type >> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_startup': >> sound/soc/omap/omap-hdmi.c:67:27: error: 'struct omap_dss_driver' has no >> member named 'audio_supported' >> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >> sound/soc/omap/omap-hdmi.c:79:29: error: 'struct omap_dss_driver' has no >> member named 'audio_enable' >> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_hw_params': >> sound/soc/omap/omap-hdmi.c:208:28: error: 'struct omap_dss_driver' has >> no member named 'audio_config' >> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_trigger': >> sound/soc/omap/omap-hdmi.c:224:29: error: 'struct omap_dss_driver' has >> no member named 'audio_start' >> sound/soc/omap/omap-hdmi.c:229:23: error: 'struct omap_dss_driver' has >> no member named 'audio_stop' >> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_shutdown': >> sound/soc/omap/omap-hdmi.c:242:22: error: 'struct omap_dss_driver' has >> no member named 'audio_disable' >> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >> sound/soc/omap/omap-hdmi.c:80:1: warning: control reaches end of >> non-void function > > Build breaks because there some patches [1] that are still missing in > Linus' tree. ASoC HDMI audio driver for OMAP[2] now uses the new DSS > audio functionality in [1], but ASoC patches were merged first. DSS > patches have been accepted and they are part of Tomi's pull request > for DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is out. > Ricardo, thanks for your detail infos :). Regards, Xiao > BR, > > Ricardo > > [1].http://www.spinics.net/lists/linux-omap/msg69466.html > [2].http://www.spinics.net/lists/linux-omap/msg70561.html >> >> Regards, >> Xiao >> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-omap" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-05-31 4:27 ` Xiao Jiang @ 2012-06-05 1:24 ` Ricardo Neri 2012-06-05 4:15 ` Xiao Jiang 0 siblings, 1 reply; 12+ messages in thread From: Ricardo Neri @ 2012-06-05 1:24 UTC (permalink / raw) To: Xiao Jiang, Valkeinen, Tomi, Jarkko Nikula; +Cc: linux-omap@vger.kernel.org Hi Xiao, Tomi, Jarkko, On 05/30/2012 11:27 PM, Xiao Jiang wrote: > Ricardo Neri wrote: >> +Tomi >> >> Hi Xiao, >> >> On 05/30/2012 02:14 AM, Xiao Jiang wrote: >>> Hello, >>> >>> After enable SND_OMAP_SOC_OMAP_HDMI with omap2plus_defconfig, I got some >>> err infos with latest >>> Linus's tree, does somebody also has the same issue? >>> >>> sound/soc/omap/omap-hdmi.c:45:24: error: field 'dss_audio' has >>> incomplete type >>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_startup': >>> sound/soc/omap/omap-hdmi.c:67:27: error: 'struct omap_dss_driver' has no >>> member named 'audio_supported' >>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >>> sound/soc/omap/omap-hdmi.c:79:29: error: 'struct omap_dss_driver' has no >>> member named 'audio_enable' >>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_hw_params': >>> sound/soc/omap/omap-hdmi.c:208:28: error: 'struct omap_dss_driver' has >>> no member named 'audio_config' >>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_trigger': >>> sound/soc/omap/omap-hdmi.c:224:29: error: 'struct omap_dss_driver' has >>> no member named 'audio_start' >>> sound/soc/omap/omap-hdmi.c:229:23: error: 'struct omap_dss_driver' has >>> no member named 'audio_stop' >>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_shutdown': >>> sound/soc/omap/omap-hdmi.c:242:22: error: 'struct omap_dss_driver' has >>> no member named 'audio_disable' >>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >>> sound/soc/omap/omap-hdmi.c:80:1: warning: control reaches end of >>> non-void function >> >> Build breaks because there some patches [1] that are still missing in >> Linus' tree. ASoC HDMI audio driver for OMAP[2] now uses the new DSS >> audio functionality in [1], but ASoC patches were merged first. DSS >> patches have been accepted and they are part of Tomi's pull request >> for DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is out. >> > Ricardo, thanks for your detail infos :). Just wanted to confirm to you that this build break is not present in 3.5-rc1 as both omapdss and asoc dependencies are present. Ricardo > > Regards, > Xiao >> BR, >> >> Ricardo >> >> [1].http://www.spinics.net/lists/linux-omap/msg69466.html >> [2].http://www.spinics.net/lists/linux-omap/msg70561.html >>> >>> Regards, >>> Xiao >>> >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-omap" in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-06-05 1:24 ` Ricardo Neri @ 2012-06-05 4:15 ` Xiao Jiang 2012-06-05 15:51 ` Ricardo Neri 0 siblings, 1 reply; 12+ messages in thread From: Xiao Jiang @ 2012-06-05 4:15 UTC (permalink / raw) To: Ricardo Neri; +Cc: Valkeinen, Tomi, Jarkko Nikula, linux-omap@vger.kernel.org Ricardo Neri wrote: > Hi Xiao, Tomi, Jarkko, > > On 05/30/2012 11:27 PM, Xiao Jiang wrote: >> Ricardo Neri wrote: >>> +Tomi >>> >>> Hi Xiao, >>> >>> On 05/30/2012 02:14 AM, Xiao Jiang wrote: >>>> Hello, >>>> >>>> After enable SND_OMAP_SOC_OMAP_HDMI with omap2plus_defconfig, I got >>>> some >>>> err infos with latest >>>> Linus's tree, does somebody also has the same issue? >>>> >>>> sound/soc/omap/omap-hdmi.c:45:24: error: field 'dss_audio' has >>>> incomplete type >>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_startup': >>>> sound/soc/omap/omap-hdmi.c:67:27: error: 'struct omap_dss_driver' >>>> has no >>>> member named 'audio_supported' >>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >>>> sound/soc/omap/omap-hdmi.c:79:29: error: 'struct omap_dss_driver' >>>> has no >>>> member named 'audio_enable' >>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_hw_params': >>>> sound/soc/omap/omap-hdmi.c:208:28: error: 'struct omap_dss_driver' has >>>> no member named 'audio_config' >>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_trigger': >>>> sound/soc/omap/omap-hdmi.c:224:29: error: 'struct omap_dss_driver' has >>>> no member named 'audio_start' >>>> sound/soc/omap/omap-hdmi.c:229:23: error: 'struct omap_dss_driver' has >>>> no member named 'audio_stop' >>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_shutdown': >>>> sound/soc/omap/omap-hdmi.c:242:22: error: 'struct omap_dss_driver' has >>>> no member named 'audio_disable' >>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >>>> sound/soc/omap/omap-hdmi.c:80:1: warning: control reaches end of >>>> non-void function >>> >>> Build breaks because there some patches [1] that are still missing in >>> Linus' tree. ASoC HDMI audio driver for OMAP[2] now uses the new DSS >>> audio functionality in [1], but ASoC patches were merged first. DSS >>> patches have been accepted and they are part of Tomi's pull request >>> for DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is out. >>> >> Ricardo, thanks for your detail infos :). > > Just wanted to confirm to you that this build break is not present in > 3.5-rc1 as both omapdss and asoc dependencies are present. > Hi Ricardo, Good to know, but I can't get any voice with aplay, although penguins are appeared on the hdmi tv. Pls see below infos. root@panda:/root> aplay -l **** List of PLAYBACK Hardware Devices **** card 0: OMAPHDMI [OMAPHDMI], device 0: HDMI omap-hdmi-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 root@panda:/root> alsamixer ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ AlsaMixer v1.0.21 ▒ ▒ Card: OMAPHDMI F1: Help ▒ ▒ Chip: F2: System information ▒ ▒ View: F3: Playback F4: Capture F5: All F6: Select sound card ▒ ▒ Item: Esc: Exit ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ This sound device does not have any controls. ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ root@panda:/root> aplay audio48k16S.wav Playing WAVE 'audio48k16S.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo But hdmi audio of imx6q board is ok with the same hdmi tv. Did I miss something else? thanks. Regards, Xiao > Ricardo >> >> Regards, >> Xiao >>> BR, >>> >>> Ricardo >>> >>> [1].http://www.spinics.net/lists/linux-omap/msg69466.html >>> [2].http://www.spinics.net/lists/linux-omap/msg70561.html >>>> >>>> Regards, >>>> Xiao >>>> >>>> -- >>>> To unsubscribe from this list: send the line "unsubscribe >>>> linux-omap" in >>>> the body of a message to majordomo@vger.kernel.org >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >> > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-06-05 4:15 ` Xiao Jiang @ 2012-06-05 15:51 ` Ricardo Neri 2012-06-06 3:01 ` Xiao Jiang 0 siblings, 1 reply; 12+ messages in thread From: Ricardo Neri @ 2012-06-05 15:51 UTC (permalink / raw) To: Xiao Jiang; +Cc: Valkeinen, Tomi, Jarkko Nikula, linux-omap@vger.kernel.org Hi Xiao, On 06/04/2012 11:15 PM, Xiao Jiang wrote: > Ricardo Neri wrote: >> Hi Xiao, Tomi, Jarkko, >> >> On 05/30/2012 11:27 PM, Xiao Jiang wrote: >>> Ricardo Neri wrote: >>>> +Tomi >>>> >>>> Hi Xiao, >>>> >>>> On 05/30/2012 02:14 AM, Xiao Jiang wrote: >>>>> Hello, >>>>> >>>>> After enable SND_OMAP_SOC_OMAP_HDMI with omap2plus_defconfig, I got >>>>> some >>>>> err infos with latest >>>>> Linus's tree, does somebody also has the same issue? >>>>> >>>>> sound/soc/omap/omap-hdmi.c:45:24: error: field 'dss_audio' has >>>>> incomplete type >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_startup': >>>>> sound/soc/omap/omap-hdmi.c:67:27: error: 'struct omap_dss_driver' >>>>> has no >>>>> member named 'audio_supported' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >>>>> sound/soc/omap/omap-hdmi.c:79:29: error: 'struct omap_dss_driver' >>>>> has no >>>>> member named 'audio_enable' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_hw_params': >>>>> sound/soc/omap/omap-hdmi.c:208:28: error: 'struct omap_dss_driver' has >>>>> no member named 'audio_config' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_trigger': >>>>> sound/soc/omap/omap-hdmi.c:224:29: error: 'struct omap_dss_driver' has >>>>> no member named 'audio_start' >>>>> sound/soc/omap/omap-hdmi.c:229:23: error: 'struct omap_dss_driver' has >>>>> no member named 'audio_stop' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_shutdown': >>>>> sound/soc/omap/omap-hdmi.c:242:22: error: 'struct omap_dss_driver' has >>>>> no member named 'audio_disable' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >>>>> sound/soc/omap/omap-hdmi.c:80:1: warning: control reaches end of >>>>> non-void function >>>> >>>> Build breaks because there some patches [1] that are still missing in >>>> Linus' tree. ASoC HDMI audio driver for OMAP[2] now uses the new DSS >>>> audio functionality in [1], but ASoC patches were merged first. DSS >>>> patches have been accepted and they are part of Tomi's pull request >>>> for DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is out. >>>> >>> Ricardo, thanks for your detail infos :). >> >> Just wanted to confirm to you that this build break is not present in >> 3.5-rc1 as both omapdss and asoc dependencies are present. >> > Hi Ricardo, > > Good to know, but I can't get any voice with aplay, although penguins > are appeared on > the hdmi tv. Pls see below infos. > > root@panda:/root> aplay -l > **** List of PLAYBACK Hardware Devices **** > card 0: OMAPHDMI [OMAPHDMI], device 0: HDMI omap-hdmi-hifi-0 [] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > > root@panda:/root> alsamixer > ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ AlsaMixer v1.0.21 ▒ > ▒ Card: OMAPHDMI F1: Help ▒ > ▒ Chip: F2: System information ▒ > ▒ View: F3: Playback F4: Capture F5: All F6: Select sound card ▒ > ▒ Item: Esc: Exit ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ This sound device does not have any controls. ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒ ▒ > ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ > > root@panda:/root> aplay audio48k16S.wav > Playing WAVE 'audio48k16S.wav' : Signed 16 bit Little Endian, Rate 48000 > Hz, Stereo > > But hdmi audio of imx6q board is ok with the same hdmi tv. Did I miss > something else? thanks. Do you see that the playback finishes (even though you don't hear anything)? Also, what version of Pandaboard are you using? Is it Pandaboard or PandaboardES? Have you tried on different TVs? BR, Ricardo > > Regards, > Xiao > >> Ricardo >>> >>> Regards, >>> Xiao >>>> BR, >>>> >>>> Ricardo >>>> >>>> [1].http://www.spinics.net/lists/linux-omap/msg69466.html >>>> [2].http://www.spinics.net/lists/linux-omap/msg70561.html >>>>> >>>>> Regards, >>>>> Xiao >>>>> >>>>> -- >>>>> To unsubscribe from this list: send the line "unsubscribe >>>>> linux-omap" in >>>>> the body of a message to majordomo@vger.kernel.org >>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>>> >>> >> > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-06-05 15:51 ` Ricardo Neri @ 2012-06-06 3:01 ` Xiao Jiang 0 siblings, 0 replies; 12+ messages in thread From: Xiao Jiang @ 2012-06-06 3:01 UTC (permalink / raw) To: Ricardo Neri; +Cc: Valkeinen, Tomi, Jarkko Nikula, linux-omap@vger.kernel.org Hi Ricardo > > Do you see that the playback finishes (even though you don't hear > anything)? Also, what version of Pandaboard are you using? Is it > Pandaboard or PandaboardES? Have you tried on different TVs? > Yes, it can finish normally, and board's version is OMAP4430 ES2.2. After changed to another tv (DELL 2410) I can hear the voice from hdmi audio, :), thanks. Regards, Xiao > BR, > Ricardo ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-05-30 23:35 ` Ricardo Neri 2012-05-31 4:27 ` Xiao Jiang @ 2012-05-31 5:41 ` Jarkko Nikula 2012-05-31 6:31 ` Tomi Valkeinen 1 sibling, 1 reply; 12+ messages in thread From: Jarkko Nikula @ 2012-05-31 5:41 UTC (permalink / raw) To: Ricardo Neri; +Cc: Xiao Jiang, Valkeinen, Tomi, linux-omap On 05/31/2012 02:35 AM, Ricardo Neri wrote: > Build breaks because there some patches [1] that are still missing in > Linus' tree. ASoC HDMI audio driver for OMAP[2] now uses the new DSS > audio functionality in [1], but ASoC patches were merged first. DSS > patches have been accepted and they are part of Tomi's pull request for > DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is out. > Then there was an error already in the process if dependent sets didn't go together via the same merge or in next merge window. Remember each commit must compile alone. It's quite boring to try to bisect over multiple kernel versions and where most of the time goes solving random unrelated build breakages. -- Jarkko ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-05-31 5:41 ` Jarkko Nikula @ 2012-05-31 6:31 ` Tomi Valkeinen 2012-05-31 6:42 ` Jarkko Nikula 0 siblings, 1 reply; 12+ messages in thread From: Tomi Valkeinen @ 2012-05-31 6:31 UTC (permalink / raw) To: Jarkko Nikula; +Cc: Ricardo Neri, Xiao Jiang, linux-omap [-- Attachment #1: Type: text/plain, Size: 1343 bytes --] On Thu, 2012-05-31 at 08:41 +0300, Jarkko Nikula wrote: > On 05/31/2012 02:35 AM, Ricardo Neri wrote: > > Build breaks because there some patches [1] that are still missing in > > Linus' tree. ASoC HDMI audio driver for OMAP[2] now uses the new DSS > > audio functionality in [1], but ASoC patches were merged first. DSS > > patches have been accepted and they are part of Tomi's pull request for > > DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is out. > > > Then there was an error already in the process if dependent sets didn't > go together via the same merge or in next merge window. Remember each > commit must compile alone. They are going in in the same merge window. The asoc stuff has been already merged, but the omapdss stuff hasn't. It's true that there's a commit range where the asoc stuff doesn't compile, and I agree that it's not good. But you need to explicitly enable the HDMI ASOC support to get the error. > It's quite boring to try to bisect over multiple kernel versions and > where most of the time goes solving random unrelated build breakages. How to get arm/arm/, omapdss, omapdrm and asoc driver changes in at the same time? All go through various different trees and maintainers. I haven't found a solution for this. If you have good ideas, please share =). Tomi [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-05-31 6:31 ` Tomi Valkeinen @ 2012-05-31 6:42 ` Jarkko Nikula 2012-05-31 7:00 ` Tomi Valkeinen 0 siblings, 1 reply; 12+ messages in thread From: Jarkko Nikula @ 2012-05-31 6:42 UTC (permalink / raw) To: Tomi Valkeinen; +Cc: Ricardo Neri, Xiao Jiang, linux-omap On 05/31/2012 09:31 AM, Tomi Valkeinen wrote: > It's true that there's a commit range where the asoc stuff doesn't > compile, and I agree that it's not good. But you need to explicitly > enable the HDMI ASOC support to get the error. > You can still hit the build breakage by randconfig or if it's enabled by default in the future and you start bisecting with that config old kernel. >> It's quite boring to try to bisect over multiple kernel versions and >> where most of the time goes solving random unrelated build breakages. > > How to get arm/arm/, omapdss, omapdrm and asoc driver changes in at the > same time? All go through various different trees and maintainers. I > haven't found a solution for this. If you have good ideas, please share > =). > One simple - wait for next merge window. It's not that long. Only ~3 months and meanwhile one could keep boss/customer/wife/whatever satisfied by carrying patches in own tree :-) -- Jarkko ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-05-31 6:42 ` Jarkko Nikula @ 2012-05-31 7:00 ` Tomi Valkeinen 2012-05-31 8:23 ` Jarkko Nikula 0 siblings, 1 reply; 12+ messages in thread From: Tomi Valkeinen @ 2012-05-31 7:00 UTC (permalink / raw) To: Jarkko Nikula; +Cc: Ricardo Neri, Xiao Jiang, linux-omap [-- Attachment #1: Type: text/plain, Size: 1867 bytes --] On 05/31/2012 09:42 AM, Jarkko Nikula wrote: > On 05/31/2012 09:31 AM, Tomi Valkeinen wrote: >> It's true that there's a commit range where the asoc stuff doesn't >> compile, and I agree that it's not good. But you need to explicitly >> enable the HDMI ASOC support to get the error. >> > You can still hit the build breakage by randconfig or if it's enabled by > default in the future and you start bisecting with that config old kernel. That's true. >>> It's quite boring to try to bisect over multiple kernel versions and >>> where most of the time goes solving random unrelated build breakages. >> >> How to get arm/arm/, omapdss, omapdrm and asoc driver changes in at the >> same time? All go through various different trees and maintainers. I >> haven't found a solution for this. If you have good ideas, please share >> =). >> > One simple - wait for next merge window. It's not that long. Only ~3 > months and meanwhile one could keep boss/customer/wife/whatever > satisfied by carrying patches in own tree :-) Well... I'm not sure how serious you are here =). In some cases that's doable, and we've done it, for example omapdrm had some things delayed until next merge window, so it's definitely an option. But it's quite easy to get some build dependencies between pull requests, so we'd be delaying features all the time. And sometimes even cross dependencies. In the worst case it could end up with delaying some features for a year to get all single pieces in bit by bit. Something I think we could try to do is create some kinds of temporary dummy functions or such which allow the compilation, but of course makes the component not (fully) functional. The temp functions could then be removed in -rc2 or so, when the dependencies are all there. But doesn't feel like an optimal solution either... Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 900 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI 2012-05-31 7:00 ` Tomi Valkeinen @ 2012-05-31 8:23 ` Jarkko Nikula 0 siblings, 0 replies; 12+ messages in thread From: Jarkko Nikula @ 2012-05-31 8:23 UTC (permalink / raw) To: Tomi Valkeinen; +Cc: Ricardo Neri, Xiao Jiang, linux-omap On 05/31/2012 10:00 AM, Tomi Valkeinen wrote: >> One simple - wait for next merge window. It's not that long. Only ~3 >> months and meanwhile one could keep boss/customer/wife/whatever >> satisfied by carrying patches in own tree :-) > > Well... I'm not sure how serious you are here =). > Quite serious :-) > In some cases that's doable, and we've done it, for example omapdrm had > some things delayed until next merge window, so it's definitely an option. > > But it's quite easy to get some build dependencies between pull > requests, so we'd be delaying features all the time. And sometimes even > cross dependencies. In the worst case it could end up with delaying some > features for a year to get all single pieces in bit by bit. > Something what is usually done is to get ack from maintainers and let code to be merged via another tree. Needs careful planning though in order to avoid preventing e.g. API changes in one subsystem. > Something I think we could try to do is create some kinds of temporary > dummy functions or such which allow the compilation, but of course makes > the component not (fully) functional. The temp functions could then be > removed in -rc2 or so, when the dependencies are all there. But doesn't > feel like an optimal solution either... > Yeah, this might work too. -- Jarkko ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2012-06-06 2:08 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-05-30 7:14 Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI Xiao Jiang 2012-05-30 23:35 ` Ricardo Neri 2012-05-31 4:27 ` Xiao Jiang 2012-06-05 1:24 ` Ricardo Neri 2012-06-05 4:15 ` Xiao Jiang 2012-06-05 15:51 ` Ricardo Neri 2012-06-06 3:01 ` Xiao Jiang 2012-05-31 5:41 ` Jarkko Nikula 2012-05-31 6:31 ` Tomi Valkeinen 2012-05-31 6:42 ` Jarkko Nikula 2012-05-31 7:00 ` Tomi Valkeinen 2012-05-31 8:23 ` Jarkko Nikula
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).