diff options
author | Adrian Ratiu <[email protected]> | 2020-10-14 23:30:24 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-10-26 19:54:59 +0000 |
commit | 6e1e90ec027509a7e8d4efbd77a65b32b5a8b3ec (patch) | |
tree | bd80cbfb9669e608740c11a1d2ed5adb18d1c0e6 /lib/mpi | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) |
regmap: mmio: add config option to allow relaxed MMIO accesses
On some platforms (eg armv7 due to the CONFIG_ARM_DMA_MEM_BUFFERABLE)
MMIO R/W operations always add memory barriers which can increase load,
decrease battery life or in general reduce performance unnecessarily
on devices which access a lot of configuration registers and where
ordering does not matter (eg. media accelerators like the Verisilicon /
Hantro video decoders).
Drivers used to call the relaxed MMIO variants directly but since they
are now accessing the MMIO registers via regmaps (to compensate for
different VPU HW reg layouts via regmap fields), there is a need for a
relaxed API / config to preserve existing behaviour.
Cc: Mark Brown <[email protected]>
Signed-off-by: Adrian Ratiu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions