]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: iris: Add internal buffer calculation for AV1 decoder
authorDeepa Guthyappa Madivalara <deepa.madivalara@oss.qualcomm.com>
Wed, 10 Dec 2025 18:59:08 +0000 (10:59 -0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 14 Jan 2026 07:25:55 +0000 (08:25 +0100)
commit819fcf0554388bb54b64184902cebfed5260437d
tree507c29583de161e5e4fcea7930d3e7465766fdbd
parent2af481a459a4740c402d2b3346bc4f7b013d74b4
media: iris: Add internal buffer calculation for AV1 decoder

Implement internal buffer count and size calculations for AV1 decoder
for all the buffer types required by the AV1 decoder, including BIN,
COMV, PERSIST, LINE, and PARTIAL.

This ensures the hardware decoder has properly allocated memory for AV1
decoding operations, enabling correct AV1 video playback.

Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Signed-off-by: Deepa Guthyappa Madivalara <deepa.madivalara@oss.qualcomm.com>
Tested-by: Val Packett <val@packett.cool>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/iris/iris_buffer.h
drivers/media/platform/qcom/iris/iris_vpu_buffer.c
drivers/media/platform/qcom/iris/iris_vpu_buffer.h