<?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>topic Re: i.MX6DL - GPU Scaling from Userspace in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749099#M116545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at description of GPU driver in Chapter 13 and GPU Tools:&lt;/P&gt;&lt;P&gt;IDE - Debug, Compile and Build Tools (15)&lt;BR /&gt;IMX6_L4.1.15_2.0.0_GPU_TOOL&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fproducts%2Fprocessors-and-microcontrollers%2Fapplications-processors%2Fi.mx-applications-processors%2Fi.mx-6-processors%2Fi.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core%3Ai.MX6Q%3Ftab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-processors/i.mx-6-processors/i.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core:i.MX6Q?tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also NXP has special service: Professional Services for helping with developing custom drivers.&lt;BR /&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE" title="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE"&gt;NXP Professional Services|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2018 07:27:19 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-02-21T07:27:19Z</dc:date>
    <item>
      <title>i.MX6DL - GPU Scaling from Userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749096#M116542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed that the GPU3D clock speed on my imx6 device gets scaled to 1/64 clock speed when it overheats to a particular temperature. It calls&amp;nbsp;gckHARDWARE_SetFscaleValue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; Is there an easy way from the command line or a C program for me to set the GPU3D clock speed myself?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 22:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749096#M116542</guid>
      <dc:creator>jameshuang</dc:creator>
      <dc:date>2018-02-15T22:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL - GPU Scaling from Userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749097#M116543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scaling functionality is described in Chapter 24 Dynamic Bus Frequency Driver&lt;/P&gt;&lt;P&gt;attached Linux Manual and one can look at its codes for using in custom application.&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, 16 Feb 2018 10:57:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749097#M116543</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-02-16T10:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL - GPU Scaling from Userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749098#M116544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You pointed me to a chapter on scaling bus frequencies. The GPU is not a bus is it?&lt;/P&gt;&lt;P&gt;The drive code that I think is relevant to me is in Chapter 25 (Thermal Driver).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;I had put together this from the code in&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;SPAN&gt;&amp;nbsp;thermal driver&amp;nbsp;&lt;/SPAN&gt;(&lt;A class="link-titled" href="https://github.com/Freescale/kernel-module-imx-gpu-viv/blob/master/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c" title="https://github.com/Freescale/kernel-module-imx-gpu-viv/blob/master/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c"&gt;kernel-module-imx-gpu-viv/gc_hal_kernel_platform_imx6q14.c at master · Freescale/kernel-module-imx-gpu-viv · GitHub&lt;/A&gt;&amp;nbsp;)&amp;nbsp;&lt;/SPAN&gt;but I've gotten a little stuck:&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;&lt;BLOCKQUOTE class="jive-quote" style="border-left: 1px solid #cccccc; margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"&gt;IN gckPLATFORM Platform&lt;BR /&gt;struct platform_device *pdevice = Platform-&amp;gt;device;&lt;BR /&gt;gckGALDEVICE galDevice = platform_get_drvdata(pdevice);&lt;BR /&gt;if (galDevice) {&lt;BR /&gt;&amp;nbsp; if (galDevice-&amp;gt;kernels[gcvCORE_MAJOR]) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; gckHARDWARE hardware = galDevice-&amp;gt;kernels[gcvCORE_MAJOR]-&amp;gt;hardware;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (hardware) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; gckHARDWARE_SetFscaleValue(hardware, minFscale);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;How do I initialize my Platform struct properly?&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;What does the "IN" prefix/macro mean?&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 00:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749098#M116544</guid>
      <dc:creator>jameshuang</dc:creator>
      <dc:date>2018-02-21T00:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL - GPU Scaling from Userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749099#M116545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at description of GPU driver in Chapter 13 and GPU Tools:&lt;/P&gt;&lt;P&gt;IDE - Debug, Compile and Build Tools (15)&lt;BR /&gt;IMX6_L4.1.15_2.0.0_GPU_TOOL&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fproducts%2Fprocessors-and-microcontrollers%2Fapplications-processors%2Fi.mx-applications-processors%2Fi.mx-6-processors%2Fi.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core%3Ai.MX6Q%3Ftab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-processors/i.mx-6-processors/i.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core:i.MX6Q?tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also NXP has special service: Professional Services for helping with developing custom drivers.&lt;BR /&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE" title="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE"&gt;NXP Professional Services|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 07:27:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-GPU-Scaling-from-Userspace/m-p/749099#M116545</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-02-21T07:27:19Z</dc:date>
    </item>
  </channel>
</rss>

