Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp221374rdb; Thu, 21 Dec 2023 07:26:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3YPjBIg3Kfeq7wspoqH9uvcDuXpHF5KvsCH/GZw7xgIQcVR4pmrHg+XwtPkfftYLJrJlf X-Received: by 2002:a4a:92dd:0:b0:58e:1c48:4957 with SMTP id j29-20020a4a92dd000000b0058e1c484957mr14998557ooh.17.1703172376641; Thu, 21 Dec 2023 07:26:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703172376; cv=pass; d=google.com; s=arc-20160816; b=na2Tf0Um5akU0GQddSgT9d28t1lprTisAP/lgCOWYfZr/BTx161iIiRFIYSnaNIUKE ivj5dXLWyXGnWeKNFVOgZ/8j/JLpxuiLt3bXqEJeSq+3V79o77LZgbzUD4q9N0kB3iWK +DF+k15AYwOjCeHu1Old0z9BOvGH3QRUr48JA8U2d/EeSBRHjCC9VYO0CvXhq6qnKAJu It7ix9y/wYdAM4aOZhP+cka7MoCZ4ILULbSA3+5k+sP2g29qggz4inIrvhM4ebrtQaHq hn2Zyd/GHy5GHBrTYyvjR2lHeDuhAf6LPkPsJe537JvDDyhnd1pYEP9Yls/Xs9TDhrl/ yIYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature:dkim-signature; bh=IlLQWtO5L6QKmPmiq2x6VX4CBIJlI6GOZ++GNJegOGk=; fh=HJaHQ3SkhD3bnR+rAhnJDorZO3lmP0UsFsQARA6A/yw=; b=O8TgTGsxOYunAdJhGWWdOBzFUBScDy2vSK+ZNUBnZAvEc43TbV5fDxO4wJm+ns9nV3 Xf6gtrC2TU30Hd4+BKEXcTJf+bSEC6wJyaWMfU7jr1L8f5JO5EbgHejEhiDGhpu9wpVe 6En/l8a4J65vVUNpJbfcQ7raDxqvDbqyGm0/x8cM8evrS47XIlfbObEKo6LHM48fc6gS pkMMK7o0n/UKGVD164q5QBtACq0+gG5O0+wEMAF1jGrkpJtmXgPLaFs7NrUlh4mrxxve RAzWgrpYRVzlvw8kUylMy65bl0UreqI1x4KkEJtsrdb7DRbISN6z/Xs39AeIwVYEAeLv TmMg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=UA7Q0CO0; dkim=neutral (no key) header.i=@goldelico.com header.s=strato-dkim-0003 header.b=SZJRLTbw; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-8652-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8652-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jn25-20020a05610219d900b00466859e68a4si371738vsb.322.2023.12.21.07.26.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 07:26:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8652-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=UA7Q0CO0; dkim=neutral (no key) header.i=@goldelico.com header.s=strato-dkim-0003 header.b=SZJRLTbw; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-8652-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8652-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 522C11C217A8 for ; Thu, 21 Dec 2023 15:26:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 17CA2539FA; Thu, 21 Dec 2023 15:24:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="UA7Q0CO0"; dkim=permerror (0-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="SZJRLTbw" X-Original-To: linux-kernel@vger.kernel.org Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [81.169.146.170]) (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 C78C14F1E9; Thu, 21 Dec 2023 15:24:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=goldelico.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=goldelico.com ARC-Seal: i=1; a=rsa-sha256; t=1703172232; cv=none; d=strato.com; s=strato-dkim-0002; b=UwUq/YQX2zRCRkfeyBlXslp0UWcH60extncrAjK6TFBnwi3nkGDhK7z7n4fs/T+/S2 A9hP3ZMOlc3HyO43nWI4FkajiLPRoVqdu3Bgv+Tq/2v0oqNYh3D7xhVqJs2Gwt9jXTLS uLYEJeL1Mxgnhf+KDAzWJaZB+hZq03wsgE0/ZB+qKnC44dZLziJANpDQIfHm8OXLr5cv 5sDVOFwmSO/tzMtzwJq1ATYGsYVocIV5FIPunxob5oKfBA6O/pRA956O070QgybZESL4 2xgJfnImKuLUm5n+liNHrbhrydrnlCIVKut35ON2oCGgm7i2CIibdxLLj4msQj9c02GB R0lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1703172232; s=strato-dkim-0002; d=strato.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=IlLQWtO5L6QKmPmiq2x6VX4CBIJlI6GOZ++GNJegOGk=; b=pxpT2VbelrAIZDkXj9IZhQXR9SfF3KLzBbr6KVGO6OCrcKuByoIek76R7a9HocWSRY 4jU7M2owiVka7Db3TV1j8YGA55CIydyCi9g3ZbIiaivJmAcmG6uzXdy0ea6KAA124um+ aeJBNpe8KGJ0JilGgs332uGi6bFOQn2CYD6KI0k162NCKyICkskKKfvglcqduswjI+U+ 7qRI36HuUoiUspzYHqdZKuPz2IcXNhQgT1vUWkCabCnE1uKkKAhbRDblwQsR9cdzabjh PO5uZOLxdRWtK9qqRquggg8UKmwjCFJY+3iAH9dPSQ0lygp9gVfQrGTTBhj6Iv5qP5iM 7szg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1703172232; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=IlLQWtO5L6QKmPmiq2x6VX4CBIJlI6GOZ++GNJegOGk=; b=UA7Q0CO0/L9rhAgeD5fPYyWE1i6CylAFokMLXBp/QAHRWSlzucUgdV0Js+Kj9kHU1j KEHc7Vow77+V4YZQAqaNDN1oaMXGS4Bcu8WaSQK98VHeR/pNELscmY1tQG5jW0DOEXdU 9cbFsDGfhg/JHMr/5C7I6lBjLK8Lh/gdZXAWPbukVgsd9c56f7CXW4Z7DIKORqELfXkC 83x+KzwuBM+bC6Y9rMhrXSYqaVJDqLrro0PCf1gUlRy48qJvDH4YXy0lg+KPdyIJdDCU aq2LH9NLj26sB6QJrYzXuN89rrGBsL9D2gWkDXqyjN5lJt2d61gK9eJ15LpdGZXNk6yn toBA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1703172232; s=strato-dkim-0003; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=IlLQWtO5L6QKmPmiq2x6VX4CBIJlI6GOZ++GNJegOGk=; b=SZJRLTbwvTIaw2c1/vOtdG1/jR1e72SIo6ZjDY5ScOp5xW1MMGbn1zATNGB9p9WqS8 oNccSextnPwLlTzlxTAw== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBp5hRw/qviAxtjc3yiuvr5qbMskH1rzDt9Ntflha3riRgdpClD1qY=" Received: from smtpclient.apple by smtp.strato.de (RZmta 49.10.0 AUTH) with ESMTPSA id wfeb35zBLFNoFFz (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Thu, 21 Dec 2023 16:23:50 +0100 (CET) Content-Type: text/plain; charset=us-ascii Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: [PATCH RFC 01/10] dt-bindings: gpu: Add PowerVR Series5 SGX GPUs From: "H. Nikolaus Schaller" In-Reply-To: Date: Thu, 21 Dec 2023 16:23:39 +0100 Cc: Andrew Davis , Frank Binns , Donald Robson , Matt Coster , Adam Ford , Ivaylo Dimitrov , Maarten Lankhorst , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , =?utf-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Paul Cercueil , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-omap@vger.kernel.org, linux-mips@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <23livt5mcc64bb6lkeec2uxp5cyn4wfekwaj6wzrjnrkndvwgj@6tveqglqpr4v> <6BC60156-89E2-4734-BD00-B49A9A6C1D7A@goldelico.com> <6gpehpoz54f5lxhmvirqbfwmq7dpgiroy27cljpvu66wtn7aqy@lgrh7wysyxnp> <22cny5aumc5wafsrjd3j55zcjbjf2viip64kfbjiqis2grtd6t@wg5dxeuzil6l> <3E03E913-48E1-49EC-A6C9-EAC1612E65E7@goldelico.com> To: Maxime Ripard X-Mailer: Apple Mail (2.3774.300.61.1.2) > Am 21.12.2023 um 09:58 schrieb Maxime Ripard : >=20 > Cool, so what you're saying is that your plan is to support those GPUs > upstream in the imagination driver? Yes, I would like to see PowerVR Series 5 SGX supported upstream since = there are still so many devices in the wild which could use it. The most = advanced being the Pyra handheld gaming computer but there are omap4 based phones or other omap3/amm335x based devices. And the only reason the OpenPVRSGX group was founded (BTW not by me, I = am just maintaining the code and running a mailing list because it was rejected = to host it on vger.kernel.org), was to make that happen. =46rom the GitHub description: This is about shaping existing GPL Linux kernel drivers for the = PVR/SGX5 architecture so that they can become accepted into = drivers/staging But nobody can currently tell if it can be integrated with the recently = upstreamed Rogue driver (I wouldn't call that *the* imagination driver) or if it = better stays a separate driver because the first would need touching closed = user-space code and GPU firmware. And nobody knows who is capable and willing to work on it. It depends on = access to (confidential) documentation and available time to make such a big task = a rewarding project. And discussions like this one are not at all encouraging to = even try. >> Now, IMHO all the pros and cons are on the table and the question is >> who makes a decision how to go. >=20 > You haven't listed any pro so far, you're claiming that the one I = raise > are irrelevant. I have listed some "pros" for "single file" but you apparently don't see them as such. I can't change that. The main argument is that a single = file is simpler than two files duplicating parts, which are apparently the same (integration of PVR architectures into SoC doesn't differ very much: = shared register block, DMA memory, clocks, resets etc.). Yours is that two files duplicating such common things is "more = convenient". I just wonder for whom. But it seems as if the IMHO second best solution has already been = chosen. So let it be. >> Then the currently-out-of-tree driver for the sgx5 can be reworked in >> less than half an hour without loosing functionality. >=20 > Again, you're making it harder than it needs to be for no particular > reason other than the potential file name clash that can be addressed. What I want to avoid is a situation that upstream activities do not take = the existing and working out-of-tree SGX driver into account and make = porting (not even speaking of upstreaming) that driver more difficult than = necessary and force device tree files to contain redundant information nobody will = need and use. You can of course ignore experience and suggestions of people who have worked on an SGX driver for a while. But that is the reason why = I participate in this discussion and raise my voice. Now, I am looking forward to a v2 of this patch. BR, Nikolaus