linux-stable/drivers/media
Sylwester Nawrocki 36fa809276 [media] s5p-csis: Add support for non-image data packets capture
MIPI-CSI has internal memory mapped buffers for the frame embedded
(non-image) data. There are two buffers, for even and odd frames which
need to be saved after an interrupt is raised. The packet data buffers
size is 4 KiB and there is no status register in the hardware where the
actual non-image data size can be read from. Hence the driver copies
whole packet data buffer into a buffer provided by the FIMC driver.
This will form a separate plane in the user buffer.
When FIMC DMA engine is stopped by the driver due the to user space
not keeping up with buffer de-queuing the MIPI-CSIS will still run,
however it must discard data which is not captured by FIMC. Which
frames are actually capture by MIPI-CSIS is determined by means of
the s_tx_buffer subdev callback. When it is not called after a single
embedded data frame has been captured and copied and before next
embedded data frame interrupt occurrs, subsequent embedded data frames
will be dropped.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-10-05 21:28:04 -03:00
..
common [media] v4l2: make vidioc_s_fbuf const 2012-09-26 10:42:36 -03:00
dvb-core [media] Support for Asus MyCinema U3100Mini Plus 2012-09-27 15:14:17 -03:00
dvb-frontends [media] af9033: prevent unintended underflow 2012-10-05 14:25:11 -03:00
firewire [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
i2c [media] ths7303: enable THS7303 for HD modes 2012-10-05 14:27:47 -03:00
mmc [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] ivtv: fix format enumeration: don't show invalid formats 2012-10-01 17:24:19 -03:00
platform [media] s5p-csis: Add support for non-image data packets capture 2012-10-05 21:28:04 -03:00
radio [media] radio-si470x: convert struct i2c_msg initialization to C99 format 2012-09-27 07:40:43 -03:00
rc [media] winbond-cir: asynchronous tx 2012-09-25 14:08:46 -03:00
tuners [media] tda18271: properly report read errors in tda18271_get_id 2012-10-02 15:17:46 -03:00
usb [media] technisat-usb2: add a MODULE_DEVICE_TABLE for udev autoload 2012-10-05 21:26:26 -03:00
v4l2-core [media] v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler 2012-10-01 17:07:07 -03:00
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c [media] media-devnode: Replace printk with pr_* 2012-09-27 14:19:23 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00