<?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のトピックHaving issues setting up prefetch and resolve engine on i.MX6QP</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Having-issues-setting-up-prefetch-and-resolve-engine-on-i-MX6QP/m-p/609494#M91909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have our own drivers for the IPU and currently we support video using channel 23 on i.MX6Q and i.MXQP. &amp;nbsp;&lt;/P&gt;&lt;P&gt;We recently tried to add the pre/prg initialization similar to the mxc drivers in Linux. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After correctly setting up the IPU, pre and prg blocks we end up with garbage being read and shown through the display interface. &amp;nbsp; It never changes, and no matter what address we point the PRE to, the garbage looks the same. &amp;nbsp;&lt;/P&gt;&lt;P&gt;We do however notice one bit is not being cleared in the pre engine. &amp;nbsp;Note we are just trying single buffer mode for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In register HW_PRE_CTRL bit 4 SDW_UPDATE we notice after setting it the hardware store engine never seems to clear the bit. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RM states:&lt;/P&gt;&lt;P&gt;"Indicates that the shadow register should be updated. If have any control register bits are changed,&lt;BR /&gt;Software have to set this bit, and then all register bits will be updated to shadow register end of current&lt;BR /&gt;frame in store engine. And then it will be cleared automatically by hardware."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you point us in the right direction as to what might be happening, that the bit is not being cleared? &amp;nbsp;We are using IPU 1 so PRE0 and PRG0. &amp;nbsp; We know the IDMAC and IPU configuration works without using PRE just fine. &amp;nbsp;The only thing that we had to change for IDMAC setup was the address of the buffer to read. &amp;nbsp;It needs to point to OCRAM2 address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note we would like this to run without interrupts. &amp;nbsp;For single buffer mode we want to setup pre/prg once and simply update data within the buffer. &amp;nbsp;In double buffer mode we would like to set the next buffer in pre to be taken on v-sync. &amp;nbsp;But for now single buffer is a start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a dump of our setup registers:&lt;/P&gt;&lt;P&gt;PRE 0&lt;BR /&gt;0x00000000 0x30000915&lt;BR /&gt;0x00000010 0x00000000&lt;BR /&gt;0x00000020 0x00000000&lt;BR /&gt;0x00000030 0x30300000&lt;BR /&gt;0x00000040 0x30300000&lt;BR /&gt;0x00000050 0x00000000&lt;BR /&gt;0x00000060 0x00000000&lt;BR /&gt;0x00000070 0x00000400&lt;BR /&gt;0x00000080 0x00008829&lt;BR /&gt;0x00000090 0x000800A0&lt;BR /&gt;0x000000A0 0x01E00280&lt;BR /&gt;0x000000B0 0x00000000&lt;BR /&gt;0x000000D0 0x00000A00&lt;BR /&gt;0x000000E0 0x18100800&lt;BR /&gt;0x000000F0 0x00008888&lt;BR /&gt;0x00000100 0x00000000&lt;BR /&gt;0x00000110 0x00000027&lt;BR /&gt;0x00000120 0x40080000&lt;BR /&gt;0x00000130 0x01E00280&lt;BR /&gt;0x00000140 0x00000A00&lt;BR /&gt;0x00000150 0x00940000&lt;BR /&gt;0x00000160 0x00000000&lt;BR /&gt;0x00000170 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRG 0&lt;BR /&gt;0x00 0x82090006&lt;BR /&gt;0x04 0x00000003&lt;BR /&gt;0x08 0x00000000&lt;BR /&gt;0x0C 0x00000000&lt;BR /&gt;0x10 0x000009FF&lt;BR /&gt;0x14 0x00000000&lt;BR /&gt;0x18 0x00000000&lt;BR /&gt;0x1C 0x00000000&lt;BR /&gt;0x20 0x10000000&lt;BR /&gt;0x24 0x00940000&lt;BR /&gt;0x28 0x00000000&lt;BR /&gt;0x2C 0x00000000&lt;BR /&gt;0x30 0x00000000&lt;BR /&gt;0x34 0x00000000&lt;BR /&gt;0x38 0x00000000&lt;BR /&gt;0x3C 0x00000000&lt;BR /&gt;0x40 0x00000000&lt;BR /&gt;0x44 0x00000000&lt;BR /&gt;0x48 0x01DF01DF&lt;BR /&gt;0x4C 0x00000000&lt;BR /&gt;0x50 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We appreciate any help to indicate why that shadow update bit is not getting ingested. &amp;nbsp;We suspect something wrong in the store or prg setup, but its not clear. &amp;nbsp;We also supect this is why the engines aren't starting up and reading data and placing it in OCRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2016 21:58:36 GMT</pubDate>
    <dc:creator>tommalnar</dc:creator>
    <dc:date>2016-12-13T21:58:36Z</dc:date>
    <item>
      <title>Having issues setting up prefetch and resolve engine on i.MX6QP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Having-issues-setting-up-prefetch-and-resolve-engine-on-i-MX6QP/m-p/609494#M91909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have our own drivers for the IPU and currently we support video using channel 23 on i.MX6Q and i.MXQP. &amp;nbsp;&lt;/P&gt;&lt;P&gt;We recently tried to add the pre/prg initialization similar to the mxc drivers in Linux. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After correctly setting up the IPU, pre and prg blocks we end up with garbage being read and shown through the display interface. &amp;nbsp; It never changes, and no matter what address we point the PRE to, the garbage looks the same. &amp;nbsp;&lt;/P&gt;&lt;P&gt;We do however notice one bit is not being cleared in the pre engine. &amp;nbsp;Note we are just trying single buffer mode for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In register HW_PRE_CTRL bit 4 SDW_UPDATE we notice after setting it the hardware store engine never seems to clear the bit. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RM states:&lt;/P&gt;&lt;P&gt;"Indicates that the shadow register should be updated. If have any control register bits are changed,&lt;BR /&gt;Software have to set this bit, and then all register bits will be updated to shadow register end of current&lt;BR /&gt;frame in store engine. And then it will be cleared automatically by hardware."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you point us in the right direction as to what might be happening, that the bit is not being cleared? &amp;nbsp;We are using IPU 1 so PRE0 and PRG0. &amp;nbsp; We know the IDMAC and IPU configuration works without using PRE just fine. &amp;nbsp;The only thing that we had to change for IDMAC setup was the address of the buffer to read. &amp;nbsp;It needs to point to OCRAM2 address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note we would like this to run without interrupts. &amp;nbsp;For single buffer mode we want to setup pre/prg once and simply update data within the buffer. &amp;nbsp;In double buffer mode we would like to set the next buffer in pre to be taken on v-sync. &amp;nbsp;But for now single buffer is a start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a dump of our setup registers:&lt;/P&gt;&lt;P&gt;PRE 0&lt;BR /&gt;0x00000000 0x30000915&lt;BR /&gt;0x00000010 0x00000000&lt;BR /&gt;0x00000020 0x00000000&lt;BR /&gt;0x00000030 0x30300000&lt;BR /&gt;0x00000040 0x30300000&lt;BR /&gt;0x00000050 0x00000000&lt;BR /&gt;0x00000060 0x00000000&lt;BR /&gt;0x00000070 0x00000400&lt;BR /&gt;0x00000080 0x00008829&lt;BR /&gt;0x00000090 0x000800A0&lt;BR /&gt;0x000000A0 0x01E00280&lt;BR /&gt;0x000000B0 0x00000000&lt;BR /&gt;0x000000D0 0x00000A00&lt;BR /&gt;0x000000E0 0x18100800&lt;BR /&gt;0x000000F0 0x00008888&lt;BR /&gt;0x00000100 0x00000000&lt;BR /&gt;0x00000110 0x00000027&lt;BR /&gt;0x00000120 0x40080000&lt;BR /&gt;0x00000130 0x01E00280&lt;BR /&gt;0x00000140 0x00000A00&lt;BR /&gt;0x00000150 0x00940000&lt;BR /&gt;0x00000160 0x00000000&lt;BR /&gt;0x00000170 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRG 0&lt;BR /&gt;0x00 0x82090006&lt;BR /&gt;0x04 0x00000003&lt;BR /&gt;0x08 0x00000000&lt;BR /&gt;0x0C 0x00000000&lt;BR /&gt;0x10 0x000009FF&lt;BR /&gt;0x14 0x00000000&lt;BR /&gt;0x18 0x00000000&lt;BR /&gt;0x1C 0x00000000&lt;BR /&gt;0x20 0x10000000&lt;BR /&gt;0x24 0x00940000&lt;BR /&gt;0x28 0x00000000&lt;BR /&gt;0x2C 0x00000000&lt;BR /&gt;0x30 0x00000000&lt;BR /&gt;0x34 0x00000000&lt;BR /&gt;0x38 0x00000000&lt;BR /&gt;0x3C 0x00000000&lt;BR /&gt;0x40 0x00000000&lt;BR /&gt;0x44 0x00000000&lt;BR /&gt;0x48 0x01DF01DF&lt;BR /&gt;0x4C 0x00000000&lt;BR /&gt;0x50 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We appreciate any help to indicate why that shadow update bit is not getting ingested. &amp;nbsp;We suspect something wrong in the store or prg setup, but its not clear. &amp;nbsp;We also supect this is why the engines aren't starting up and reading data and placing it in OCRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 21:58:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Having-issues-setting-up-prefetch-and-resolve-engine-on-i-MX6QP/m-p/609494#M91909</guid>
      <dc:creator>tommalnar</dc:creator>
      <dc:date>2016-12-13T21:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Having issues setting up prefetch and resolve engine on i.MX6QP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Having-issues-setting-up-prefetch-and-resolve-engine-on-i-MX6QP/m-p/609495#M91910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out it may be related to me incorrectly setting VFLIP. &amp;nbsp; I was setting it to 1, but it should be 0 for GPU buffers. &amp;nbsp;I see some of my data now, but I think I have the wrong resolve type selected as its smeared. &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Channel 0 Vertical Flip Enable&lt;BR /&gt;0 Enable vertical flip&lt;BR /&gt;1 Disable vertical flip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I think we can manage from here if you would like to delete the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 15:56:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Having-issues-setting-up-prefetch-and-resolve-engine-on-i-MX6QP/m-p/609495#M91910</guid>
      <dc:creator>tommalnar</dc:creator>
      <dc:date>2016-12-14T15:56:28Z</dc:date>
    </item>
  </channel>
</rss>

