MGS-2786 [#imx-479] fix gpu kernel panic with debugfs
authorXianzhong <xianzhong.li@nxp.com>
Thu, 30 Mar 2017 03:58:04 +0000 (11:58 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:47 +0000 (15:21 -0500)
commitb893e9bbc637f562264981f6533cc3aaeb56281b
tree938e11601a7de44a4f204c7e720b1d5d868db237
parent8093436d09fd1fe8d421805ca05da39557882c7b
MGS-2786 [#imx-479] fix gpu kernel panic with debugfs

the user space data cannot be directly accessible in 4.9 kernel.
add copy_from_user to fix this kernel painic for gpu debugfs.

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