]> git.baikalelectronics.ru Git - kernel.git/commit
hantro: Remove incorrect HEVC SPS validation
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Mon, 18 Jul 2022 21:41:23 +0000 (18:41 -0300)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 27 Jul 2022 18:55:02 +0000 (20:55 +0200)
commitd0d169cad15eb9552262ced212ab638254411551
treed5de2942cb40d58a928da41cc753cedffaac4dca
parent2986a7a5bcf61459d3bfa98b2e85219e336a9152
hantro: Remove incorrect HEVC SPS validation

Currently, the driver tries to validat the HEVC SPS
against the CAPTURE queue format (i.e. the decoded format).
This is not correct, because typically the SPS control is set
before the CAPTURE queue is negotiated.

Fixes: 0092b3143cec9 ("media: hantro: Be more accurate on pixel formats step_width constraints")
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_hevc.c
drivers/staging/media/hantro/hantro_hw.h