media: imx477: Increase IMX477_VBLANK_MIN due to image corruption

The 4056x3040 mode appears to need more vertical blanking lines
than any other, leaving a black bar at the bottom of the image.

Increase IMX477_VBLANK_MIN from 4 to 48 to compensate. (It may be
possible to reduce it slightly further, but fix the regression
for now).

https://github.com/raspberrypi/linux/issues/7109

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
Dave Stevenson
2025-10-30 19:54:08 +00:00
committed by Dom Cobley
parent ba55ef456e
commit c8afa07bf6

View File

@@ -72,7 +72,7 @@ MODULE_PARM_DESC(fstrobe_delay, "Set fstrobe delay from end all lines starting t
/* V_TIMING internal */ /* V_TIMING internal */
#define IMX477_REG_FRAME_LENGTH CCI_REG16(0x0340) #define IMX477_REG_FRAME_LENGTH CCI_REG16(0x0340)
#define IMX477_VBLANK_MIN 4 #define IMX477_VBLANK_MIN 48
#define IMX477_FRAME_LENGTH_MAX 0xffdc #define IMX477_FRAME_LENGTH_MAX 0xffdc
/* H_TIMING internal */ /* H_TIMING internal */