From: "Barnabás Pőcze" <barnabas.pocze@ideasonboard.com>
To: Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Anthony McGivern <anthony.mcgivern@arm.com>,
Vincenzo Frascino <vincenzo.frascino@arm.com>,
Nayden Kanchev <Nayden.Kanchev@arm.com>,
Konstantin Babin <Konstantin.Babin@arm.com>,
Daniel Scally <dan.scally@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 5/6] media: mali-c55: Bypass the Iridix Tonemap engine
Date: Fri, 13 Mar 2026 17:18:48 +0100 [thread overview]
Message-ID: <1f4a3e71-76d0-4ec1-9fe2-75e3872f73d9@ideasonboard.com> (raw)
In-Reply-To: <20260313-mali-c55-fixes-v7-0-v2-5-885c07961f30@ideasonboard.com>
2026. 03. 13. 15:54 keltezéssel, Jacopo Mondi írta:
> The Iridix Tonemap engine, if not bypassed, applies a digital gain
> in order to compensate under-exposed images.
>
> This however breaks the exposure and gain regulation performed on the
> sensor.
>
> If the Iridix Tonemap has to be used, it need to be supported in the
> ISP uAPI and properly configured by userspace.
>
> As the driver doesn't support it at the moment, bypass it by default.
>
> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
> ---
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
> drivers/media/platform/arm/mali-c55/mali-c55-params.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/media/platform/arm/mali-c55/mali-c55-params.c b/drivers/media/platform/arm/mali-c55/mali-c55-params.c
> index 773e5b6a2b7e..b9fc904a3844 100644
> --- a/drivers/media/platform/arm/mali-c55/mali-c55-params.c
> +++ b/drivers/media/platform/arm/mali-c55/mali-c55-params.c
> @@ -825,6 +825,11 @@ void mali_c55_params_init_isp_config(struct mali_c55 *mali_c55,
> /* Disable the temper module's DMA read/write */
> mali_c55_ctx_write(mali_c55, MALI_C55_REG_TEMPER_DMA_IO, 0x0);
>
> + /* Disable IRIDIX module. */
> + mali_c55_ctx_update_bits(mali_c55, MALI_C55_REG_BYPASS_3,
> + MALI_C55_REG_BYPASS_3_IRIDIX,
> + MALI_C55_REG_BYPASS_3_IRIDIX);
> +
> /* Bypass the colour noise reduction */
> mali_c55_ctx_write(mali_c55, MALI_C55_REG_BYPASS_4,
> MALI_C55_REG_BYPASS_4_CNR);
>
next prev parent reply other threads:[~2026-03-13 16:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-13 14:53 [PATCH v2 0/6] media: mali-c55: Fix ISP reset and blocks bypass Jacopo Mondi
2026-03-13 14:53 ` [PATCH v2 1/6] media: mali-c55: Fix wrong comment of ISP block types Jacopo Mondi
2026-03-13 16:22 ` Barnabás Pőcze
2026-03-13 14:53 ` [PATCH v2 2/6] media: mali-c55: Initialize the ISP in enable_streams() Jacopo Mondi
2026-03-13 15:59 ` Dan Scally
2026-03-13 16:10 ` Jacopo Mondi
2026-03-13 16:14 ` Dan Scally
2026-03-13 17:00 ` Jacopo Mondi
2026-03-16 9:34 ` Dan Scally
2026-03-13 14:53 ` [PATCH v2 3/6] media: mali-c55: Fully reset the ISP configuration Jacopo Mondi
2026-03-13 16:01 ` Dan Scally
2026-03-13 14:54 ` [PATCH v2 4/6] media: mali-c55: Fix Iridix bypass macros Jacopo Mondi
2026-03-13 14:54 ` [PATCH v2 5/6] media: mali-c55: Bypass the Iridix Tonemap engine Jacopo Mondi
2026-03-13 16:04 ` Dan Scally
2026-03-13 16:18 ` Barnabás Pőcze [this message]
2026-03-13 14:54 ` [PATCH v2 6/6] media: mali-c55: Bypass Purple Fringe Correction Jacopo Mondi
2026-03-13 16:04 ` Dan Scally
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=1f4a3e71-76d0-4ec1-9fe2-75e3872f73d9@ideasonboard.com \
--to=barnabas.pocze@ideasonboard.com \
--cc=Konstantin.Babin@arm.com \
--cc=Nayden.Kanchev@arm.com \
--cc=anthony.mcgivern@arm.com \
--cc=dan.scally@ideasonboard.com \
--cc=jacopo.mondi@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=vincenzo.frascino@arm.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®