decoder: Alloc memory optimization [1/1]
authormiaohong chen <miaohong.chen@amlogic.com>
Mon, 14 Dec 2020 05:24:09 +0000 (13:24 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 18 Dec 2020 02:01:30 +0000 (18:01 -0800)
commitbeec8b33a15e85a9a9431176c4527b508a824530
tree552af49ae5620ea1cfebbc72f283e53777f6cb36
parenta8eecfb3ee168183b5e198d06fc91bf8c052896d
decoder: Alloc memory optimization [1/1]

PD#SWPL-39007

Problem:
It is not neccessary to using kmalloc.

Solution:
Replace kmalloc with vzalloc.

Verify:
u212

Change-Id: I6e9dc6497f2827feb00af25ef7bd0d4bd23590a1
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
drivers/common/media_clock/clk/clk.c
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/utils/vdec.c