<?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: IMX6ULL elcd linux driver , how to stop the same frame transferring</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266480#M173041</link>
    <description>&lt;P&gt;Hi Alven&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;My question is that is that possible to optimise it , making it only output the &lt;BR /&gt;&amp;gt;different screen data to lower the CPU load ?&lt;/P&gt;
&lt;P&gt;I am afraid it is not supported in hardware, sorry. For stop data transferring one can&lt;BR /&gt;look at sect.34.4.8.1 Code Example&amp;nbsp; &lt;A id="relatedDocsClick_1" href="https://www.nxp.com/webapp/Download?colCode=IMX6ULLRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 6ULL Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Thu, 22 Apr 2021 08:12:56 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-04-22T08:12:56Z</dc:date>
    <item>
      <title>IMX6ULL elcd linux driver , how to stop the same frame transferring</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266296#M173018</link>
      <description>&lt;P&gt;We are using imx6ull processor and msxfb.c as&amp;nbsp;our linux driver, it takes DOTCLK mode to display.&amp;nbsp; However , for the same view, the driver will continually send the same data to the screen.&lt;/P&gt;&lt;P&gt;My question is that is that possible to optimise it , making it only output the different screen data to lower the CPU load ?&lt;/P&gt;&lt;P&gt;*enable the dotclk mode and RUN bit*/&lt;BR /&gt;//writel(CTRL_DOTCLK_MODE | CTRL_RUN, host-&amp;gt;base + LCDC_CTRL + REG_SET);&lt;/P&gt;&lt;P&gt;/*disable the dotclk mode*/&lt;BR /&gt;//writel(CTRL_DOTCLK_MODE, host-&amp;gt;base + LCDC_CTRL + REG_CLR);&lt;/P&gt;&lt;P&gt;And could we just use the current buffer register in the linux driver ? and clearing the DOTCLK mode bit will stop the transferring ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 04:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266296#M173018</guid>
      <dc:creator>alven</dc:creator>
      <dc:date>2021-04-22T04:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL elcd linux driver , how to stop the same frame transferring</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266480#M173041</link>
      <description>&lt;P&gt;Hi Alven&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;My question is that is that possible to optimise it , making it only output the &lt;BR /&gt;&amp;gt;different screen data to lower the CPU load ?&lt;/P&gt;
&lt;P&gt;I am afraid it is not supported in hardware, sorry. For stop data transferring one can&lt;BR /&gt;look at sect.34.4.8.1 Code Example&amp;nbsp; &lt;A id="relatedDocsClick_1" href="https://www.nxp.com/webapp/Download?colCode=IMX6ULLRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 6ULL Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 08:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266480#M173041</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-04-22T08:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL elcd linux driver , how to stop the same frame transferring</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266905#M173077</link>
      <description>&lt;P&gt;HI igor,&lt;/P&gt;&lt;P&gt;we only use the current buffer register in 8080NPU mode in freertos, it could only out put what we wanted.&lt;/P&gt;&lt;P&gt;however , could we do the same thing in linux driver ? and its in DOTCLK mode.&amp;nbsp; I guess this interface is for screen output in mxsfb.c in linux driver.&amp;nbsp; Is that possible to make some optimization as well ?&lt;/P&gt;&lt;P&gt;static int mxsfb_pan_display(struct fb_var_screeninfo *var,&lt;BR /&gt;struct fb_info *fb_info)&lt;BR /&gt;{&lt;BR /&gt;int ret = 0;&lt;BR /&gt;struct mxsfb_info *host = fb_info-&amp;gt;par;&lt;BR /&gt;unsigned offset;&lt;/P&gt;&lt;P&gt;if (host-&amp;gt;cur_blank != FB_BLANK_UNBLANK) {&lt;BR /&gt;dev_dbg(fb_info-&amp;gt;device, "can't do pan display when fb "&lt;BR /&gt;"is blank\n");&lt;BR /&gt;return -EINVAL;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (var-&amp;gt;xoffset &amp;gt; 0) {&lt;BR /&gt;dev_dbg(fb_info-&amp;gt;device, "x panning not supported\n");&lt;BR /&gt;return -EINVAL;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if ((var-&amp;gt;yoffset + var-&amp;gt;yres &amp;gt; var-&amp;gt;yres_virtual)) {&lt;BR /&gt;dev_err(fb_info-&amp;gt;device, "y panning exceeds\n");&lt;BR /&gt;return -EINVAL;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;init_completion(&amp;amp;host-&amp;gt;flip_complete);&lt;/P&gt;&lt;P&gt;offset = fb_info-&amp;gt;fix.line_length * var-&amp;gt;yoffset;&lt;/P&gt;&lt;P&gt;/* update on next VSYNC */&lt;BR /&gt;&lt;STRONG&gt;writel(fb_info-&amp;gt;fix.smem_start + offset,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;host-&amp;gt;base + host-&amp;gt;devdata-&amp;gt;cur_buf);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;writel(CTRL1_CUR_FRAME_DONE_IRQ_EN,&lt;BR /&gt;host-&amp;gt;base + LCDC_CTRL1 + REG_SET);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;/*enable the dotclk mode and RUN bit*/&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;//writel(CTRL_DOTCLK_MODE | CTRL_RUN, host-&amp;gt;base + LCDC_CTRL + REG_SET);&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;/*disable the dotclk mode*/&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;//writel(CTRL_DOTCLK_MODE, host-&amp;gt;base + LCDC_CTRL + REG_CLR);&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ret = wait_for_completion_timeout(&amp;amp;host-&amp;gt;flip_complete, HZ / 2);&lt;BR /&gt;if (!ret) {&lt;BR /&gt;dev_err(fb_info-&amp;gt;device,&lt;BR /&gt;"mxs wait for pan flip timeout\n");&lt;BR /&gt;return -ETIMEDOUT;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 23:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266905#M173077</guid>
      <dc:creator>alven</dc:creator>
      <dc:date>2021-04-22T23:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL elcd linux driver , how to stop the same frame transferring</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266931#M173080</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alven_0-1619138276973.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143029i40F95DB9FC31A458/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alven_0-1619138276973.jpeg" alt="alven_0-1619138276973.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For the data transferring stop, could we just set the DOTCLK_MODE to 0?&lt;/P&gt;&lt;P&gt;thanks igor.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 00:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-elcd-linux-driver-how-to-stop-the-same-frame/m-p/1266931#M173080</guid>
      <dc:creator>alven</dc:creator>
      <dc:date>2021-04-23T00:39:57Z</dc:date>
    </item>
  </channel>
</rss>

