MGS-2302-1 [#imx-225] fix the gpu1 hang with independent mode
authorXianzhong <xianzhong.li@nxp.com>
Mon, 17 Oct 2016 07:58:52 +0000 (15:58 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:33 +0000 (14:52 -0500)
commitef5929874e9d94ad4f3184caec659fb1cd51fdfb
tree0d75d6df1d909bd13cc08cf599b7cd18377f580b
parente01b892184f2686f51a6c0a338a0c622b4152d6e
MGS-2302-1 [#imx-225] fix the gpu1 hang with independent mode

when the app is killed, the kernel driver will free database from the gpu0.
if the app is running on gpu1, its database may be freed by gpu0 unexpectely.
need check kernel pointer in record to prevent the incorrect database free.

Date: Oct 17, 2016
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_db.c