mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vikash Garodia <vikash.garodia@oss.qualcomm.com>
To: Xilin Wu <sophon@radxa.com>,
	Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>,
	Abhinav Kumar <abhinav.kumar@linux.dev>,
	Bryan O'Donoghue <bod@kernel.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Hans Verkuil <hverkuil@kernel.org>
Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	dragon@radxa.com, Chris Obbard <chris.obbard@oss.qualcomm.com>,
	Deepak Sikri <sikrid@qti.qualcomm.com>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	Loic Minier <loic.minier@oss.qualcomm.com>,
	Jason Pettit <jason.pettit@oss.qualcomm.com>
Subject: Re: [PATCH v2 2/5] media: iris: allow larger capture buffer pools on HFI gen2
Date: Fri, 27 Nov 2026 19:01:33 +0530	[thread overview]
Message-ID: <c1a5a27d-5b59-41f9-976e-68a7961e9936@oss.qualcomm.com> (raw)
In-Reply-To: <20261127-iris-va-fixes-v2-2-385e8636c22d@radxa.com>


On 11/27/2026 5:10 PM, Xilin Wu wrote:
> vb2 limits a queue to 32 buffers unless the driver sets
> max_num_buffers. Clients with deep decode pipelines, such as VLC with
> frame threading, can need more CAPTURE buffers than that.
> 
> HFI gen2 firmware takes the number of host buffers for each port
> through HFI_PROP_BUFFER_HOST_MAX_COUNT. The encoder caps set it for
> both ports, while the decoder caps only set it for the bitstream port.
> 
> Add OUTPUT_BUF_HOST_MAX_COUNT to the HFI gen2 decoder caps, and size
> the CAPTURE queue from that capability when the platform provides it.
> Platforms without it, such as HFI gen1, keep the vb2 default.
> 
> Signed-off-by: Xilin Wu<sophon@radxa.com>
> ---
>   drivers/media/platform/qcom/iris/iris_hfi_gen2.c | 30 ++++++++++++++++++++++++
>   drivers/media/platform/qcom/iris/iris_vidc.c     |  8 +++++++
>   2 files changed, 38 insertions(+)

Reviewed-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com>

  reply	other threads:[~2026-11-27 13:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 11:40 [PATCH v2 0/5] media: iris: HFI gen2 features and fixes for VA-API Xilin Wu
2026-11-27 11:40 ` [PATCH v2 1/5] media: iris: support decode-order output on HFI gen2 Xilin Wu
2026-11-27 13:21   ` Vikash Garodia
2026-11-27 11:40 ` [PATCH v2 2/5] media: iris: allow larger capture buffer pools " Xilin Wu
2026-11-27 13:31   ` Vikash Garodia [this message]
2026-11-27 11:40 ` [PATCH v2 3/5] media: iris: Add deblocking filter controls for " Xilin Wu
2026-11-27 11:40 ` [PATCH v2 4/5] media: iris: Preserve timestamps on error buffers Xilin Wu
2026-11-27 13:44   ` Vikash Garodia
2026-11-27 11:40 ` [PATCH v2 5/5] media: iris: Recycle decoder buffers for non-display pictures Xilin Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c1a5a27d-5b59-41f9-976e-68a7961e9936@oss.qualcomm.com \
    --to=vikash.garodia@oss.qualcomm.com \
    --cc=abhinav.kumar@linux.dev \
    --cc=bod@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=chris.obbard@oss.qualcomm.com \
    --cc=dikshita.agarwal@oss.qualcomm.com \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=dragon@radxa.com \
    --cc=hverkuil@kernel.org \
    --cc=jason.pettit@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=loic.minier@oss.qualcomm.com \
    --cc=mchehab@kernel.org \
    --cc=sikrid@qti.qualcomm.com \
    --cc=sophon@radxa.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®