]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: venus: hfi_parser: Don't initialize parser on v1
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Sun, 7 Mar 2021 11:16:03 +0000 (12:16 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 19 May 2021 08:32:29 +0000 (10:32 +0200)
commitd3a4a4cd069d03bc4d9e30f2c37be39df1b5bb05
treeb39b1a878d64a3a2b962dabcd054bac9973a06c9
parenta81c7cd311fe6e83be1cc3076ba364272f49aa62
media: venus: hfi_parser: Don't initialize parser on v1

BugLink: https://bugs.launchpad.net/bugs/1928857
commit 834124c596e2dddbbdba06620835710ccca32fd0 upstream.

The Venus v1 behaves differently comparing with the other Venus
version in respect to capability parsing and when they are send
to the driver. So we don't need to initialize hfi parser for
multiple invocations like what we do for > v1 Venus versions.

Fixes: 10865c98986b ("media: venus: parser: Prepare parser for multiple invocations")
Cc: stable@vger.kernel.org # v5.10+
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/media/platform/qcom/venus/hfi_parser.c