media: Revert "media: mtk-vcodec: Remove extra area allocation in an input buffer...
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Sun, 10 Nov 2019 13:30:18 +0000 (14:30 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 10 Nov 2019 17:10:11 +0000 (18:10 +0100)
commitdca6b3733a4a46e63603496f544ece8ace541fde
tree0ca2e8079c6120af7d100fc19d130890a5998fd9
parenta2cbf80a842add9663522bf898cf13cb2ac4e423
media: Revert "media: mtk-vcodec: Remove extra area allocation in an input buffer on encoding"

This reverts commit 3192b2ca79b3f72fbc0eab9cd95432e3c317ab0d.

There are indications that this patch causes problems on some
platforms due to some hardware prefetch. Reverting this patch
for now until this is better understood.

Reported-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c