]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: verisilicon: HEVC: Initialize start_bit field
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Mon, 20 Jan 2025 08:10:52 +0000 (09:10 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Sat, 22 Feb 2025 10:11:39 +0000 (11:11 +0100)
commit7fcb42b3835e90ef18d68555934cf72adaf58402
tree31f69645e0a6f32c204d63a3cba38e174aca7c52
parent70d4fd1200ca6cdd670c51ec3f1895b5a262261c
media: verisilicon: HEVC: Initialize start_bit field

The HEVC driver needs to set the start_bit field explicitly to avoid
causing corrupted frames when the VP9 decoder is used in parallel. The
reason for this problem is that the VP9 and the HEVC decoder share this
register.

Fixes: cb5dd5a0fa51 ("media: hantro: Introduce G2/HEVC decoder")
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c