linux-stable/drivers/staging/media
Hans de Goede f66556c133 media: atomisp: Adjust for v4l2_subdev_state handling changes in 6.8
The atomisp driver emulates a standard v4l2 device, which also works
for non media-controller aware applications.

Part of this requires making try_fmt calls on the sensor when
a normal v4l2 app is making try_fmt calls on the /dev/video# mode.

With the recent v4l2_subdev_state handling changes in 6.8 this no longer
works, fixing this requires 2 changes:

1. The atomisp code was using its own internal v4l2_subdev_pad_config
   for this. Replace the internal v4l2_subdev_pad_config with allocating
   a full v4l2_subdev_state for storing the full try_fmt state.

2. The paths actually setting the fmt or crop selection now need to be
   passed the v4l2_subdev's active state, so that sensor drivers which
   are using the v4l2_subdev's active state to store their state keep
   working.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2024-02-01 13:47:52 +01:00
..
atomisp media: atomisp: Adjust for v4l2_subdev_state handling changes in 6.8 2024-02-01 13:47:52 +01:00
av7110 media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
deprecated/atmel media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
imx media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
ipu3 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
max96712 media: staging: max96712: Switch i2c driver back to use .probe() 2023-05-26 10:56:13 +01:00
meson/vdec media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
omap4iss media: v4l: subdev: Switch to stream-aware state functions 2023-11-23 18:57:47 +01:00
rkvdec media: rkvdec: Hook the (TRY_)DECODER_CMD stateless ioctls 2023-11-23 13:59:33 +01:00
starfive media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
sunxi media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
tegra-video media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
Kconfig media: staging: media: starfive: camss: Add core driver 2023-11-16 12:13:25 +01:00
Makefile media: staging: media: starfive: camss: Add core driver 2023-11-16 12:13:25 +01:00