MGS-4964-1 [#imx-1533] fix galcore load ctrl-C issue
authorXianzhong <xianzhong.li@nxp.com>
Fri, 14 Jun 2019 16:18:56 +0000 (00:18 +0800)
committerXianzhong <xianzhong.li@nxp.com>
Wed, 14 Aug 2019 19:32:28 +0000 (03:32 +0800)
fix 8QM GPU hang with ctrl-c during galcore load/unload

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c

index 6f894ca..e1e5163 100644 (file)
@@ -2179,6 +2179,11 @@ gckGALDEVICE_Stop(
             continue;
         }
 
+        if (Device->isrInitializeds[i] == gcvFALSE)
+        {
+            continue;
+        }
+
         if (i == gcvCORE_VG)
         {
 #if gcdENABLE_VG