From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC26AC28CF5 for ; Wed, 26 Jan 2022 11:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9qyXWh8nX6Llx2LpkZaPMts20ibeCNL15OiRqNqbDlo=; b=v8bif0G12m0y2v UofAMZWvgYTmwr/KFXn7RjmHPHFsYGw0coj+K4F+Me3fk41Mc5VanuuXF17vUk5ScNQ4AxiVkUIgj qOJTuWRZZa0T6vR1KssIH0axSZwNrDfGSyYSyZwiSMiaqvhgP4ra8me3juK5/9bQ5xwZDRbCTHZ++ uGq8RQTLwZVMOqM9whO65EqMcH+WMgqS63J/ozN8sfvQ0LFI6XWU/9lqNU3KQq+91s/SdKmnKBwiF XISrqRboF786lUegMbv0QaJ7uSjEfiHJAQcVx7xbWflvYpTE7yPZ/dyQ8Guah5AhPVsoVXf3MBCga oOBvROMPSoXtpaH3yssg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCgv5-00BcNP-FP; Wed, 26 Jan 2022 11:56:59 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCgv1-00BcMX-Ke for linux-arm-kernel@lists.infradead.org; Wed, 26 Jan 2022 11:56:56 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8C56B61983; Wed, 26 Jan 2022 11:56:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCE0AC340E3; Wed, 26 Jan 2022 11:56:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643198214; bh=AIril9v7tE8y6x77I8YDt8M9H1P7L5vpXmUl0SfJWNc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d17fmk1LEayEdOGlbjpvNGW8dTzgKTltoBiSIHiCPJw2leW5RvAIzT9KTm8SUGmMg WBUe4wT8JO8yVEn4a1l6cdX9cAeuaiGOtqJ4BgH/u8LdPdMX9S2SoCqPRCbfjAAg4t ksR/HhJEMfU6doKKyXcB20fIXWc8Xts8zhTOgoZry1bxJImoXwF7AtvGKpKnQ9Gipv hCq3dsZE8qHpuQs16a0evjdXXS7wAhO8fk7j77FR4gyBzh9FSOnPQL0LrEqCE0W0no XxAMNjP61mx4egkzzuedrxnv55psqDY3rDw/KE8pCp7igHf5Nmx2L3sIZHPfSOud2g mg8puBSqwBxGQ== Date: Wed, 26 Jan 2022 19:56:47 +0800 From: Shawn Guo To: Lucas Stach Cc: Tim Harvey , Rob Herring , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Adam Ford Subject: Re: [PATCH] arm64: dts: imx8mn-venice-gw7902: disable gpu Message-ID: <20220126115646.GM4686@dragon> References: <20211216161227.31960-1-tharvey@gateworks.com> <20220126093558.GL4686@dragon> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220126_035655_739763_E2F8F1E8 X-CRM114-Status: GOOD ( 25.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 26, 2022 at 10:58:56AM +0100, Lucas Stach wrote: > Am Mittwoch, dem 26.01.2022 um 17:35 +0800 schrieb Shawn Guo: > > On Thu, Dec 16, 2021 at 08:12:27AM -0800, Tim Harvey wrote: > > > Since commit 99aa29932271 ("arm64: dts: imx8mn: Enable GPU") > > > imx8mn-venice-gw7902 will hang during kernel init because it uses > > > a MIMX8MN5CVTI which does not have a GPU. > > > > I do not quite follow on this. i.MX8MN integrates a GPU, and > > MIMX8MN5CVTI is built on i.MX8MN, correct? If so, how comes > > MIMX8MN5CVTI doesn't have a GPU? > > > It's a fused-down variant of the i.MX8MN that has the GPU disabled by > fuses. > > > > > > > Disable pgc_gpumix to work around this. We also disable the GPU devices > > > that depend on the gpumix power domain and pgc_gpu to avoid them staying > > > in a probe deferred state forever. > > > > Is this an indication that GPU should be disabled in imx8mn.dtsi and > > enabled board by board? > > > There's a trade-off here: most boards will probably use the full > variants that include the GPU, so probably less boards will need to > disable the GPU, as done here, than boards that need to enable it when > the base DT disables the GPU. > > Same story as with the i.MX6 where there are some SKUs that disable the > VPU by fuses: we enable it in the base DT and if you happen to build a > very low-cost board that uses the fused-down version you need to > disable it in the board DT. Thanks, Lucas! Patch applied! Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel