Messages in this thread | | | From | Maxime Ripard <> | Subject | [PATCH 0/7] sunxi: Remove the calls to dma_direct_set_offset | Date | Fri, 6 Nov 2020 16:14:04 +0100 |
| |
Hi,
Here's an attempt to removing the dma_direct_set_offset calls we have in numerous drivers and move all those quirks into a global notifier as suggested by Robin.
Let me know what you think, Maxime
Maxime Ripard (7): drm/sun4i: backend: Fix probe failure with multiple backends soc: sunxi: Deal with the MBUS DMA offsets in a central place drm/sun4i: backend: Remove the MBUS quirks media: sun4i: Remove the MBUS quirks media: sun6i: Remove the MBUS quirks media: cedrus: Remove the MBUS quirks media: sun8i-di: Remove the call to of_dma_configure
drivers/gpu/drm/sun4i/sun4i_backend.c | 13 -- .../platform/sunxi/sun4i-csi/sun4i_csi.c | 27 ---- .../platform/sunxi/sun6i-csi/sun6i_csi.c | 17 --- .../media/platform/sunxi/sun8i-di/sun8i-di.c | 4 - drivers/soc/sunxi/Kconfig | 8 ++ drivers/soc/sunxi/Makefile | 1 + drivers/soc/sunxi/sunxi_mbus.c | 132 ++++++++++++++++++ drivers/staging/media/sunxi/cedrus/cedrus.c | 1 - drivers/staging/media/sunxi/cedrus/cedrus.h | 3 - .../staging/media/sunxi/cedrus/cedrus_hw.c | 18 --- 10 files changed, 141 insertions(+), 83 deletions(-) create mode 100644 drivers/soc/sunxi/sunxi_mbus.c
-- 2.28.0
| |