linux/drivers/media
Sergey Senozhatsky d5adf1b0c2 media: videobuf2: add begin/end cpu_access callbacks to dma-contig
Provide begin_cpu_access() and end_cpu_access() callbacks for
cache synchronisation on exported buffers.

The patch also adds a new helper function - vb2_dc_buffer_consistent(),
which returns true is if the buffer is consistent (DMA_ATTR_NON_CONSISTENT
bit cleared), so then we don't need to sync anything.

Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-06-23 13:37:57 +02:00
..
cec Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
common media: videobuf2: add begin/end cpu_access callbacks to dma-contig 2020-06-23 13:37:57 +02:00
dvb-core media: videobuf2: add queue memory consistency parameter 2020-06-23 13:31:12 +02:00
dvb-frontends media: dvb-frontends: remove redundant initialization of variable status 2020-05-12 17:33:31 +02:00
firewire media: Kconfig: mode firewire comment to firewire/Kconfig 2020-04-14 10:29:04 +02:00
i2c media: s5k6a3: Fix runtime PM imbalance on error 2020-06-23 13:18:25 +02:00
mc media: entity: Pass entity to get_fwnode_pad operation 2020-05-18 11:12:05 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
platform media: vpif: Fix runtime PM imbalance in vpif_probe 2020-06-23 13:21:04 +02:00
radio media: radio: don't use a menu just for wl128x driver 2020-04-16 10:34:57 +02:00
rc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vimc: Make use of V4L2_CAP_IO_MC 2020-05-06 12:10:12 +02:00
tuners media: si2157: ensure wait_status is initialized 2020-04-29 11:59:57 +02:00
usb media: gspca: remove redundant assignment to variable retval 2020-06-23 13:21:19 +02:00
v4l2-core media: videobuf2: handle V4L2_FLAG_MEMORY_NON_CONSISTENT flag 2020-06-23 13:32:41 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00