Hans Verkuil
5e53592063
media: pisp_be: add missing wait_prepare/finish ops
...
Without these ops the v4l2-compliance blocking wait test will fail.
These ops are required to ensure that when VIDIOC_DQBUF has to
wait for buffers to arrive, the queue lock is correctly released
and retaken. Otherwise the wait for a buffer would block all other
queue ioctls.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com >
Tested-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2024-10-12 15:53:42 +02:00
Stephen Rothwell
68a72104cb
media: raspberrypi: Switch to remove_new
...
The remove callback's return value is about to change from int to void,
this is done by commit 0edb555a65 ("platform: Make
platform_driver::remove() return void"). Prepare for merging the patch by
switching the PiSP driver from remove to remove_new callback.
Fixes: 12187bd5d4 ("media: raspberrypi: Add support for PiSP BE")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au >
Acked-by: Naushir Patuck <naush@raspberrypi.com >
Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com >
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
2024-07-12 10:11:43 +02:00
Naushir Patuck
12187bd5d4
media: raspberrypi: Add support for PiSP BE
...
Add support for the Raspberry Pi PiSP Back End.
The driver has been upported from the Raspberry Pi kernel at revision
f74893f8a0c2 ("drivers: media: pisp_be: Update seqeuence numbers of the
buffers").
The ISP documentation is available at:
https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf
Signed-off-by: David Plowman <david.plowman@raspberrypi.com >
Signed-off-by: Naushir Patuck <naush@raspberrypi.com >
Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.org >
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
[hverkuil: drop dev_err after platform_get_irq to fix a coccinelle check]
2024-06-27 13:06:47 +02:00