From: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
To: "Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Daniel Scally" <dan.scally@ideasonboard.com>,
"Keke Li" <keke.li@amlogic.com>,
"Antoine Bouyer" <antoine.bouyer@nxp.com>,
"Jai Luthra" <jai.luthra@ideasonboard.com>,
"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
"Ricardo Ribalda" <ribalda@chromium.org>
Cc: "Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Sakari Ailus" <sakari.ailus@linux.intel.com>,
"Hans Verkuil" <hverkuil+cisco@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
"Jacopo Mondi" <jacopo.mondi@ideasonboard.com>,
"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Subject: [PATCH v3 0/6] media: v4l2-isp: Add support for extensible statistics
Date: Sat, 27 Jun 2026 15:41:57 +0200 [thread overview]
Message-ID: <20260627-extensible-stats-v3-0-3b600bb2db8b@ideasonboard.com> (raw)
This series breaks out from Antonie's
https://patchwork.linuxtv.org/project/linux-media/list/?series=24043
the extensible stats support and adds a few more patches on top to:
- add support for per-block validation as suggested during the review of
Ricardo's
https://patchwork.linuxtv.org/project/linux-media/patch/20260504-smatch-7-1-v3-6-fda125c30058@chromium.org/
- add two helper functions to v4l2-isp to ease handling of extensible
statistics for drivers. An early user, based on a preliminary version
of the patches is available here as a reference:
https://patchwork.linuxtv.org/project/linux-media/list/?series=24703
After testing v2 on real hw, I realized I had a wrong check for the
validation callback, which is now fixed in v3.
- if (type_info->block_validate &&
- type_info->block_validate(dev, block))
+ if (info->block_validate && info->block_validate(dev, block))
and validation is now actually performed :)
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
Changes in v3:
- Fix block validation callback
- Link to v2: https://lore.kernel.org/r/20260626-extensible-stats-v2-0-41fdd5cf728b@ideasonboard.com
Changes in v2:
- Collect tags
- Link to v1: https://lore.kernel.org/r/20260505-extensible-stats-v1-0-e16f326b8dad@ideasonboard.com
---
Antoine Bouyer (2):
media: uapi: v4l2-isp: Add extensible statistics
media: Documentation: uapi: Update V4L2 ISP for extensible stats
Jacopo Mondi (4):
media: v4l2-isp: Rename v4l2_isp_params_buffer_size
media: v4l2-isp: Add per-block validation callback
media: amlogic-c3: Implement per-block validation
media: v4l2-isp: Add helpers for stats buffer
Documentation/userspace-api/media/v4l/v4l2-isp.rst | 45 ++++++--
.../media/platform/amlogic/c3/isp/c3-isp-params.c | 42 ++++++-
.../media/platform/arm/mali-c55/mali-c55-params.c | 12 +-
drivers/media/v4l2-core/v4l2-isp.c | 55 +++++++++
include/media/v4l2-isp.h | 94 +++++++++++++---
include/uapi/linux/media/v4l2-isp.h | 125 +++++++++++++--------
6 files changed, 293 insertions(+), 80 deletions(-)
---
base-commit: 06cb687a5132fcffe624c0070576ab852ac6b568
change-id: 20260504-extensible-stats-f2d6befcc1ce
Best regards,
--
Jacopo Mondi <jacopo.mondi@ideasonboard.com>
next reply other threads:[~2026-06-27 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-27 13:41 Jacopo Mondi [this message]
2026-06-27 13:41 ` [PATCH v3 1/6] media: uapi: v4l2-isp: Add " Jacopo Mondi
2026-06-27 13:41 ` [PATCH v3 2/6] media: Documentation: uapi: Update V4L2 ISP for extensible stats Jacopo Mondi
2026-06-27 13:42 ` [PATCH v3 3/6] media: v4l2-isp: Rename v4l2_isp_params_buffer_size Jacopo Mondi
2026-06-27 13:42 ` [PATCH v3 4/6] media: v4l2-isp: Add per-block validation callback Jacopo Mondi
2026-06-27 13:42 ` [PATCH v3 5/6] media: amlogic-c3: Implement per-block validation Jacopo Mondi
2026-06-27 13:42 ` [PATCH v3 6/6] media: v4l2-isp: Add helpers for stats buffer Jacopo Mondi
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=20260627-extensible-stats-v3-0-3b600bb2db8b@ideasonboard.com \
--to=jacopo.mondi@ideasonboard.com \
--cc=antoine.bouyer@nxp.com \
--cc=dan.scally@ideasonboard.com \
--cc=hverkuil+cisco@kernel.org \
--cc=jai.luthra@ideasonboard.com \
--cc=keke.li@amlogic.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=niklas.soderlund@ragnatech.se \
--cc=ribalda@chromium.org \
--cc=sakari.ailus@linux.intel.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®