[v2,0/3] rkisp1: Reduce oscillations on startup
mbox series

Message ID 20250326134727.279393-1-stefan.klug@ideasonboard.com
Headers show
Series
  • rkisp1: Reduce oscillations on startup
Related show

Message

Stefan Klug March 26, 2025, 1:47 p.m. UTC
Hi all,

This tiny series further reduces startup AE oscillations on rkisp1.
While analyzing the issue it got clear that the regulation had to cope
with images that had an exposure value of 0 which should not happen in
first place.

Patch 1 adds a log message that could help debug such ill behavior.
Patch 2 add error handling for the exposurevalue == 0 case.
Patch 3 fixes it for rkisp1.

Please see the individual patches for the technical details.

Best regards,
Stefan

Changes in v2:
- Some fixes from review (see individual changelogs)

Stefan Klug (3):
  ipa: rkisp1: Add debug log for the sensor controls being set
  ipa: libipa: agc_mean_luminance: Error out when effectiveExposureValue
    is zero
  ipa: rksip1: Remove setControls(0) to reduce startup oscillations

 src/ipa/libipa/agc_mean_luminance.cpp | 12 ++++++++++++
 src/ipa/rkisp1/rkisp1.cpp             |  7 +++++--
 2 files changed, 17 insertions(+), 2 deletions(-)