mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vikash Garodia <vikash.garodia@oss.qualcomm.com>
To: Deepa Guthyappa Madivalara <deepa.madivalara@oss.qualcomm.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>,
	Abhinav Kumar <abhinav.kumar@linux.dev>,
	Bryan O'Donoghue <bod@kernel.org>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, kernel test robot <lkp@intel.com>,
	Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
Subject: Re: [PATCH v11 5/5] media: iris: Add BUF_ROIMB_DELTAQP metadata buffer for ROI delta QP
Date: Thu, 3 Dec 2026 14:13:21 +0530	[thread overview]
Message-ID: <e2c3e93d-0e07-47ed-be0f-d1f932c7be3e@oss.qualcomm.com> (raw)
In-Reply-To: <20261120-enc_roi_enable-v11-5-c00b95ea1b81@oss.qualcomm.com>


On 11/21/2026 5:15 AM, Deepa Guthyappa Madivalara wrote:
> - Introduce BUF_ROIMB_DELTAQP as a new internal buffer type to carry
>    per-macroblock ROI delta QP data to the firmware. This buffer is
>    allocated on demand when the application sets ROI parameters via
>    V4L2_CID_MPEG_VIDEO_ROI_MB_DELTA_QP, and is queued alongside each
>    raw input buffer as an HFI_BUFFER_METADATA packet on HFI_PORT_RAW.
> 
> - The metadata buffer layout follows the firmware-defined metabuf_header
>    and metapayload_header structures. The s8 per-MB delta QP values
>    supplied by userspace are widened to s16 as required by the firmware.
> 
> Reviewed-by: Vishnu Reddy<busanna.reddy@oss.qualcomm.com>
> Signed-off-by: Deepa Guthyappa Madivalara<deepa.madivalara@oss.qualcomm.com>
> ---
>   drivers/media/platform/qcom/iris/iris_buffer.c     | 114 +++++++++++++++++++++
>   drivers/media/platform/qcom/iris/iris_buffer.h     |   4 +
>   drivers/media/platform/qcom/iris/iris_ctrls.c      |  28 +++++
>   drivers/media/platform/qcom/iris/iris_ctrls.h      |   1 +
>   drivers/media/platform/qcom/iris/iris_hfi_gen2.c   |   1 +
>   .../platform/qcom/iris/iris_hfi_gen2_command.c     |  24 +++++
>   .../platform/qcom/iris/iris_hfi_gen2_response.c    |   2 +
>   drivers/media/platform/qcom/iris/iris_vidc.c       |   2 +
>   8 files changed, 176 insertions(+)

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

      reply	other threads:[~2026-12-03  8:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 23:45 [PATCH v11 0/5] Implement Region of Interest(ROI) support Deepa Guthyappa Madivalara
2026-11-20 23:45 ` [PATCH v11 1/5] media: v4l2-core: add new control type V4L2_CTRL_TYPE_S8 Deepa Guthyappa Madivalara
2026-12-03  9:36   ` Hans Verkuil
2026-12-03 23:18     ` Deepa Guthyappa Madivalara
2026-11-20 23:45 ` [PATCH v11 2/5] media: uapi: Introduce new control for video encoder ROI Deepa Guthyappa Madivalara
2026-11-20 23:45 ` [PATCH v11 3/5] media: iris: Add ROI delta QP control support for HFI Gen2 encoders Deepa Guthyappa Madivalara
2026-12-03  8:42   ` Vikash Garodia
2026-11-20 23:45 ` [PATCH v11 4/5] media: iris: Add HFI metadata buffer delivery support for " Deepa Guthyappa Madivalara
2026-12-03  8:42   ` Vikash Garodia
2026-11-20 23:45 ` [PATCH v11 5/5] media: iris: Add BUF_ROIMB_DELTAQP metadata buffer for ROI delta QP Deepa Guthyappa Madivalara
2026-12-03  8:43   ` Vikash Garodia [this message]

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=e2c3e93d-0e07-47ed-be0f-d1f932c7be3e@oss.qualcomm.com \
    --to=vikash.garodia@oss.qualcomm.com \
    --cc=abhinav.kumar@linux.dev \
    --cc=bod@kernel.org \
    --cc=busanna.reddy@oss.qualcomm.com \
    --cc=deepa.madivalara@oss.qualcomm.com \
    --cc=dikshita.agarwal@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mchehab@kernel.org \
    /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®