[roll] Roll fuchsia [camera][imx227] Exposure caching fix

The imx227 driver maintains a cache of exposure register values to avoid
unnecessary register writes. There were two paths that bypassed the
cache maintenance: mode changes, which write tables of arbitrary
register values, and hardware reset.

The failure was most dramatic in low-light scenes where the exposure
values were pegged to maximum and mode changes set the hardware to
typical values for daylight scenes.

This CL addresses the problem by refreshing the cached values after
either of these operations.

b/228657743

Tested using camera-gym in manual mode to select the same configuration
multiple times. With a low-light scene, the images became much darker
before the fix. After the fix, the image appears unchanged across
configuration settings.

Updated the imx227 unit tests to account for the additional register
reads during HwInit().

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/667913
Original-Revision: f5004791aae5bdada40054de5018592b029c3b03
GitOrigin-RevId: 6ddf1ee33c876a4b1d8d4989cc68ec5523575e66
Change-Id: Icb6cf3b768b20fe4f67abe560bd69f1ae39d53de
1 file changed
tree: 8e3030a6e5e3d4bb58afaaf28399d80c48b8db9a
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.