MGS-3691 fix gpu kernel panic in cache invalidate
authorXianzhong <xianzhong.li@nxp.com>
Mon, 12 Mar 2018 19:12:17 +0000 (03:12 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:47 +0000 (14:56 -0500)
commitc92e196415824c4826e4e352ad0f947e57538a41
tree8368f0dda676839539bbb3330834be3b8503b112
parent13d4dace4587cf5987013b8fdf965a9972a2f873
MGS-3691 fix gpu kernel panic in cache invalidate

kernel panic when run opencl cts test_buffers on mScale850D,
use get_user and put_user to touch and validate user memory,

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_user_memory.c