MGS-3531 [#imx-865] fix gpu kernel panic issue
authorXianzhong <xianzhong.li@nxp.com>
Fri, 22 Dec 2017 20:56:32 +0000 (04:56 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:08 +0000 (14:52 -0500)
commit7bd6da7b846315b0718158493cccd23a86d851af
tree87c9f069445d3dcd1c69b574d834a795ed43bb13
parent7e583757f87c7c9cb457890ba62ec19db636be64
MGS-3531 [#imx-865] fix gpu kernel panic issue

it is reproduced easily with multiple es11 cts tests,
gpu kernel panic in function _ConvertLogical2Physical.

need remove mdl from global list before destroy map list,
this can prevent the wrong access on the freed map data.

Date: Dec 22, 2017
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c