Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1342567pxb; Fri, 6 Nov 2020 07:19:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJykZhp7MQ3h0dk6Bft3b8065C3KHScilSNTeQxBt5wrDFmZUF8MfFLG0wtWDCGD1cB0oRK+ X-Received: by 2002:a17:906:d9ce:: with SMTP id qk14mr2490116ejb.522.1604675952792; Fri, 06 Nov 2020 07:19:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604675952; cv=none; d=google.com; s=arc-20160816; b=XVuOyKZXeul84OgteMurAY6kx3XRWdVlwzHkEzsDh5EBi0mtodsr3Hdiy+rEngGB9F FMS7uwQWkl2mz90tQDu9jf0J8w4W/xl+T43DpX0Ghd4PGLObIVt5kR+pdt13RcD/xUTT BVBIxvgRPtlBg9CfVpMO/z2sVsT3A4GzCb7bwAojqcIO1PDNw+yrqPUGdF1blXHCbRJN shRN5DwtxBMM2ek5PKa586JEBsV+M9fULYHUIKqmVNPm80j1loD0vFDnmdY1QIjC67JJ baVjRrwi5v2e2L2SKxBAHM4ayXFgViohOpHwbi0E3iiPPWyvPA/Knaq4+KIvS0kIoLiM fntA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=0cSynKWzgk09s6YfF0S84Qn9cx77ILObwbSgoXE1y18=; b=i1llOc5WCOn3GjPg5cj4kvd8e28R/k1z+3t8JBoWOuvR51d+ezSWKzexVaBTpY1ABN U4Vfrlro+8SR3B9L2/+jgn8wEL4qqCYsNwsSWdGdFC+UhajBw287xEKysqf/q41//3vo oILBcpjJ7i7NGLtsTnFemztNvR135XH7crltWSE5viLIK+oVuaA/h1CIrUyGxRj6UXOj ovL6qcrsKrs97dVgEI0jtPopbUd33NtEHPBJlA58OdpeRJ5smD9ucXtG4Dmv6xzGeaoI 0+7KzZ2TbaL5ci08w2cTb5EGUFn3boWqrZF18onVIJjHJDO5L+J2osNxvV6oYmwMIxIl BxFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=lx5ws79b; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=SYvhdwg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk1si941384ejb.556.2020.11.06.07.18.49; Fri, 06 Nov 2020 07:19:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=lx5ws79b; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=SYvhdwg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727813AbgKFPOx (ORCPT + 99 others); Fri, 6 Nov 2020 10:14:53 -0500 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:49275 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbgKFPOR (ORCPT ); Fri, 6 Nov 2020 10:14:17 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 14F995806FA; Fri, 6 Nov 2020 10:14:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 06 Nov 2020 10:14:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:content-type:mime-version :content-transfer-encoding; s=fm1; bh=0cSynKWzgk09s6YfF0S84Qn9cx 77ILObwbSgoXE1y18=; b=lx5ws79bgquU9wuamSzA3x0ZVzVykW22CapFSNlCIP yS1ZrlhBd3GWaYkZSFmWYFWKK/lWyPC/NErVWSPpVKPv/0ajAmR4p8WnliZglLFa OetzwZDCqF8YOYNtaHCxOpCOpAfift6r/0HKkUIYtFwnqGJnxQLUsm4O6NR2q+Ek R5jKnbBzbsWtbA1Di/+qofrlR6ysclj8v40EpwU/L76hPKdC6KqrYofUb9aGCnOU eWYRmIXV1ADz5dnMyWAAUihWhVvr2fn2NWc4Sl2GACunSFFq1FXe0EadpIzyxaBk jy4VVQSFK3lXOvO+q2mg/NqkeYFVfYzqlLlk2munkPUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=0cSynK Wzgk09s6YfF0S84Qn9cx77ILObwbSgoXE1y18=; b=SYvhdwg2Lf16TiD5A4Psj5 csk3uFLKflVVdLUUMay9n51Ia7Q6f9W7MXkY59hKyramJZTA88yYGlbkexFB11W7 2DkWVtxP9Mx4Ghx3c8qe4Bygs6GeouMGARpI6h/JuP8xuAMHeSMmDi+MRPubt/pv muiMPvYbNy2llkeaibWao395HafbfgnZlH1sHoyh+aZ5/LughJfOF73uJwCLf9FB fkZVgRNUX2qIT636r2PJkk6ASOCahyQ7IvyDRBMgr6mm2hL9totN6edWtLGu0d6P xxTVaz8cTaP3hdh/7uCHQKyaYWsau8SNm91L5Na4v7rl+cvCmXBjXK50kk9lhhWQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtledgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffotggggfesthhqredtredtjeenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeetieekgfffkeegkeeltdehudetteejgfekueevhffhteegudfgkedtueegfffg feenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id D7D1F328037B; Fri, 6 Nov 2020 10:14:12 -0500 (EST) From: Maxime Ripard To: Daniel Vetter , David Airlie , Christoph Hellwig Cc: Paul Kocialkowski , Yong Deng , linux-arm-kernel@lists.infradead.org, Mauro Carvalho Chehab , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, Jernej Skrabec , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Robin Murphy , Hans Verkuil Subject: [PATCH 0/7] sunxi: Remove the calls to dma_direct_set_offset Date: Fri, 6 Nov 2020 16:14:04 +0100 Message-Id: <20201106151411.321743-1-maxime@cerno.tech> X-Mailer: git-send-email 2.28.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi,=0D =0D Here's an attempt to removing the dma_direct_set_offset calls we have in=0D numerous drivers and move all those quirks into a global notifier as sugges= ted=0D by Robin.=0D =0D Let me know what you think,=0D Maxime=0D =0D Maxime Ripard (7):=0D drm/sun4i: backend: Fix probe failure with multiple backends=0D soc: sunxi: Deal with the MBUS DMA offsets in a central place=0D drm/sun4i: backend: Remove the MBUS quirks=0D media: sun4i: Remove the MBUS quirks=0D media: sun6i: Remove the MBUS quirks=0D media: cedrus: Remove the MBUS quirks=0D media: sun8i-di: Remove the call to of_dma_configure=0D =0D drivers/gpu/drm/sun4i/sun4i_backend.c | 13 --=0D .../platform/sunxi/sun4i-csi/sun4i_csi.c | 27 ----=0D .../platform/sunxi/sun6i-csi/sun6i_csi.c | 17 ---=0D .../media/platform/sunxi/sun8i-di/sun8i-di.c | 4 -=0D drivers/soc/sunxi/Kconfig | 8 ++=0D drivers/soc/sunxi/Makefile | 1 +=0D drivers/soc/sunxi/sunxi_mbus.c | 132 ++++++++++++++++++=0D drivers/staging/media/sunxi/cedrus/cedrus.c | 1 -=0D drivers/staging/media/sunxi/cedrus/cedrus.h | 3 -=0D .../staging/media/sunxi/cedrus/cedrus_hw.c | 18 ---=0D 10 files changed, 141 insertions(+), 83 deletions(-)=0D create mode 100644 drivers/soc/sunxi/sunxi_mbus.c=0D =0D -- =0D 2.28.0=0D =0D