linux/drivers/staging
Hans de Goede 72f0ba79a0 media: atomisp: Take minimum padding requirement on BYT/ISP2400 into account
The main binary for the pipeline on BYT/ISP2400 has its
ia_css_binary_info.pipeline.left_cropping and .top_cropping fields
set to 12. So a minimum padding of 12 is required.

And for certain bayer-orders additional width / height padding is
necessary so that the ISP crop rectangle for the raw sensor data
can be used to change the bayer-order to the fixed bayer-order
supported by the debayer block.

Without the minmum required padding ia_css_ifmtr_configure() will fail
inside ifmtr_input_start_line() and/or ifmtr_start_column() because
it cannot set the ISP crop rectangle for the raw sensor data.

Fix this by making atomisp_get_padding() take the minimum padding
requirements into account on BYT/ISP2400 (CHT/ISP2401 does not seem to
need this).

Link: https://lore.kernel.org/r/20230601145858.59652-2-hdegoede@redhat.com

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-06-09 15:40:24 +01:00
..
axis-fifo staging: axis-fifo: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
board
emxx_udc staging: emxx_udc: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
fbtft staging: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:05 +00:00
fieldbus Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
gdm724x net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
greybus Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
iio Char/Misc drivers for 6.4-rc1 2023-04-27 12:07:50 -07:00
ks7010 staging: ks7010: fix line ending with '(' 2023-03-25 09:47:56 +01:00
media media: atomisp: Take minimum padding requirement on BYT/ISP2400 into account 2023-06-09 15:40:24 +01:00
most staging: most: dim2: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
nvec staging: nvec_ps2: Convert to platform remove callback returning void 2023-04-03 21:49:55 +02:00
octeon staging: octeon: ethernet: Convert to platform remove callback returning void 2023-04-03 21:49:55 +02:00
olpc_dcon
pi433 driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
qlge Staging: qlge: Fix indentation in conditional statement 2023-03-16 09:44:31 +01:00
rtl8192e staging: rtl8192e: Fix W_DISABLE# does not work after stop/start 2023-04-20 13:55:20 +02:00
rtl8192u staging: rtl8192u: add '*/' on separate line in block comments 2023-03-28 13:34:49 +02:00
rtl8712 staging: rtl8172: Add blank lines after declarations 2023-04-15 18:04:36 +02:00
rtl8723bs staging: rtl8723bs: indent with tab, align with space 2023-04-05 16:37:10 +02:00
rts5208 Staging driver changes for 6.4-rc1 2023-04-27 11:49:35 -07:00
sm750fb staging/lynxfb: Use pci aperture helper 2023-04-04 14:55:55 +02:00
vc04_services modules-6.4-rc1 2023-04-27 16:36:55 -07:00
vme_user Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
vt6655 staging: vt6655: remove unused bb_power_save_mode_off() function 2023-03-17 08:07:25 +01:00
vt6656 staging: vt6656: remove unused vnt_get_current_tsf() function 2023-03-17 08:07:23 +01:00
wlan-ng staging: wlan-ng: small cleanup in plugimage() 2023-03-16 09:43:51 +01:00
Kconfig staging: r8188eu: delete driver 2023-03-09 10:06:28 +01:00
Makefile staging: r8188eu: delete driver 2023-03-09 10:06:28 +01:00