linux/drivers/media
Marek Vasut 82b88d4da5 media: stm32-dcmi: Enable incoherent buffer allocation
Set allow_cache_hints to 1 for the vb2_queue capture queue in the
STM32MP15xx DCMI V4L2 driver. This allows us to allocate buffers
with the V4L2_MEMORY_FLAG_NON_COHERENT set. On STM32MP15xx SoCs,
this enables caching for this memory, which improves performance
when being read from CPU.

This change should be safe from race conditions since videobuf2
already invalidates or flushes the appropriate cache lines in
its prepare() and finish() methods.

Tested on a STM32MP157F SoC. Resulted in 4x buffer access speedup.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-03-19 22:57:07 +01:00
..
cec media: platform: cros-ec: Add aurash to the match table 2023-03-19 22:54:24 +01:00
common media: vb2: set owner before calling vb2_read 2023-03-19 22:09:55 +01:00
dvb-core Driver Core changes for 6.2-rc1 2022-12-16 03:54:54 -08:00
dvb-frontends media: dvb-frontends: Fix a typo ("Unknow sleep mode") 2023-03-19 22:48:18 +01:00
firewire media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00
i2c media: tc358746: Remove unneeded semicolon 2023-03-19 22:46:41 +01:00
mc media: mc: entity: Fix minor issues in comments and documentation 2023-02-06 08:37:12 +01:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish 2023-03-19 22:56:45 +01:00
platform media: stm32-dcmi: Enable incoherent buffer allocation 2023-03-19 22:57:07 +01:00
radio media: radio/wl128x: remove unnecessary (void*) conversions 2023-02-08 07:26:02 +01:00
rc media: rc: add Beelink Mini MXIII keymap 2023-03-19 22:21:54 +01:00
spi media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
test-drivers media: visl: make visl_qops static 2023-02-08 08:29:53 +01:00
tuners media: mxl5005s: Bounds check size used for max array index 2023-03-19 22:50:49 +01:00
usb media: drop unnecessary networking includes 2023-03-19 22:50:06 +01:00
v4l2-core media: v4l2-dev.c: check for V4L2_CAP_STREAMING to enable streaming ioctls 2023-03-19 22:10:23 +01:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00