]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: imx219: Increase minimum LLP to fix blocky artefacts
authorJai Luthra <jai.luthra@ideasonboard.com>
Tue, 4 Feb 2025 07:04:39 +0000 (12:34 +0530)
committerHans Verkuil <hverkuil@xs4all.nl>
Sat, 15 Feb 2025 14:23:00 +0000 (15:23 +0100)
commit79199bfd8c2a38a90b137413ff998202988f64e0
treee0e813e71e7c74a0b9f4048ef8d82c5b4ef14ad2
parentcd5e2fd89923f1da0c44f74bc46d25665a7d6155
media: i2c: imx219: Increase minimum LLP to fix blocky artefacts

The sensor's internal ADC supports a minimum line length of 3448 pixels,
which may be too small to use with analog binning, where ADC operates on
two lines together. Switch to a higher minimum line length of 3560
pixels to fix the blocky artefacts seen with analog binning [1].

To keep the same default framerate as before for all the modes, lower
the default fll value to compensate for the increase in llp.

[1]: https://github.com/raspberrypi/rpicam-apps/issues/281#issuecomment-1082894118

Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/imx219.c