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 3/5] media: iris: Add ROI delta QP control support for HFI Gen2 encoders
Date: Thu, 3 Dec 2026 14:12:25 +0530	[thread overview]
Message-ID: <9964cc3c-d12a-45df-8693-5614bc8578a9@oss.qualcomm.com> (raw)
In-Reply-To: <20261120-enc_roi_enable-v11-3-c00b95ea1b81@oss.qualcomm.com>


On 11/21/2026 5:15 AM, Deepa Guthyappa Madivalara wrote:
> Add ROI support to the Iris encoder driver for HFI Gen2 based targets.
> 
> - Add control infrastructure, ROI_PARAMS and MB_SIZE capability IDs to
>    platform_inst_fw_cap_type. Extend struct platform_inst_fw_cap with
>    p_array and elems fields to hold a pointer to the per-frame
>    delta QP array and its element count, set during s_ctrl.
> - Register V4L2_CID_MPEG_VIDEO_ROI_MB_DELTA_QP as a dynamic S8
>    array control (max dims = 139264 entries, supporting resolution of
>    8192x4352 at 16x16 MB granularity).
>    Register V4L2_CID_MPEG_VIDEO_ROI_MB_SIZE as a read-only U8
>    control; g_volatile_ctrl returns 32 for HEVC and 16 for H.264.
> - Define HFI_PROP_ROI_INFO and hook ROI_PARAMS to iris_set_roi_params().
> 
> 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_ctrls.c      | 70 +++++++++++++++++++++-
>   drivers/media/platform/qcom/iris/iris_hfi_gen2.c   | 13 ++++
>   .../platform/qcom/iris/iris_hfi_gen2_defines.h     |  1 +
>   .../platform/qcom/iris/iris_platform_common.h      |  5 ++
>   4 files changed, 88 insertions(+), 1 deletion(-)

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


  reply	other threads:[~2026-12-03  8:42 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 [this message]
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

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=9964cc3c-d12a-45df-8693-5614bc8578a9@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®