lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z8VgUoNklDUd_jaF@kekkonen.localdomain>
Date: Mon, 3 Mar 2025 07:54:58 +0000
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: Shravan.Chippa@...rochip.com
Cc: mchehab@...nel.org, kieran.bingham@...asonboard.com,
	linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
	Conor.Dooley@...rochip.com, Valentina.FernandezAlanis@...rochip.com,
	Praveen.Kumar@...rochip.com
Subject: Re: [PATCH V6 1/3] media: i2c: imx334: Optimized 4k and 2k mode
 register arrays

Hi Shravan,

On Sat, Mar 01, 2025 at 12:56:55AM +0000, Shravan.Chippa@...rochip.com wrote:
> Hi Sakari,
> 
> > -----Original Message-----
> > From: Sakari Ailus <sakari.ailus@...ux.intel.com>
> > Sent: Friday, February 28, 2025 5:19 PM
> > To: shravan Chippa - I35088 <Shravan.Chippa@...rochip.com>
> > Cc: mchehab@...nel.org; kieran.bingham@...asonboard.com; linux-
> > media@...r.kernel.org; linux-kernel@...r.kernel.org; Conor Dooley -
> > M52691 <Conor.Dooley@...rochip.com>; Valentina Fernandez Alanis -
> > M63239 <Valentina.FernandezAlanis@...rochip.com>; Praveen Kumar -
> > I30718 <Praveen.Kumar@...rochip.com>
> > Subject: Re: [PATCH V6 1/3] media: i2c: imx334: Optimized 4k and 2k mode
> > register arrays
> > 
> > EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> > content is safe
> > 
> > Hi Shravan,
> > 
> > On Fri, Feb 28, 2025 at 04:03:30PM +0530, shravan kumar wrote:
> > > From: Shravan Chippa <shravan.chippa@...rochip.com>
> > >
> > > Optimized the resolution arrays by integrating a common register array.
> > >
> > > Adjusted the register array values for 1920x1080@30 and 3840x2160@30
> > > resolutions to align with the common register array values.
> > >
> > > Signed-off-by: Shravan Chippa <shravan.chippa@...rochip.com>
> > > ---
> > >  drivers/media/i2c/imx334.c | 132
> > > +++++++++----------------------------
> > >  1 file changed, 31 insertions(+), 101 deletions(-)
> > >
> > > diff --git a/drivers/media/i2c/imx334.c b/drivers/media/i2c/imx334.c
> > > index a544fc3df39c..a800f2203592 100644
> > > --- a/drivers/media/i2c/imx334.c
> > > +++ b/drivers/media/i2c/imx334.c
> > > @@ -167,8 +167,8 @@ static const s64 link_freq[] = {
> > >       IMX334_LINK_FREQ_445M,
> > >  };
> > >
> > > -/* Sensor mode registers for 1920x1080@...ps */ -static const struct
> > > imx334_reg mode_1920x1080_regs[] = {
> > > +/* Sensor common mode registers values */ static const struct
> > > +imx334_reg common_mode_regs[] = {
> > >       {0x3000, 0x01},
> > >       {0x3018, 0x04},
> > >       {0x3030, 0xca},
> > > @@ -176,26 +176,10 @@ static const struct imx334_reg
> > mode_1920x1080_regs[] = {
> > >       {0x3032, 0x00},
> > >       {0x3034, 0x4c},
> > >       {0x3035, 0x04},
> > > -     {0x302c, 0xf0},
> > > -     {0x302d, 0x03},
> > > -     {0x302e, 0x80},
> > > -     {0x302f, 0x07},
> > > -     {0x3074, 0xcc},
> > > -     {0x3075, 0x02},
> > > -     {0x308e, 0xcd},
> > > -     {0x308f, 0x02},
> > > -     {0x3076, 0x38},
> > > -     {0x3077, 0x04},
> > > -     {0x3090, 0x38},
> > > -     {0x3091, 0x04},
> > > -     {0x3308, 0x38},
> > > -     {0x3309, 0x04},
> > > -     {0x30C6, 0x00},
> > > +     {0x30c6, 0x00},
> > >       {0x30c7, 0x00},
> > >       {0x30ce, 0x00},
> > >       {0x30cf, 0x00},
> > > -     {0x30d8, 0x18},
> > > -     {0x30d9, 0x0a},
> > >       {0x304c, 0x00},
> > >       {0x304e, 0x00},
> > >       {0x304f, 0x00},
> > > @@ -210,7 +194,7 @@ static const struct imx334_reg
> > mode_1920x1080_regs[] = {
> > >       {0x300d, 0x29},
> > >       {0x314c, 0x29},
> > >       {0x314d, 0x01},
> > > -     {0x315a, 0x06},
> > > +     {0x315a, 0x0a},
> > 
> > We still have this change in the patch that's just supposed to move register
> > address/value pairs around. :-( Please check the changes yourself before
> > posting v7.
> 
> Do I need to split the patch or drop this change ? in v7

Either way but it does not belong here.

-- 
Regards,

Sakari Ailus


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ