MA-9931 [#imx-667] use kzalloc instead of kmalloc during fence_init.
authorJessie Hao <juan.hao@nxp.com>
Mon, 17 Jul 2017 09:52:34 +0000 (17:52 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:39 +0000 (15:33 -0500)
commit7ac0db7c706ef582b49e1efc0ee5fc092401bbe5
treed72906734d3cb67bc8e2bd92072f2bde7942e1bc
parent6059729de7443bc45c4202376a45bd8d9fcd22cc
MA-9931 [#imx-667] use kzalloc instead of kmalloc during fence_init.

Fix cts android.app.uiautomation.cts.UiAutomationTest#testWindowContentFrameStats fail.
This case check fence getSignalTime, which is get from fence->timestamp.
If use kmalloc, timestamp value is not guaranteed and can't be updated during fence_signal.

Date: Jul 17, 2017
Signed-off-by: juan.hao <juan.hao@nxp.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_sync.c