media: Revert "media: mtk-vcodec: Remove extra area allocation in an input buffer...
authorAlexandre Courbot <acourbot@chromium.org>
Fri, 21 Aug 2020 10:36:02 +0000 (12:36 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 26 Sep 2020 08:08:49 +0000 (10:08 +0200)
commitbcbe5adac37ab9c7051c14f7987465893f36d44f
tree6f3e83945b2689cc82401bcc6026da9054d403c7
parentc9082c9d39987933958d9075e45721fe9b9a2fcb
media: Revert "media: mtk-vcodec: Remove extra area allocation in an input buffer on encoding"

This reverts commit 81735ecb62f882853a37a8c157407ec4aed44fd0.

The hardware needs data to follow the previous alignment, so this extra
space was not superfluous after all. Besides, this also made
v4l2-compliance's G_FMT and S_FMT tests regress.

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Acked-by: Tiffany Lin <tiffany.lin@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c