From c457282c7cf9329b53cb15f5b91daafd56e5202f Mon Sep 17 00:00:00 2001 From: Xianzhong Date: Sat, 15 Jun 2019 00:18:56 +0800 Subject: [PATCH] MGS-4964-1 [#imx-1533] fix galcore load ctrl-C issue fix 8QM GPU hang with ctrl-c during galcore load/unload Signed-off-by: Xianzhong --- .../mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c index 6f894ca8ec87..e1e5163a6b81 100644 --- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c +++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c @@ -2179,6 +2179,11 @@ gckGALDEVICE_Stop( continue; } + if (Device->isrInitializeds[i] == gcvFALSE) + { + continue; + } + if (i == gcvCORE_VG) { #if gcdENABLE_VG -- 2.17.1