<?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: GPU hang after multiple suspend/resume cycles</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962099#M143469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can you please state the detailed duplicated steps?&lt;/P&gt;&lt;P&gt;Can you please provide the detailed failure log for the failure? It hangs before suspend or after resume?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2019 14:19:02 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2019-07-12T14:19:02Z</dc:date>
    <item>
      <title>GPU hang after multiple suspend/resume cycles</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962098#M143468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are running Android application that uses AlarmManager and RTC_WAKEUP to wakeup the system every &lt;BR /&gt;30 seconds from deep sleep and perform some simple tasks.&lt;/P&gt;&lt;P&gt;We discovered that Android 7 and 8 hangs after ~700 suspend/resume cycles. &lt;BR /&gt;The issue was reproduced on Sabre SD iMX6q platform running Android n7.1.2_2.0.0-ga and mx-o8.0.0_1.0.0_ga.&lt;/P&gt;&lt;P&gt;After adding some debug we traced the failure to kernel_imx/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c file.&lt;BR /&gt;After adding debug, the last few lines captured just before the&amp;nbsp;system system hang and before (imX6 watchdog triggers) are:&lt;BR /&gt;__set_current_state(TASK_INTERRUPTIBLE);&lt;BR /&gt;spin_unlock_irq(&amp;amp;signal-&amp;gt;obj.wait.lock);&lt;BR /&gt;timeout = schedule_timeout(timeout);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks like the problem is related to gpu-viv driver or to Freescale/NXP proprietary graphics libraries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the cause of this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 16:06:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962098#M143468</guid>
      <dc:creator>zbigniewbauer</dc:creator>
      <dc:date>2019-07-09T16:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: GPU hang after multiple suspend/resume cycles</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962099#M143469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can you please state the detailed duplicated steps?&lt;/P&gt;&lt;P&gt;Can you please provide the detailed failure log for the failure? It hangs before suspend or after resume?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 14:19:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962099#M143469</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-07-12T14:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: GPU hang after multiple suspend/resume cycles</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962100#M143470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The GPU hung issue can be reproduced on Sabre iMX6Q development board.&lt;BR /&gt;Image used in test: android_&lt;STRONG&gt;N7.1.2_2.0.0&lt;/STRONG&gt;_image_6dqpsabresd.tar.gz downloaded from NXP website (&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX_N7.1.2_2.0.0_ANDROID_DEMO_SD_BSP&amp;amp;appType=license&amp;amp;location=null"&gt;https://www.nxp.com/webapp/Download?colCode=IMX_N7.1.2_2.0.0_ANDROID_DEMO_SD_BSP&amp;amp;appType=license&amp;amp;location=null&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is MainActivity.java file from Android test application that was used to test suspend/resume. The test sets an alarm to wake up the system (partial wake up, display stays off).&lt;/P&gt;&lt;P&gt;On alarm the app runs a simple task (2 seconds sleep, set new alarm). To speed up the test process the application sets new alarm every 12 seconds. &lt;BR /&gt;During the test the USB client cable should be disconnected to allow the system to go into full sleep mode.&lt;BR /&gt;Attached is a partial log file (first boot, a few first suspend resume cycles, and a few last suspend/resume cycles before the system hung and reset).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The boot arguments were modified to print debug messages during suspend/resume:&lt;BR /&gt;&lt;EM&gt;setenv bootargs console=ttymxc0,115200 earlyprintk=serial,ttymxc0,115200 initcall_debug ignore_loglevel no_console_suspend init=/init video=mxcfb0:dev=ldb,fbpix=RGB32,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale androidboot.selinux=permissive cma=448M buildvariant=user&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system hang during resume process in gpu driver.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The same test run on Sabre DP with android_&lt;STRONG&gt;N7.1.1_1.0.0&lt;/STRONG&gt;_image_6dqpsabresd.tar.gz image works fine. The test run for a several days without any issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jul 2019 16:46:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962100#M143470</guid>
      <dc:creator>zbigniewbauer</dc:creator>
      <dc:date>2019-07-14T16:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: GPU hang after multiple suspend/resume cycles</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962101#M143471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, we don´t have any way to reproduced this but your issue is hardware. Please check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 14:28:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962101#M143471</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-07-15T14:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: GPU hang after multiple suspend/resume cycles</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962102#M143472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can't be a hardware issue. I tested this on two different platforms with same result.&lt;/P&gt;&lt;P&gt;Android 7.1.1 release works fine, Android 7.2.2 release hung/resets after ~700 suspend/resume cycles.&lt;/P&gt;&lt;P&gt;This issue can be reproduced on NXP SABRE iMX6Q reference platform.&lt;/P&gt;&lt;P&gt;Can you please try to reproduce this on your side. This is a show stopper issue for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 17:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962102#M143472</guid>
      <dc:creator>zbigniewbauer</dc:creator>
      <dc:date>2019-07-16T17:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: GPU hang after multiple suspend/resume cycles</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962103#M143473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please check whether attached patch is helpful?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 15:14:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962103#M143473</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-07-17T15:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: GPU hang after multiple suspend/resume cycles</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962104#M143474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The patch fixed GPU hung issue. I was able to run suspend/resume test for several days without any problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2019 14:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-hang-after-multiple-suspend-resume-cycles/m-p/962104#M143474</guid>
      <dc:creator>zbigniewbauer</dc:creator>
      <dc:date>2019-07-22T14:57:09Z</dc:date>
    </item>
  </channel>
</rss>

