linux-xiaomi-chiron/drivers/staging/media
Nicolas Dufresne 3a99c44741 media: rkvdec: Disable H.264 error detection
Quite often, the HW get stuck in error condition if a stream error
was detected. As documented, the HW should stop immediately and self
reset. There is likely a problem or a miss-understanding of the self
reset mechanism, as unless we make a long pause, the next command
will then report an error even if there is no error in it.

Disabling error detection fixes the issue, and let the decoder continue
after an error. This patch is safe for backport into older kernels.

Fixes: cd33c83044 ("media: rkvdec: Add the rkvdec driver")
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Reviewed-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>
2022-09-27 10:24:44 +02:00
..
atomisp media: staging/media/atomisp/pci/atomisp: Fix typo in string 2022-07-08 17:49:47 +01:00
av7110 media: av7110: Remove duplicate 'with' in two places. 2022-06-27 09:31:18 +01:00
hantro hantro: Remove incorrect HEVC SPS validation 2022-07-27 20:55:02 +02:00
imx media: mc-entity: Rename media_entity_remote_pad() to media_pad_remote_pad_first() 2022-07-17 11:21:35 +01:00
ipu3 media: staging: media: ipu3: Fix AWB x_start position when rightmost stripe is used 2022-04-24 08:28:44 +01:00
max96712 media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
meson/vdec media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
omap4iss media: mc-entity: Rename media_entity_remote_pad() to media_pad_remote_pad_first() 2022-07-17 11:21:35 +01:00
rkvdec media: rkvdec: Disable H.264 error detection 2022-09-27 10:24:44 +02:00
stkwebcam media: stkwebcam: deprecate driver, move to staging 2022-06-20 10:30:31 +01:00
sunxi media: cedrus: hevc: Add check for invalid timestamp 2022-07-27 20:27:10 +02:00
tegra-video media: mc-entity: Rename media_entity_remote_pad() to media_pad_remote_pad_first() 2022-07-17 11:21:35 +01:00
zoran media: staging: media: zoran: replace dprintk with new debugging macros 2022-06-20 10:30:29 +01:00
Kconfig media: stkwebcam: deprecate driver, move to staging 2022-06-20 10:30:31 +01:00
Makefile media: stkwebcam: deprecate driver, move to staging 2022-06-20 10:30:31 +01:00