Re: [PATCH 0/7] sunxi: Remove the calls to dma_direct_set_offset

From: Chen-Yu Tsai
Date: Fri Nov 06 2020 - 11:03:44 EST


Hi,

On Fri, Nov 6, 2020 at 11:15 PM Maxime Ripard <maxime@xxxxxxxxxx> wrote:
>
> 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

Whole series looks good to me.

Reviewed-by: Chen-Yu Tsai <wens@xxxxxxxx>

Now the question remaining is how do we merge this series so that
the notifier gets merged before all the code dealing with the MBUS
quirk gets removed.


> 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
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel