]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
v4l: ti-vpe: Use dma API to allocate motion vector buffers
authorArchit Taneja <archit@ti.com>
Wed, 4 Dec 2013 14:12:53 +0000 (19:42 +0530)
committerPraneeth Bajjuri <praneeth@ti.com>
Mon, 9 Dec 2013 17:55:30 +0000 (11:55 -0600)
commitc8d67fea4fbe9dea8420c6565d8b6c23e7117746
tree6bebf06c904d75eb2a8e32c0129f858ea406766d
parentf5790211c8adf567df2c413d09ca7f8b2e0e05b2
v4l: ti-vpe: Use dma API to allocate motion vector buffers

Motion vector buffers are currently allocated through kernel's kzalloc function.
These buffers can be large if the input buffer resolution is high. We should use
dma API when allocating large buffers.

Change the allocation from kzalloc to DMA API.

Change-Id: I9732f7fa80ab69d7fa5bca0acfaa59f473f19539
Signed-off-by: alaganraj <alaganraj.s@ti.com>
drivers/media/platform/ti-vps/vpe.c