OSDN Git Service

media: venus: vdec: Use output resolution on reconfigure
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Thu, 3 Mar 2022 15:06:36 +0000 (15:06 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:34:33 +0000 (08:34 +0100)
commitef15219c3e25e1c4427ffebd2de9ab5f73b29b45
treeab5684b2c98640a3d55aaa074dcee8653b9371f4
parentcef92b14e6535d550d571b99e753b04e44423286
media: venus: vdec: Use output resolution on reconfigure

When recalculate output buffer size we have to take into account
the output resolution from the firmware received during event change
notification.

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