MGS-2302-4 [#imx-225] free the record from the right kernel
authorXianzhong <xianzhong.li@nxp.com>
Mon, 7 Nov 2016 02:02:20 +0000 (10:02 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:34 +0000 (14:52 -0500)
commite81fa1f0aafca8325b02dcfa3fee4e29c02b8824
treee235b58e4337b3f41b1f560069314482e1e54634
parentb66b0eda76a12d6ad01cf71887f82c81af32fc45
MGS-2302-4 [#imx-225] free the record from the right kernel

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.

free the record from the right kernel, this patch is refined from  MGS-2302-1.

also Revert "MGS-2302-1 [#imx-225] fix the gpu1 hang with independent mode"

This reverts commit 39472fb8b1b30a047c637c82be1b59e0b975bc03.

Date: Nov 07, 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