From: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
To: "Barnabás Pőcze" <barnabas.pocze@ideasonboard.com>
Cc: 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>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH 4/6] media: mali-c55: Fix Iridix bypass macros
Date: Fri, 13 Mar 2026 12:37:00 +0100 [thread overview]
Message-ID: <abP2maYiLNmnMFFr@zed> (raw)
In-Reply-To: <36f2247c-cfd5-46b4-a16d-1afc3a6504d8@ideasonboard.com>
On Fri, Mar 13, 2026 at 12:15:10PM +0100, Barnabás Pőcze wrote:
> 2026. 03. 13. 11:49 keltezéssel, Jacopo Mondi írta:
> > From: Daniel Scally <dan.scally@ideasonboard.com>
> >
> > The Mali C55 Iridix block has a digital gain function and tone mapping
> > function, whose enablement is controlled by two different bits
> > in the BYPASS_3 register.
> >
> > Unfortunately, the "Gain" and "Tonemap" bypass bit definitions are the
> > wrong way around. Swap them so that the ISP is now operated with the
> > "Iridix Gain" block enabled and default configured at a x1.0 gain and
> > with the "Iridix Tonemap" disabled, as it was originally intended.
>
> As far as I can see the current upstream driver does not bypass either of them,
> so swapping them will have no direct effect.
You're right, I swapped the patch order and in this version I sent out
this comes before the actual iridix bypass
>
>
> >
> > Cc: stable@vger.kernel.org
> > Fixes: 8ec187829a4c ("media: mali-c55: Fix Iridix bypass macros")
>
> Where is this commit? I cannot seem to find it.
Clearly, this doesn't make sense. I generated the fixes tag pointing
it to this patch. I'll fix, thanks.
>
>
> Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
>
>
> > Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
> > Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
> > ---
> > drivers/media/platform/arm/mali-c55/mali-c55-registers.h | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/media/platform/arm/mali-c55/mali-c55-registers.h b/drivers/media/platform/arm/mali-c55/mali-c55-registers.h
> > index f5a148add1c8..f098effde7b4 100644
> > --- a/drivers/media/platform/arm/mali-c55/mali-c55-registers.h
> > +++ b/drivers/media/platform/arm/mali-c55/mali-c55-registers.h
> > @@ -128,8 +128,8 @@ enum mali_c55_interrupts {
> > #define MALI_C55_REG_BYPASS_3_SENSOR_OFFSET_PRE_SH BIT(1)
> > #define MALI_C55_REG_BYPASS_3_MESH_SHADING BIT(3)
> > #define MALI_C55_REG_BYPASS_3_WHITE_BALANCE BIT(4)
> > -#define MALI_C55_REG_BYPASS_3_IRIDIX BIT(5)
> > -#define MALI_C55_REG_BYPASS_3_IRIDIX_GAIN BIT(6)
> > +#define MALI_C55_REG_BYPASS_3_IRIDIX_GAIN BIT(5)
> > +#define MALI_C55_REG_BYPASS_3_IRIDIX BIT(6)
> > #define MALI_C55_REG_BYPASS_4 0x18ec0
> > #define MALI_C55_REG_BYPASS_4_DEMOSAIC_RGB BIT(1)
> > #define MALI_C55_REG_BYPASS_4_PF_CORRECTION BIT(3)
> >
>
next prev parent reply other threads:[~2026-03-13 11:37 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 [this message]
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
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=abP2maYiLNmnMFFr@zed \
--to=jacopo.mondi@ideasonboard.com \
--cc=Konstantin.Babin@arm.com \
--cc=Nayden.Kanchev@arm.com \
--cc=anthony.mcgivern@arm.com \
--cc=barnabas.pocze@ideasonboard.com \
--cc=dan.scally@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=stable@vger.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 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.