Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3447708ybz; Mon, 4 May 2020 03:12:22 -0700 (PDT) X-Google-Smtp-Source: APiQypLopIjVjCQ3MJenpjnOUsONqq+MSLeMW124yl+81siIg09M19AWkMQVD7jk57BAxM4zijQq X-Received: by 2002:a17:906:2296:: with SMTP id p22mr14026126eja.269.1588587142471; Mon, 04 May 2020 03:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588587142; cv=none; d=google.com; s=arc-20160816; b=OgQzbeRSHg4nUUb+2v2bo197CcZ975nTTf/EoemVHUQytfSPCtQURRSO7JNgPVPWBr EjVlRKsg8jdzfyPYWEUKwHNQMBbH4QoD/i0aGzaqH/g5om6pibimEMOr289ZCSzB0nJW yokfM3SQRzE7sPpvb4yKdDkCzOiuJkSN63yW7fBGr0UPq76/Ufsrd/Lvf4Q0XV37mAyC qnXOBwhMISWiCntXntyWUtFk8fbCSwJJu6nFP+CXbiiQ7RwkC1kqWgPudD9+Hov1F20F j6LOnVtfzaAZ+YwltxdfbDbX/Uw37rQHVLBMtFWjGSqnihKbMJdVUijb6AjF122SVvjp CQIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=XwCUc4PNUIphbDq/q6g5N5VbXaRTPo4QS20aya+hWlo=; b=iCwZLhOH7YCfSdkDTPpxFKNQhXkOJG1yqhu2VieLTb74R68PLtUjx8SuMnp0iULhG4 RcnPcHExacAjmZtmfCO3qollDObiak9wLx63+yzGddQGxz3G378FidVp1/eXvuO+XeUz ny2P3edN3dRzPO2rTapRiv+JOKjdIofHxlTjNrlnasMk+1ML8etjcCILOUMDRBAzs/Qm UY7S9RZ516kLSBN5nLKYfLElFjX7Pq6wk5ZnjRTLczr9T+FVKo26KBaUirA/3nDO4YM2 EX92x6SgacWS1ziYMF8yHW9pYp8CnTjwDTopHYnZUIrQ8jtbIvZzAkwt9zGj5W0uRhoo x0+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si7115794edn.445.2020.05.04.03.11.59; Mon, 04 May 2020 03:12:22 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728090AbgEDIHg (ORCPT + 99 others); Mon, 4 May 2020 04:07:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727100AbgEDIHg (ORCPT ); Mon, 4 May 2020 04:07:36 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E29C9C061A0E for ; Mon, 4 May 2020 01:07:35 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=localhost) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVW8B-0007yE-Il; Mon, 04 May 2020 10:07:15 +0200 Message-ID: Subject: Re: [RFC PATCH 4/4] arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core using Etnaviv From: Lucas Stach To: Adam Ford , Schrempf Frieder Cc: Anson Huang , Christian Gmeiner , Daniel Baluta , Fabio Estevam , Leonard Crestez , Li Jun , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Russell King , Sascha Hauer , Shawn Guo , "S.j. Wang" , "devicetree@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "etnaviv@lists.freedesktop.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Date: Mon, 04 May 2020 10:07:14 +0200 In-Reply-To: References: <20200430124602.14463-1-frieder.schrempf@kontron.de> <20200430124602.14463-5-frieder.schrempf@kontron.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.1 (3.36.1-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Sonntag, den 03.05.2020, 09:49 -0500 schrieb Adam Ford: > On Thu, Apr 30, 2020 at 7:46 AM Schrempf Frieder > wrote: > > From: Frieder Schrempf > > > > According to the documents, the i.MX8M-Mini features a GC320 and a > > GCNanoUltra GPU core. Etnaviv detects them as: > > > > etnaviv-gpu 38000000.gpu: model: GC600, revision: 4653 > > etnaviv-gpu 38008000.gpu: model: GC520, revision: 5341 > > > > This seems to work fine more or less without any changes to the HWDB, > > which still might be needed in the future to correct some features, > > etc. > > > > Signed-off-by: Frieder Schrempf > > --- > Since not everyone uses the 3D or 2D, would it make sense to mark them > as disabled by default and let people who need the 3D and 2D enable > them at their respective board files? No, devices on the SoC with no external dependencies should be always enabled. The board has much less influence over whether the GPU is being used than the specific use-case. While the board designer may not even think about using the GPUs (because no display connector present or something like that) people using the board may still find uses for the GPU, like doing video pipeline color space conversions or something lie that. Regards, Lucas