Re: [PATCH v3 24/26] media: iris: Allocate and queue internal buffers for encoder video device

From: Vikash Garodia
Date: Mon Aug 25 2025 - 02:15:43 EST



On 8/20/2025 2:38 PM, Dikshita Agarwal wrote:
> +static u32 iris_vpu_enc_non_comv_size(struct iris_inst *inst)
> +{
> + u32 num_vpp_pipes = inst->core->iris_platform_data->num_vpp_pipe;
> + struct v4l2_format *f = inst->fmt_dst;
> + u32 height = f->fmt.pix_mp.height;
> + u32 width = f->fmt.pix_mp.width;
> + u32 lcu_size = 16;
> +
> + if (inst->codec == V4L2_PIX_FMT_HEVC) {
> + lcu_size = 32;
> + return hfi_buffer_non_comv_enc(width, height, num_vpp_pipes,
> + lcu_size, HFI_CODEC_ENCODE_HEVC);

Add the fix which was discussed in [1]. Please add the tag once done

Reviewed-by: Vikash Garodia <quic_vgarodia@xxxxxxxxxxx>

[1] https://lore.kernel.org/all/0662da96-8987-45ae-ab06-c60003ef26e3@xxxxxxxxxx/