All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Anthony McGivern" <anthony.mcgivern@arm.com>,
	devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org
Subject: Re: [PATCH 17/24] media: uapi: Add statistics structs to mali-c720-config.h
Date: Tue, 24 Nov 2026 17:26:29 +0000	[thread overview]
Message-ID: <sashiko-outbox-231703@kernel.org> (raw)
In-Reply-To: <20261124-b4-initial-upstream-candidate-v1-17-0cb9bde1bd30@arm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] media: uapi: undocumented MALI_C720_STATS_MAX in enum
  mali_c720_stats_type
--

commit 69f08e39ef3ea35be2a6109a1c325ef3b69ded6d
Author: Anthony McGivern <Anthony.McGivern@arm.com>

media: uapi: Add statistics structs to mali-c720-config.h

This commit adds the UAPI header definitions describing the 3A statistics
buffer format for the Mali-C720 ISP.

> diff --git a/include/uapi/linux/media/arm/mali-c720-config.h b/include/uapi/linux/media/arm/mali-c720-config.h
> new file mode 100644
> index 0000000000000..445cae09a84cc
> --- /dev/null
> +++ b/include/uapi/linux/media/arm/mali-c720-config.h
> @@ -0,0 +1,184 @@

[ ... ]

> +/**
> + * enum mali_c720_stats_type - Mali-C720 statistics block targets
> + * @MALI_C720_STATS_NOOP: No data; skip the block using its size.
> + * @MALI_C720_STATS_HISTOGRAM_INP: Input histogram statistics.
> + * @MALI_C720_STATS_HISTOGRAM_HV: HV histogram statistics (pre-Iridix).
> + * @MALI_C720_STATS_HISTOGRAM_HV_IRIDIX: HV histogram statistics (post-Iridix).
> + * @MALI_C720_STATS_COLOR_HV: HV color statistics.
> + */
> +enum mali_c720_stats_type {
> +	MALI_C720_STATS_NOOP,
> +	MALI_C720_STATS_HISTOGRAM_INP,
> +	MALI_C720_STATS_HISTOGRAM_HV,
> +	MALI_C720_STATS_HISTOGRAM_HV_IRIDIX,
> +	MALI_C720_STATS_COLOR_HV,
> +	MALI_C720_STATS_MAX,
> +};

[Severity: Low]
Should MALI_C720_STATS_MAX be documented in the kernel-doc comment or
marked with /* private: */?  As written, scripts/kernel-doc warns that
MALI_C720_STATS_MAX is not described in enum mali_c720_stats_type.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-b4-initial-upstream-candidate-v1-0-0cb9bde1bd30@arm.com?part=17

  reply	other threads:[~2026-11-24 17:26 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 17:07 [PATCH 00/24] Add Arm Mali-C720 Image Signal Processor Driver Anthony McGivern
2026-11-24 17:07 ` [PATCH 01/24] media: uapi: Add 24-bit Bayer media bus formats Anthony McGivern
2026-11-24 17:07 ` [PATCH 02/24] dt-bindings: media: Add bindings for Arm Mali-C720 Anthony McGivern
2026-11-24 17:18   ` sashiko-bot
2026-11-25  8:51   ` Krzysztof Kozlowski
2026-11-26 14:55     ` Anthony McGivern
2026-11-26 15:12       ` Krzysztof Kozlowski
2026-11-27 12:32         ` Anthony McGivern
2026-11-27 12:49           ` Laurent Pinchart
2026-11-27 14:25             ` Anthony McGivern
2026-11-24 17:07 ` [PATCH 03/24] media: uapi: Add a control ID base for Mali-C720 ISP Anthony McGivern
2026-11-24 17:07 ` [PATCH 04/24] media: mali-c720: Add register access helpers Anthony McGivern
2026-11-24 17:07 ` [PATCH 05/24] media: mali-c720: Add hardware identification Anthony McGivern
2026-11-25  8:52   ` Krzysztof Kozlowski
2026-11-26 15:00     ` Anthony McGivern
2026-11-24 17:07 ` [PATCH 06/24] media: mali-c720: Add format handling Anthony McGivern
2026-11-24 17:07 ` [PATCH 07/24] media: mali-c720: Add hardware discovery support Anthony McGivern
2026-11-24 17:07 ` [PATCH 08/24] media: mali-c720: Add context manager and interrupt handling Anthony McGivern
2026-11-24 17:07 ` [PATCH 09/24] media: mali-c720: Add input frontend subdevice Anthony McGivern
2026-11-24 17:07 ` [PATCH 10/24] media: mali-c720: Add ISP and human vision subdevices Anthony McGivern
2026-11-24 17:07 ` [PATCH 11/24] media: mali-c720: Add full-resolution output subdevice Anthony McGivern
2026-11-24 17:21   ` sashiko-bot
2026-11-24 17:07 ` [PATCH 12/24] media: mali-c720: Add video capture nodes Anthony McGivern
2026-11-24 17:35   ` sashiko-bot
2026-11-24 17:07 ` [PATCH 13/24] media: mali-c720: Add Mali-C720 ISP driver Anthony McGivern
2026-11-25  8:55   ` Krzysztof Kozlowski
2026-11-26 15:53     ` Anthony McGivern
2026-12-01 18:40       ` Linus Walleij
2026-12-01 22:10         ` Laurent Pinchart
2026-12-01 22:20           ` Linus Walleij
2026-11-24 17:07 ` [PATCH 14/24] media: mali-c720: Add test pattern generator subdevices Anthony McGivern
2026-11-24 17:07 ` [PATCH 15/24] media: Documentation: Add Mali-C720 ISP documentation Anthony McGivern
2026-11-24 17:20   ` sashiko-bot
2026-11-28  0:43   ` kernel test robot
2026-11-24 17:07 ` [PATCH 16/24] media: uapi: Add Mali-C720 statistics meta format Anthony McGivern
2026-11-24 17:07 ` [PATCH 17/24] media: uapi: Add statistics structs to mali-c720-config.h Anthony McGivern
2026-11-24 17:26   ` sashiko-bot [this message]
2026-11-24 17:07 ` [PATCH 18/24] media: mali-c720: Add 3A statistics video node Anthony McGivern
2026-11-24 17:31   ` sashiko-bot
2026-11-24 17:07 ` [PATCH 19/24] media: Documentation: Document Mali-C720 statistics capture Anthony McGivern
2026-11-24 17:25   ` sashiko-bot
2026-11-24 17:07 ` [PATCH 20/24] media: uapi: Add Mali-C720 parameters meta format Anthony McGivern
2026-11-24 17:07 ` [PATCH 21/24] media: uapi: Add parameter structs to mali-c720-config.h Anthony McGivern
2026-11-24 17:33   ` sashiko-bot
2026-11-24 17:07 ` [PATCH 22/24] media: mali-c720: Add parameters video node Anthony McGivern
2026-11-24 17:45   ` sashiko-bot
2026-11-24 17:07 ` [PATCH 23/24] media: Documentation: Document Mali-C720 parameter settings Anthony McGivern
2026-11-24 17:07 ` [PATCH 24/24] MAINTAINERS: Add entry for mali-c720 driver Anthony McGivern

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=sashiko-outbox-231703@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=anthony.mcgivern@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=media-ci@linuxtv.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.