Skip to content

Commit 13e73cf

Browse files
lumaggouravk-qualcomm
authored andcommitted
FROMLIST: media: qcom: iris: increase H265D_MAX_SLICE to fix H.265 decoding on SC7280
Follow commit bfe1326 ("venus: Fix for H265 decoding failure.") and increase H265D_MAX_SLICE following firmware requirements on that platform. Otherwise decoding of the H.265 streams fails withthe insufficient scratch_1 buffer size from the firmware. Link: https://lore.kernel.org/all/20260327-venus-iris-flip-switch-v5-3-2f4b6c636927@oss.qualcomm.com/ Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com> Reviewed-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
1 parent ae68d8c commit 13e73cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/platform/qcom/iris/iris_vpu_buffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct iris_inst;
6262
#define SIZE_DOLBY_RPU_METADATA (41 * 1024)
6363
#define H264_CABAC_HDR_RATIO_HD_TOT 1
6464
#define H264_CABAC_RES_RATIO_HD_TOT 3
65-
#define H265D_MAX_SLICE 1200
65+
#define H265D_MAX_SLICE 3600
6666
#define SIZE_H265D_HW_PIC_T SIZE_H264D_HW_PIC_T
6767
#define H265_CABAC_HDR_RATIO_HD_TOT 2
6868
#define H265_CABAC_RES_RATIO_HD_TOT 2

0 commit comments

Comments
 (0)