From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Dafna Hirschfeld <dafna@fastmail.com>
Cc: linux-media@vger.kernel.org, Heiko Stuebner <heiko@sntech.de>,
linux-rockchip@lists.infradead.org,
Paul Elder <paul.elder@ideasonboard.com>,
Florian Sylvestre <fsylvestre@baylibre.com>
Subject: Re: [PATCH 0/5] media: rkisp1: Fix LSC initial configuration on i.MX8MP
Date: Fri, 2 Sep 2022 13:07:09 +0300 [thread overview]
Message-ID: <YxHVzTIIiTZ80/xl@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20220902090704.crddbkvmguvezyiy@guri>
Hi Dafna,
On Fri, Sep 02, 2022 at 12:07:04PM +0300, Dafna Hirschfeld wrote:
> On 17.08.2022 05:18, Laurent Pinchart wrote:
> > Hello,
> >
> > This patch series fixes the Lens Shading Correction initial
> > configuration on the i.MX8MP.
> >
> > The i.MX8MP integrates an ISP8000Nano v18.02, which unlike other
> > versions currently supported by the driver, gates access to the LSC RAM
> > with the ISP_CTRL.ISP_ENABLE bit. The initial LSC configuration being
> > performed before the ISP gets enabled, the writes to the RAM are
> > ignored, leading to incorrect results.
> >
> > The series starts with four small drive-by cleanups of the LSC code, and
> > patch 5/5 then fixes the issue. I'm not totally thrilled by the code
> > architecture, but I'm not sure why, and I have a feeling doing better
> > would require a large refactoring of the ISP parameters handling. If
> > anyone sees an option for a better implementation, please say so.
> >
> > The series is based on top of "[PATCH 0/7] media: rkisp1: Fix and
> > improve color space support" ([1]). Reviews for that base series would
> > thus be appreciated too.
> >
> > [1] https://lore.kernel.org/linux-media/20220815065235.23797-1-laurent.pinchart@ideasonboard.com
>
> Hi, I see that the series is also based on "[PATCH v2 00/55] media: rkisp1: Cleanups and add support"
> right? I could not apply patch 5/5 because it seems to sit on top of
> '[PATCH v2 49/55] media: rkisp1: Configure gasket on i.MX8MP'
> Do you have a branch you can share with all the sets?
Sure. You can find all pending patches for the rkisp1 at
https://gitlab.com/ideasonboard/nxp/linux/-/tree/pinchartl/v6.0/isp.
Commits up to and including "media: rkisp1: Zero v4l2_subdev_format
fields in when validating links" are candidates for v6.1, commits
starting at "dt-bindings: media: rkisp1: Add i.MX8MP ISP to compatible"
need some more work.
> > Laurent Pinchart (5):
> > media: rkisp1: Clean up LSC configuration code
> > media: rkisp1: Store LSC register values in u32 variables
> > media: rkisp1: Simplify LSC x/y size and grad register macros
> > media: rkisp1: Use RKISP1_CIF_ISP_LSC_GRAD_SIZE() for gradient
> > registers
> > media: rkisp1: Configure LSC after enabling the ISP
> >
> > .../platform/rockchip/rkisp1/rkisp1-common.h | 29 +-
> > .../platform/rockchip/rkisp1/rkisp1-isp.c | 9 +-
> > .../platform/rockchip/rkisp1/rkisp1-params.c | 378 ++++++++++--------
> > .../platform/rockchip/rkisp1/rkisp1-regs.h | 20 +-
> > 4 files changed, 239 insertions(+), 197 deletions(-)
--
Regards,
Laurent Pinchart
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
prev parent reply other threads:[~2022-09-02 10:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-17 2:18 [PATCH 0/5] media: rkisp1: Fix LSC initial configuration on i.MX8MP Laurent Pinchart
2022-08-17 2:18 ` [PATCH 1/5] media: rkisp1: Clean up LSC configuration code Laurent Pinchart
2022-08-18 2:32 ` Dafna Hirschfeld
2022-08-17 2:18 ` [PATCH 2/5] media: rkisp1: Store LSC register values in u32 variables Laurent Pinchart
2022-08-18 2:37 ` Dafna Hirschfeld
2022-08-17 2:18 ` [PATCH 3/5] media: rkisp1: Simplify LSC x/y size and grad register macros Laurent Pinchart
2022-08-18 2:39 ` Dafna Hirschfeld
2022-08-17 2:18 ` [PATCH 4/5] media: rkisp1: Use RKISP1_CIF_ISP_LSC_GRAD_SIZE() for gradient registers Laurent Pinchart
2022-08-18 2:50 ` Dafna Hirschfeld
2022-08-18 6:17 ` Laurent Pinchart
2022-08-23 17:21 ` [PATCH v1.1 4/5] media: rkisp1: Use correct macro " Laurent Pinchart
2022-08-26 19:06 ` Dafna Hirschfeld
2022-08-17 2:18 ` [PATCH 5/5] media: rkisp1: Configure LSC after enabling the ISP Laurent Pinchart
2022-08-18 3:45 ` Dafna Hirschfeld
2022-08-18 6:25 ` Laurent Pinchart
2022-08-22 17:08 ` Dafna Hirschfeld
2022-08-23 17:21 ` [PATCH v1.1 " Laurent Pinchart
2022-09-03 3:09 ` Dafna Hirschfeld
2022-09-03 20:39 ` Laurent Pinchart
2022-09-03 21:01 ` [PATCH v1.2 " Laurent Pinchart
2022-09-04 13:12 ` Dafna Hirschfeld
2022-09-02 9:07 ` [PATCH 0/5] media: rkisp1: Fix LSC initial configuration on i.MX8MP Dafna Hirschfeld
2022-09-02 10:07 ` Laurent Pinchart [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=YxHVzTIIiTZ80/xl@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=dafna@fastmail.com \
--cc=fsylvestre@baylibre.com \
--cc=heiko@sntech.de \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=paul.elder@ideasonboard.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