]> git.baikalelectronics.ru Git - kernel.git/commit
media: hantro: fix extra MV/MC sync space calculation
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 27 Jan 2020 14:56:02 +0000 (15:56 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 16:20:34 +0000 (17:20 +0100)
commitb07cc6b10a4e6db3f4c865e32b801e3cde3d64e9
tree374db1cfcac59861fbd18190ebfb2bdb2ec00528
parentf89ce3e166590eb06f1d0a370433a37b99220db9
media: hantro: fix extra MV/MC sync space calculation

Add space for MVs and MC sync data to the capture buffers depending on
whether the post processor will be enabled for the new capture format
passed to TRY_FMT, not the currently set capture format.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_v4l2.c