media: venus: vdec: allow bigger sizeimage set by clients
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Wed, 16 Jan 2019 16:48:47 +0000 (14:48 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 5 Aug 2019 13:55:36 +0000 (10:55 -0300)
commitbe76f150bcadec1707e3718b0750a8b2261b3c20
treeb9ec892f7b45512b26d56299105588a6857086bd
parentcef697d8a0632f649c9b0450e14a370b85d2d10d
media: venus: vdec: allow bigger sizeimage set by clients

In most of the cases the client will know better what could be
the maximum size for compressed data buffers. Change the driver
to permit the user to set bigger size for the compressed buffer
but make reasonable sanitation.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/qcom/venus/vdec.c