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 6/6] media: mali-c55: Bypass Purple Fringe Correction
Date: Fri, 13 Mar 2026 12:15:31 +0100 [thread overview]
Message-ID: <ec66a1fc-5132-4da4-b2ae-ef158ce7a49c@ideasonboard.com> (raw)
In-Reply-To: <20260313-mali-c55-fixes-v7-0-v1-6-21805b2b516b@ideasonboard.com>
2026. 03. 13. 11:49 keltezéssel, Jacopo Mondi írta:
> The Purple Fringe Correction module is enable by default with a POR
enabled
> configuration which might not be correct for the lens/sensor combination
> in use.
>
> If the Purple Fringe Correction module has to be used, it needs to be
> supported in the driver's 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, 3 insertions(+), 2 deletions(-)
>
> 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 b9fc904a3844..de0e9d898db7 100644
> --- a/drivers/media/platform/arm/mali-c55/mali-c55-params.c
> +++ b/drivers/media/platform/arm/mali-c55/mali-c55-params.c
> @@ -830,9 +830,10 @@ void mali_c55_params_init_isp_config(struct mali_c55 *mali_c55,
> MALI_C55_REG_BYPASS_3_IRIDIX,
> MALI_C55_REG_BYPASS_3_IRIDIX);
>
> - /* Bypass the colour noise reduction */
> + /* Bypass the colour noise reduction and the PF modules */
> mali_c55_ctx_write(mali_c55, MALI_C55_REG_BYPASS_4,
> - MALI_C55_REG_BYPASS_4_CNR);
> + MALI_C55_REG_BYPASS_4_CNR |
> + MALI_C55_REG_BYPASS_4_PF_CORRECTION);
>
> /* Disable the sinter module */
> mali_c55_ctx_update_bits(mali_c55, MALI_C55_REG_SINTER_CONFIG,
>
prev parent reply other threads:[~2026-03-13 11:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-13 10:49 [PATCH 0/6] media: mali-c55: Fix ISP reset and blocks bypass Jacopo Mondi
2026-03-13 10:49 ` [PATCH 1/6] media: mali-c55: Fix wrong comment of ISP block types Jacopo Mondi
2026-03-13 11:26 ` Dan Scally
2026-03-13 10:49 ` [PATCH 2/6] media: mali-c55: Initialize the ISP in enable_streams() Jacopo Mondi
2026-03-13 10:49 ` [PATCH 3/6] media: mali-c55: Fully reset the ISP configuration Jacopo Mondi
2026-03-13 10:49 ` [PATCH 4/6] media: mali-c55: Fix Iridix bypass macros Jacopo Mondi
2026-03-13 11:15 ` Barnabás Pőcze
2026-03-13 11:37 ` Jacopo Mondi
2026-03-13 10:49 ` [PATCH 5/6] media: mali-c55: Bypass the Iridix Tonemap engine Jacopo Mondi
2026-03-13 10:49 ` [PATCH 6/6] media: mali-c55: Bypass Purple Fringe Correction Jacopo Mondi
2026-03-13 11:15 ` Barnabás Pőcze [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=ec66a1fc-5132-4da4-b2ae-ef158ce7a49c@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®