<?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: How can I get the gpu loading at im8mq</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958644#M143161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wigros,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks your replay!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Explain each filed, note the idle here is power state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;On: Time GPU stays in gcvPOWER_0N.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Off: Time GPU stays in gcvPOWER_0FF.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Idle: Time GPU stays in gcvPOWER_IDLE.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Suspend: Time GPU stays in gcvPOWER_SUSPEND.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt; Is it possible stand for gpu loading with&amp;nbsp; "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;On /&amp;nbsp;&lt;/SPAN&gt;(&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;End-&lt;SPAN&gt;Start)"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jun 2019 13:12:51 GMT</pubDate>
    <dc:creator>harry18456</dc:creator>
    <dc:date>2019-06-24T13:12:51Z</dc:date>
    <item>
      <title>How can I get the gpu loading at im8mq</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958642#M143159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As title,&lt;/P&gt;&lt;P&gt;/unit_tests/GPU/ has gpuinfo.sh script file to show the info. of GPU&lt;/P&gt;&lt;P&gt;I think the idle my be the un-loading of GPU, but the value is always 0 and seem the script is wrong.(the /sys/kernel/gc/idle no $7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give some advice for gpu loading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Jun 2019 02:17:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958642#M143159</guid>
      <dc:creator>harry18456</dc:creator>
      <dc:date>2019-06-22T02:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the gpu loading at im8mq</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958643#M143160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harry,&lt;/P&gt;&lt;P&gt;See below, please! following information was from i.MX Expert.&lt;/P&gt;&lt;P&gt;--------------------------------------------&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;The gpuinfo.sh , actually read&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;/sys/kernel/debug/gc/idle to dump some status, and customer request just related to this file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The default BSP, read this file when run one gpu app like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cat /sys/kernel/debug/gc/idle&lt;BR /&gt;Start: 86195859250 ns&lt;BR /&gt;End: 86828538250 ns&lt;BR /&gt;On: 133228125 ns&lt;BR /&gt;Off: 0 ns&lt;BR /&gt;Idle: 0 ns&lt;BR /&gt;Suspend: 499450875 ns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Explain each filed, note the idle here is power state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;On: Time GPU stays in gcvPOWER_0N.&lt;/P&gt;&lt;P&gt;Off: Time GPU stays in gcvPOWER_0FF.&lt;/P&gt;&lt;P&gt;Idle: Time GPU stays in gcvPOWER_IDLE.&lt;/P&gt;&lt;P&gt;Suspend: Time GPU stays in gcvPOWER_SUSPEND.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Due to default bsp set&amp;nbsp;gcdPOWER_SUSPEND_WHEN_IDLE&amp;nbsp; as 1 , then there is no time into IDLE state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you change as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h&lt;BR /&gt;index 73e98a9..87ad82d 100644&lt;BR /&gt;--- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h&lt;BR /&gt;+++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h&lt;BR /&gt;@@ -547,7 +547,7 @@&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt; gcdPOWER_SUSPEND_WHEN_IDLE&lt;/P&gt;&lt;P&gt;Set to 1 to make GPU enter gcvPOWER_SUSPEND when idle detected,&lt;BR /&gt; otherwise GPU will enter gcvPOWER_IDLE.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; #ifndef gcdPOWER_SUSPEND_WHEN_IDLE&lt;BR /&gt;-# define gcdPOWER_SUSPEND_WHEN_IDLE 1&lt;BR /&gt;+# define gcdPOWER_SUSPEND_WHEN_IDLE 0&lt;BR /&gt; #endif&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then run some gpu app , and dump that file , you can got result as below.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@imx8qxpmek:~# cat /sys/kernel/debug/gc/idle&lt;BR /&gt;Start: 2117611559250 ns&lt;BR /&gt;End: 2121859363125 ns&lt;BR /&gt;On: 535987250 ns&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;Off: 389108375 ns&lt;BR /&gt;Idle: 3322708250 ns&lt;BR /&gt;Suspend: 0 ns&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;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i think there is no problem in default BSP,&amp;nbsp; and keep&amp;nbsp;&lt;SPAN&gt;gcdPOWER_SUSPEND_WHEN_IDLE&amp;nbsp; as 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have a nice day!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Weidong&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2019 04:15:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958643#M143160</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2019-06-24T04:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the gpu loading at im8mq</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958644#M143161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wigros,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks your replay!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Explain each filed, note the idle here is power state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;On: Time GPU stays in gcvPOWER_0N.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Off: Time GPU stays in gcvPOWER_0FF.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Idle: Time GPU stays in gcvPOWER_IDLE.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Suspend: Time GPU stays in gcvPOWER_SUSPEND.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt; Is it possible stand for gpu loading with&amp;nbsp; "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;On /&amp;nbsp;&lt;/SPAN&gt;(&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;End-&lt;SPAN&gt;Start)"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2019 13:12:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958644#M143161</guid>
      <dc:creator>harry18456</dc:creator>
      <dc:date>2019-06-24T13:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the gpu loading at im8mq</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958645#M143162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can help this question ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 00:39:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-gpu-loading-at-im8mq/m-p/958645#M143162</guid>
      <dc:creator>harry18456</dc:creator>
      <dc:date>2019-08-02T00:39:49Z</dc:date>
    </item>
  </channel>
</rss>

