<?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: kernel 3.14.28, double lvds issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458451#M71751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 3.14.28 too and I noticed that single/separate mode are no more supported.&lt;/P&gt;&lt;P&gt;I mean, in ldb.c there's no more references to these operational modes - how did you configure 2 lvds ports to display 2 different images?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 11:03:55 GMT</pubDate>
    <dc:creator>angelos</dc:creator>
    <dc:date>2015-08-14T11:03:55Z</dc:date>
    <item>
      <title>kernel 3.14.28, double lvds issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458447#M71747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using double LVDS in a similar sabre-auto board. Upgrading from 3.10.17 to 3.14.28, double (using separate fb's) LVDS (one fb for each LVDS) seems corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In particular&lt;/P&gt;&lt;P&gt;1) seems kernel bootargs as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14362691883098157 jive_text_macro" data-renderedposition="176_8_1016_48" jivemacro_uid="_14362691883098157"&gt;&lt;P&gt;setenv bootargs 'console=ttymxc3,115200 rootwait root=/dev/sda2 \&lt;/P&gt;&lt;P&gt;video=mxcfb0:dev=ldb,1024x768,if=RGB666,bpp=16 \&lt;/P&gt;&lt;P&gt;video=mxcfb1:off video=mxcfb2:dev=ldb,1280x800,if=RGB666,bpp=16'&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are not taking effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Even if i used different IPU for each LVDS channel, LVDS1 at Kernel init phase, seems to impact previously inited LVDS0 destroying the image content, and adding flickering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no errors in dmesg, /sys/class/graphic/fb modes seems correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user@localhost ~]$ cat /sys/class/graphics/fb0/mode&lt;/P&gt;&lt;P&gt;U:1024x768p-65&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user@localhost ~]$ cat /sys/class/graphics/fb2/mode&lt;/P&gt;&lt;P&gt;U:1280x800p-52&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any known issue with ldb and kernel 3.14 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 11:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458447#M71747</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-07-07T11:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: kernel 3.14.28, double lvds issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458448#M71748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;some more info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;blanking one of the LVDS displays impact and distort the other LVDS display.&amp;nbsp; This the effects:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LVDS0 is on IPU1-DI1, uses fb0 and fb1(overlay)&lt;/P&gt;&lt;P&gt;LVDS1 is on IPU2-DI1, uses fb2 and fb3(overlay)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) blank and unblank LVDS0 (mapped to fb0), produces blank on both displays when blanking, correct image on fb0 and stretch second display to a double width image (on fb2 / LVDS1) when unblanking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14364291783774731" data-renderedposition="281_8_1016_144" jivemacro_uid="_14364291783774731"&gt;&lt;P&gt;bash-3.2# echo 1 &amp;gt; /sys/class/graphics/fb0/blank &lt;/P&gt;&lt;P&gt;bash-3.2# echo 0 &amp;gt; /sys/class/graphics/fb0/blank &lt;/P&gt;&lt;P&gt;mxc_sdc_fb fb.25: 1024x768 h_sync,r,l: 60,220,40&amp;nbsp; v_sync,l,u: 10,21,7 pixclock=65002000 Hz&lt;/P&gt;&lt;P&gt;angelo: ipu_init_sync_panel(), rem = 19984000&lt;/P&gt;&lt;P&gt;angelo: ipu_init_sync_panel(), rem = 19984000&lt;/P&gt;&lt;P&gt;angelo: ipu_init_sync_panel(), ldb_di0_clk bc028780, ldb_di1_clk bc028800, di_parent bc028780&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: use special clk parent&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: disp=1, pixel_clk=65002000 75428571 parent=75428571 div=1&lt;/P&gt;&lt;P&gt;angelo: ldb_enable() : what mode we are ? ldb-&amp;gt;spl_mode 0, ldb-&amp;gt;dual_mode 0, chno 0&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) blank and unblank LVDS1 (mapped to fb2), produces sometime a warning on unblank :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo 1 &amp;gt; /sys/class/graphics/fb2/blank&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14364295521517473 jive_text_macro" data-renderedposition="530_8_1016_16" jivemacro_uid="_14364295521517473"&gt;&lt;P&gt;mxc_sdc_fb fb.26: MXCFB_WAIT_FOR_VSYNC: timeout 0&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And sometime correct image on fb2 (correct width now) but corrupt first display with garbage and horizontal and vertical lines (on fb2 / LVDS1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14364295336352599" data-renderedposition="609_8_1016_128" jivemacro_uid="_14364295336352599"&gt;&lt;P&gt;bash-3.2# echo 0 &amp;gt; /sys/class/graphics/fb2/blank &lt;/P&gt;&lt;P&gt;mxc_sdc_fb fb.26: 1280x800 h_sync,r,l: 156,2,2&amp;nbsp; v_sync,l,u: 19,2,2 pixclock=71103000 Hz&lt;/P&gt;&lt;P&gt;angelo: ipu_init_sync_panel(), rem1 = 42279000&lt;/P&gt;&lt;P&gt;angelo: ipu_init_sync_panel(), rem2 = 42279000&lt;/P&gt;&lt;P&gt;angelo: ipu_init_sync_panel(), ldb_di0_clk bc028780, ldb_di1_clk bc028800, di_parent bc028800&lt;/P&gt;&lt;P&gt;imx-ipuv3 2800000.ipu: use special clk parent&lt;/P&gt;&lt;P&gt;imx-ipuv3 2800000.ipu: disp=1, pixel_clk=71103000 75428571 parent=75428571 div=1&lt;/P&gt;&lt;P&gt;angelo: ldb_enable() : what mode we are ? ldb-&amp;gt;spl_mode 0, ldb-&amp;gt;dual_mode 0, chno 1&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 07:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458448#M71748</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-07-09T07:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: kernel 3.14.28, double lvds issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458449#M71749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally found a way to avoid the issue, that seems related to the clocks applied to the ldb serializer interface.&lt;/P&gt;&lt;P&gt;For some reason, skipping this line for first display, allow to have applications&lt;/P&gt;&lt;P&gt;displayed correctly ion both displays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;linux-imx6/drivers/video/mxc/ldb.c (kernel 3.14.28)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14365158429141300 jive_macro_code jive_text_macro" data-renderedposition="134_8_1016_48" jivemacro_uid="_14365158429141300"&gt;&lt;P&gt;serial_clk = ldb-&amp;gt;spl_mode ? chan.vm.pixelclock * 7 / 2 :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chan.vm.pixelclock * 7;&lt;/P&gt;&lt;P&gt;clk_set_rate(ldb_di_sel_parent, serial_clk);&amp;nbsp; // &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am investigating further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 08:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458449#M71749</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-07-10T08:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: kernel 3.14.28, double lvds issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458450#M71750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angelo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing your solution. It seems that the clock parent or divider is changed making one of the lvds panels to fail.&lt;/P&gt;&lt;P&gt;Have you checked that the frequency remains with no change after that line in both displays?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 15:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458450#M71750</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-07-14T15:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: kernel 3.14.28, double lvds issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458451#M71751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 3.14.28 too and I noticed that single/separate mode are no more supported.&lt;/P&gt;&lt;P&gt;I mean, in ldb.c there's no more references to these operational modes - how did you configure 2 lvds ports to display 2 different images?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 11:03:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458451#M71751</guid>
      <dc:creator>angelos</dc:creator>
      <dc:date>2015-08-14T11:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: kernel 3.14.28, double lvds issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458452#M71752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro, &lt;/P&gt;&lt;P&gt;well, yes, something seems changed at clock level, can't check right now, my solution works and had no time to go deeper. Will check eventually/hopefully in the near future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Angelo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are boolean properties (see ldb.c):&lt;/P&gt;&lt;P&gt;dual-mode&lt;/P&gt;&lt;P&gt;split-mode&lt;/P&gt;&lt;P&gt;default should separate mode.&lt;/P&gt;&lt;P&gt;See also the new "display-timings" entries in the device tree, they allow to assign a display to a lvds port, setting proper display options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 10:17:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-3-14-28-double-lvds-issue/m-p/458452#M71752</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2015-08-17T10:17:14Z</dc:date>
    </item>
  </channel>
</rss>

