linux/drivers/media/platform
Arnd Bergmann 0cb1d9c845 media: verisilicon: change confusingly named relaxed register access
The register abstraction has wrappers around both the normal writel()
and its writel_relaxed() counterpart, but this has led to a lot of users
ending up with the relaxed version.

There is sometimes a need to intentionally pick the relaxed accessor for
performance critical functions, but I noticed that each hantro_reg_write()
call also contains a non-relaxed readl(), which is typically much more
expensive than a writel, so there is little benefit here but an added
risk of missing a serialization against DMA.

To make this behave like other interfaces, use the normal accessor by
default and only provide the relaxed version as an alternative for
performance critical code. hantro_postproc.c is the only place that
used both the relaxed and normal writel, but this does not seem
cricital either, so change it all to the normal ones.

[hverkuil: fix function prototype alignment]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-07-14 09:14:10 +02:00
..
allegro-dvt media: allegro-core: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: amphion: Fix firmware path to match linux-firmware 2023-07-14 09:14:09 +02:00
aspeed media: aspeed-video: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
atmel media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
cadence media: cdns-csi2tx: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
chips-media media: coda: Use alloc_ordered_workqueue() to create ordered workqueues 2023-05-18 14:50:10 -10:00
intel media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
marvell media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
mediatek media: mediatek: vcodec: fix cancel_work_sync fail with fluster test 2023-07-14 09:14:09 +02:00
microchip media: Use designated initializers for all subdev pad ops 2023-04-12 09:46:07 +02:00
nvidia media: vde: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
nxp media: imx-jpeg: Support to assign slot for encoder/decoder 2023-07-14 09:14:09 +02:00
qcom media: venus: provide ctx queue lock for ioctl synchronization 2023-06-09 14:04:59 +01:00
renesas media: platform: renesas-ceu: drop buf NULL check 2023-06-09 16:08:09 +01:00
rockchip media: rockchip: rga: fix clock cleanup 2023-06-09 16:07:03 +01:00
samsung media: Revert "media: exynos4-is: Remove dependency on obsolete SoC support" 2023-05-26 10:56:54 +01:00
st media: sti: c8sectpfe: drop of_match_ptr() to avoid unused variables 2023-05-25 16:21:23 +02:00
sunxi media: sun8i_rotate: Convert to platform remove callback returning void 2023-04-11 16:59:19 +02:00
ti media: Prefer designated initializers over memset for subdev pad ops 2023-04-12 09:46:06 +02:00
verisilicon media: verisilicon: change confusingly named relaxed register access 2023-07-14 09:14:10 +02:00
via fbdev/media: Use GPIO descriptors for VIA GPIO 2023-06-19 09:02:51 +02:00
xilinx media: Zero-initialize all structures passed to subdev pad operations 2023-04-12 09:46:06 +02:00
Kconfig media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
m2m-deinterlace.c media: m2m-deinterlace: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
Makefile media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
video-mux.c media: video-mux: update driver to active state 2023-05-26 10:58:18 +01:00