From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E8D43CA4BE; Tue, 17 Mar 2026 13:07:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773752830; cv=none; b=o4570k+lKENJzwnKXqkQPCg/jthtebsDwwq4IVP7DwzA0j4sSe+pD6G+e7HaCXhd+v1uAieBXxw3OYvgfZGFQ39KDQhQNZ/RQAV10U1SxkqDb0UmjzNAX5KwxsqAl+dgphwia2/dPQM5denhpOgtWXKk2Fwf6tsAxiMB6WPnYJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773752830; c=relaxed/simple; bh=KmcgSTxz7w7mmjFxqazZSCEK651A9zD2vDZo98XmCSo=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=rNLF+ord+rKNJO60Am0YYmoKUw1fKKBVVFMMo1Gb8jXuP3yChatKVCkLboFuygM0B2otNDP6LkRATjHDWbteljfw1MwvQIay3aYs0PGvXqOi1C4V2vS5xyLOpFQF6RPatkSLsy1grNfbpEKlEkTRZQTJUXvWeeDV/IfG4HaY6yU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y6mEsLvw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y6mEsLvw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DAB8C2BCB1; Tue, 17 Mar 2026 13:07:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773752830; bh=KmcgSTxz7w7mmjFxqazZSCEK651A9zD2vDZo98XmCSo=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=Y6mEsLvw0HjgINO+BkpG8IHIrxqi7esuBBNnqDVhNdRJL+vpVecX7VEo5+af491hJ xJI/IaoSxYBl8TgiDdF3Mbuxl7S7fdulja7JxcXkuLOysBDMvpfAmYDBqPnD7qHJxH ccaV+znkTGbUkulDS4GmKQwFuMBY2baiMoTFqvYX30jjitALutRxNN09zacHFHk2Rp fCr/etuWMukfaM0QGDwJZeSRMGwclzD3r6voLpQrZkHRcIdGu6JPjUI71VXL4XlzcS Pdrm6vGXBjdnQjIBDAH/UoYiE0Fz72apkCKCWZF7frVfdENmv5RjEuYMbs0mJ9c0K3 q32XZe3mCBicw== Message-ID: <31e56301-2764-4d3b-bc21-555227248e5f@kernel.org> Date: Tue, 17 Mar 2026 14:07:04 +0100 Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Hans Verkuil Subject: Re: [PATCH v7 05/15] gpu: host1x: convert MIPI to use operation function pointers To: Svyatoslav Ryhel , Thierry Reding , Thierry Reding , Mikko Perttunen , David Airlie , Simona Vetter , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , Mauro Carvalho Chehab , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev References: <20260303084239.15007-1-clamor95@gmail.com> <20260303084239.15007-6-clamor95@gmail.com> Content-Language: en-US, nl In-Reply-To: <20260303084239.15007-6-clamor95@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Svyatoslav, Mikko, Thierry, On 03/03/2026 09:42, Svyatoslav Ryhel wrote: > Convert existing MIPI code to use operation function pointers, a necessary > step for supporting Tegra20/Tegra30 SoCs. All common MIPI configuration > that is SoC-independent remains in mipi.c, while all SoC-specific code is > moved to tegra114-mipi.c (The naming matches the first SoC generation with > a dedicated calibration block). Shared structures and function calls are > placed into tegra-mipi-cal.h. > > Tested-by: Luca Ceresoli # tegra20, parallel camera > Signed-off-by: Svyatoslav Ryhel > Acked-by: Mikko Perttunen I would like to merge this series, but in the v5 series there was a discussion about this host1x split: https://lore.kernel.org/linux-media/CAPVz0n0fkMYV-O4xWTBELd6HtKR83wrs+DS1wTVDOXdWuAK2OA@mail.gmail.com/ Mikko Acked this patch, but Thierry objected. However, I saw no further updates on this, and I do agree with Svyatoslav that this patch makes sense. If there are no objections, then I plan to merge series this on Monday for v7.1. Regards, Hans > --- > drivers/gpu/drm/tegra/dsi.c | 1 + > drivers/gpu/host1x/Makefile | 1 + > drivers/gpu/host1x/mipi.c | 592 +++++------------------- > drivers/gpu/host1x/tegra114-mipi.c | 483 +++++++++++++++++++ > drivers/staging/media/tegra-video/csi.c | 1 + > include/linux/host1x.h | 10 - > include/linux/tegra-mipi-cal.h | 57 +++ > 7 files changed, 666 insertions(+), 479 deletions(-) > create mode 100644 drivers/gpu/host1x/tegra114-mipi.c > create mode 100644 include/linux/tegra-mipi-cal.h > > diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c > index 2c5aefe9621a..7f25c50621c9 100644 > --- a/drivers/gpu/drm/tegra/dsi.c > +++ b/drivers/gpu/drm/tegra/dsi.c > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > > #include