[libcamera-devel,0/4] IPAIPU3 drive-by improvements
mbox series

Message ID 20210602102326.106549-1-umang.jain@ideasonboard.com
Headers show
Series
  • IPAIPU3 drive-by improvements
Related show

Message

Umang Jain June 2, 2021, 10:23 a.m. UTC
Here are few patches that might be considered as enhancements.

The patches journey was led by the reviews from
"[PATCH 0/2] frame-durations CTS fixups", however this doesn't yet
fixup the frame-duration value for CTS, on my `nautilus` platform. But I
assume, it shall still relevant CTS tests on `soraka` (Can anyone
please help me confirm)?

Patch 1/4: Addressed minor comments from original series
Patch 2/4: Replaces hard-coded line duration(enhancement) using real
           values

Patch 3/4: Caching IPACameraSensorInfo
Patch 4/4: Replace frame-duration with something better?!

Umang Jain (4):
  android: Make FRAME_DURATION result key available in static metadata
  ipa: ipu3: Calculate line duration from IPACameraSensorInfo
  ipa: ipu3: Copy IPACameraSensorInfo for future usage
  ipa: ipu3: Calculate frame duration from minimum VBLANK value

 src/android/camera_device.cpp |  1 +
 src/ipa/ipu3/ipu3.cpp         | 22 ++++++++++++++++++----
 src/ipa/ipu3/ipu3_agc.cpp     | 22 +++++++++++-----------
 src/ipa/ipu3/ipu3_agc.h       |  7 ++++++-
 4 files changed, 36 insertions(+), 16 deletions(-)

Comments

Paul Elder June 3, 2021, 6:39 a.m. UTC | #1
Hi Umang,

On Wed, Jun 02, 2021 at 03:53:22PM +0530, Umang Jain wrote:
> Here are few patches that might be considered as enhancements.
> 
> The patches journey was led by the reviews from
> "[PATCH 0/2] frame-durations CTS fixups", however this doesn't yet
> fixup the frame-duration value for CTS, on my `nautilus` platform. But I
> assume, it shall still relevant CTS tests on `soraka` (Can anyone
> please help me confirm)?

They all pass CTS on soraka \o/

For all (although I guess 1/4 has already been merged),

Tested-by: Paul Elder <paul.elder@ideasonboard.com>

> 
> Patch 1/4: Addressed minor comments from original series
> Patch 2/4: Replaces hard-coded line duration(enhancement) using real
>            values
> 
> Patch 3/4: Caching IPACameraSensorInfo
> Patch 4/4: Replace frame-duration with something better?!
> 
> Umang Jain (4):
>   android: Make FRAME_DURATION result key available in static metadata
>   ipa: ipu3: Calculate line duration from IPACameraSensorInfo
>   ipa: ipu3: Copy IPACameraSensorInfo for future usage
>   ipa: ipu3: Calculate frame duration from minimum VBLANK value
> 
>  src/android/camera_device.cpp |  1 +
>  src/ipa/ipu3/ipu3.cpp         | 22 ++++++++++++++++++----
>  src/ipa/ipu3/ipu3_agc.cpp     | 22 +++++++++++-----------
>  src/ipa/ipu3/ipu3_agc.h       |  7 ++++++-
>  4 files changed, 36 insertions(+), 16 deletions(-)
> 
> -- 
> 2.31.1
>
Laurent Pinchart June 7, 2021, 10:32 p.m. UTC | #2
Hi Paul,

On Thu, Jun 03, 2021 at 03:39:51PM +0900, paul.elder@ideasonboard.com wrote:
> On Wed, Jun 02, 2021 at 03:53:22PM +0530, Umang Jain wrote:
> > Here are few patches that might be considered as enhancements.
> > 
> > The patches journey was led by the reviews from
> > "[PATCH 0/2] frame-durations CTS fixups", however this doesn't yet
> > fixup the frame-duration value for CTS, on my `nautilus` platform. But I
> > assume, it shall still relevant CTS tests on `soraka` (Can anyone
> > please help me confirm)?
> 
> They all pass CTS on soraka \o/

Just to make sure, does this only mean no regression, or do we have
improvements ?

> For all (although I guess 1/4 has already been merged),
> 
> Tested-by: Paul Elder <paul.elder@ideasonboard.com>
> 
> > 
> > Patch 1/4: Addressed minor comments from original series
> > Patch 2/4: Replaces hard-coded line duration(enhancement) using real
> >            values
> > 
> > Patch 3/4: Caching IPACameraSensorInfo
> > Patch 4/4: Replace frame-duration with something better?!
> > 
> > Umang Jain (4):
> >   android: Make FRAME_DURATION result key available in static metadata
> >   ipa: ipu3: Calculate line duration from IPACameraSensorInfo
> >   ipa: ipu3: Copy IPACameraSensorInfo for future usage
> >   ipa: ipu3: Calculate frame duration from minimum VBLANK value
> > 
> >  src/android/camera_device.cpp |  1 +
> >  src/ipa/ipu3/ipu3.cpp         | 22 ++++++++++++++++++----
> >  src/ipa/ipu3/ipu3_agc.cpp     | 22 +++++++++++-----------
> >  src/ipa/ipu3/ipu3_agc.h       |  7 ++++++-
> >  4 files changed, 36 insertions(+), 16 deletions(-)
Paul Elder June 8, 2021, 3:06 a.m. UTC | #3
Hi Laurent,

On Tue, Jun 08, 2021 at 01:32:10AM +0300, Laurent Pinchart wrote:
> Hi Paul,
> 
> On Thu, Jun 03, 2021 at 03:39:51PM +0900, paul.elder@ideasonboard.com wrote:
> > On Wed, Jun 02, 2021 at 03:53:22PM +0530, Umang Jain wrote:
> > > Here are few patches that might be considered as enhancements.
> > > 
> > > The patches journey was led by the reviews from
> > > "[PATCH 0/2] frame-durations CTS fixups", however this doesn't yet
> > > fixup the frame-duration value for CTS, on my `nautilus` platform. But I
> > > assume, it shall still relevant CTS tests on `soraka` (Can anyone
> > > please help me confirm)?
> > 
> > They all pass CTS on soraka \o/
> 
> Just to make sure, does this only mean no regression, or do we have
> improvements ?

No regression.


Paul

> 
> > For all (although I guess 1/4 has already been merged),
> > 
> > Tested-by: Paul Elder <paul.elder@ideasonboard.com>
> > 
> > > 
> > > Patch 1/4: Addressed minor comments from original series
> > > Patch 2/4: Replaces hard-coded line duration(enhancement) using real
> > >            values
> > > 
> > > Patch 3/4: Caching IPACameraSensorInfo
> > > Patch 4/4: Replace frame-duration with something better?!
> > > 
> > > Umang Jain (4):
> > >   android: Make FRAME_DURATION result key available in static metadata
> > >   ipa: ipu3: Calculate line duration from IPACameraSensorInfo
> > >   ipa: ipu3: Copy IPACameraSensorInfo for future usage
> > >   ipa: ipu3: Calculate frame duration from minimum VBLANK value
> > > 
> > >  src/android/camera_device.cpp |  1 +
> > >  src/ipa/ipu3/ipu3.cpp         | 22 ++++++++++++++++++----
> > >  src/ipa/ipu3/ipu3_agc.cpp     | 22 +++++++++++-----------
> > >  src/ipa/ipu3/ipu3_agc.h       |  7 ++++++-
> > >  4 files changed, 36 insertions(+), 16 deletions(-)