linux/drivers/media/platform/nxp
Guoniu Zhou 5eb54da3f8 media: nxp: imx8-isi: Fix scale factor calculation for hardware rounding
The ISI hardware rounds the actual output size up to an integer, as
described in i.MX93 Reference Manual section 57.7.8 (Channel 0 Scale
Factor). The scale factor must be calculated to ensure the theoretical
output value rounds up to exactly the desired size.

Fixes: cf21f328fc ("media: nxp: Add i.MX8 ISI driver")
Cc: stable@vger.kernel.org
Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patch.msgid.link/20260323-isi-v3-2-8df53b24e622@oss.nxp.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
2026-05-21 07:41:32 +02:00
..
dw100 media: dw100: Merge dw100_device_run and dw100_start 2026-03-24 22:14:44 +01:00
imx-jpeg media: imx-jpeg: Add support for encoder v1 descriptor configuration 2026-03-23 11:18:33 +01:00
imx8-isi media: nxp: imx8-isi: Fix scale factor calculation for hardware rounding 2026-05-21 07:41:32 +02:00
imx-mipi-csis.c media: nxp: Add dev_err_probe() to all error paths in *async_register() helpers 2026-03-24 22:14:44 +01:00
imx-pxp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
imx-pxp.h media: imx-pxp: Rewrite coeff expression 2024-08-09 07:56:38 +02:00
imx7-media-csi.c media: nxp: use dev_err_probe() to simplify code 2026-01-21 08:25:45 +01:00
imx8mq-mipi-csi2.c media: imx8mq-mipi-csi2: Add support for i.MX8ULP 2026-03-24 22:14:45 +01:00
Kconfig media: imx: Unstage the imx8mq-mipi-csi2 driver 2023-07-25 09:24:30 +02:00
Makefile media: imx: Unstage the imx8mq-mipi-csi2 driver 2023-07-25 09:24:30 +02:00
mx2_emmaprp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00