media: venus: hfi_parser: Ignore HEVC encoding for V1
authorStephan Gerhold <stephan@gerhold.net>
Mon, 9 Dec 2019 19:16:52 +0000 (20:16 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 27 Feb 2020 15:38:50 +0000 (16:38 +0100)
commitc50cc6dc6c48300af63a6fbc71b647053c15fc80
treee64d337b21fa64c436d95907eb2f21975b016580
parent9cd5e5ab552546e79943ccde2b5ec0e4a090af1f
media: venus: hfi_parser: Ignore HEVC encoding for V1

Some older MSM8916 Venus firmware versions also seem to indicate
support for encoding HEVC, even though they really can't.
This will lead to errors later because hfi_session_init() fails
in this case.

HEVC is already ignored for "dec_codecs", so add the same for
"enc_codecs" to make these old firmware versions work correctly.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/hfi_parser.c