<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Buffer Underrun error on i.MX.6 with DesignWare HDMI Controller</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747722#M116266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I've a doubt, I can see log message " imx-ldb ldb.15: unable to set di1 parent clock to original parent" is from &lt;STRONG&gt;drivers/gpu/drm/imx/imx-ldb.c:199 - &lt;/STRONG&gt;This is i.MX drm driver for - LVDS display bridge&lt;STRONG&gt; . &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, message is related to display. How is this affecting HDMI audio?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2017 07:03:32 GMT</pubDate>
    <dc:creator>vm18553</dc:creator>
    <dc:date>2017-11-06T07:03:32Z</dc:date>
    <item>
      <title>Buffer Underrun error on i.MX.6 with DesignWare HDMI Controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747719#M116263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using i.MX6 board which has &lt;STRONG&gt;dw-hdmi Synopsys DesignWare HDMI Controller.&lt;/STRONG&gt; I 'm using linux-3.10 kernel version which doesn't have DRM support for Synopsys.&amp;nbsp; So, I back ported &lt;STRONG&gt;drm&lt;/STRONG&gt; driver from linux-4.8.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Confirmed the driver is ported properly by &lt;STRONG&gt;aplay -l&lt;/STRONG&gt; command.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;# aplay -l&lt;BR /&gt;**** List of PLAYBACK Hardware Devices ****&lt;BR /&gt;card 0: DWHDMI [DW-HDMI], device 0: DW HDMI [dw-hdmi-ahb-audio]&lt;BR /&gt;&amp;nbsp; Subdevices: 1/1&lt;BR /&gt;&amp;nbsp; Subdevice #0: subdevice #0&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I played the .wav file using following following command and it played without any error.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class=""&gt;# aplay -D plughw:0,0 eine_44k_stereo16.wav
Playing WAVE 'eine_44k_stereo16.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
imx-ldb ldb.15: unable to set di1 parent clock to original parent&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I'm playing for second time I'm getting&amp;nbsp; buffer &lt;STRONG&gt;underrun&lt;/STRONG&gt; error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;aplay -D plughw:0,0 eine_44k_stereo16.wav&lt;BR /&gt;Playing WAVE 'eine_44k_stereo16.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo&lt;BR /&gt;underrun!!! (at least 0.046 ms long)&lt;BR /&gt;underrun!!! (at least 0.020 ms long)&lt;BR /&gt;underrun!!! (at least 0.019 ms long)&lt;BR /&gt;underrun!!! (at least 0.074 ms long)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is, why it's not giving error first time?&amp;nbsp; Did I miss anything while back porting?&lt;/P&gt;&lt;P&gt;I read about buffer &lt;STRONG&gt;underrun , &lt;/STRONG&gt;when application is not able to fill buffer in time then will get buffer underrun error.&lt;/P&gt;&lt;P&gt;Does that mean problem of &lt;STRONG&gt;aplay&lt;/STRONG&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 09:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747719#M116263</guid>
      <dc:creator>vm18553</dc:creator>
      <dc:date>2017-11-03T09:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Underrun error on i.MX.6 with DesignWare HDMI Controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747720#M116264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from log : "imx-ldb ldb.15: unable to set di1 parent clock to original parent"&lt;/P&gt;&lt;P&gt;so one can check if implemented ldb clock switching described in&lt;/P&gt;&lt;P&gt;EB821 LDB Clock Switch Procedure &lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/engineering-bulletin/EB821.pdf"&gt;https://www.nxp.com/docs/en/engineering-bulletin/EB821.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:44:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747720#M116264</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-03T10:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Underrun error on i.MX.6 with DesignWare HDMI Controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747721#M116265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not seem to be a good approach to backport the HDMI audio driver from 4.8 to 3.10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.10 is very old and there is more recent kernel provided by NXP or by the linux community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try NXP 4.9 kernel or kernel 4.13 from kernel.org.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 13:26:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747721#M116265</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2017-11-03T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Underrun error on i.MX.6 with DesignWare HDMI Controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747722#M116266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I've a doubt, I can see log message " imx-ldb ldb.15: unable to set di1 parent clock to original parent" is from &lt;STRONG&gt;drivers/gpu/drm/imx/imx-ldb.c:199 - &lt;/STRONG&gt;This is i.MX drm driver for - LVDS display bridge&lt;STRONG&gt; . &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, message is related to display. How is this affecting HDMI audio?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 07:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747722#M116266</guid>
      <dc:creator>vm18553</dc:creator>
      <dc:date>2017-11-06T07:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Underrun error on i.MX.6 with DesignWare HDMI Controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747723#M116267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;not directly, but as every error it may have side effects.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;HDMI audio is quite sensitive to clock and supported only&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;with resolutions given in sect. 33.4.3 Supported Video Mode i.MX6DQ RM&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;A class="link-titled" href="http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf" title="http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 08:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Buffer-Underrun-error-on-i-MX-6-with-DesignWare-HDMI-Controller/m-p/747723#M116267</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-06T08:17:20Z</dc:date>
    </item>
  </channel>
</rss>

