venus: Fix for H265 decoding failure.
authorViswanath Boma <quic_vboma@quicinc.com>
Tue, 15 Nov 2022 12:10:04 +0000 (17:40 +0530)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 12 Apr 2023 07:35:44 +0000 (09:35 +0200)
commitbfe1326573ff9ddd9032f556f0f5aba581b6688c
tree39d61d7605086dc869ba9e96104654749afbe126
parent50248ad9f190d527cbd578190ca769729518b703
venus: Fix for H265 decoding failure.

Aligned the mismatch of persist1 and scratch1 buffer calculation,
as per the firmware requirements.

Signed-off-by: Vikash Garodia <vgarodia@qti.qualcomm.com>
Signed-off-by: Viswanath Boma <quic_vboma@quicinc.com>
Tested-by: Nathan Hebert <nhebert@chromium.org>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c