Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp1599159rwb; Sat, 3 Sep 2022 20:54:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR711c6Gx0tFE6ocm9LybMr+j8fehYTdbmFL9isEz19RTfXotp9EilgXCbVXPOSpNh44E4KW X-Received: by 2002:a17:90a:fa06:b0:1fe:2800:41ae with SMTP id cm6-20020a17090afa0600b001fe280041aemr13342865pjb.152.1662263690168; Sat, 03 Sep 2022 20:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662263690; cv=none; d=google.com; s=arc-20160816; b=YeaHZdFwinHcbMXs3/GPjvCIUMcafvFZCpbnIOj5Owl8iZ2S9wHNmM8PAtPqZqqXiE S/qBq6N6T8uIl9CvdgsEh92iq2aYmPas8cnv/Xv3nAkm1ErLYeYtJ1g1F5xiho+I6M5c x3an13nOKMoLv0cSy2+sMEC68kifNGQuL2J2F7ivnp/xL4S3InzICzIEL3bGPEUTDlIK Kpcop4NXSsoa9k4pOX+1tExM7Dhe+ZSEopPtvifhhG826eClzu9MyHisSGejdBtNzMTI dXDp9mXbJ70a2sF04L9mEoiA0+Pji8OShHEWyvrMJQSEg3EkIaMeTM5C3BZQBZrdi4bh lv5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:feedback-id:dkim-signature:dkim-signature; bh=TeyTyQi/4NWG/VEID8iA849BFUgiaZmUHO9VJnS0F00=; b=Wf6ZWYqo83T+OABaDEWideBjh/EdFgPAEz+sM7uCdvtqTwlmVhlEhGU0EDGCUiA80A vc+0zXUnMizl6Zly8qzL8N04fsWQKZZKJrQR0HuroNW4Lox/Zu+7NGXUEbCsyWKUDNR9 Hj1lmxchtG75+gxn8x3zE80nlzU5CWNc/DaJJ6KqDMppiUkbInQK5gK6PupLJICx5dyF OtY1QRgNWGJya2tS4nM1ZW/84ujp9MXlQ0MjIX+19WKmxSvEHbCWTxRm3wqf0juWTLWV UFnXcrt6V854ZjyWLxFeTw7RYRYgN0/CPlhN1HK/u4wau2uYJDryHAAqHGZ+uGefzHti 3QUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b="zK9fO9/E"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ZvVKa2Rr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 8-20020a630d48000000b0042cf080cfd8si2453676pgn.833.2022.09.03.20.54.29; Sat, 03 Sep 2022 20:54:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b="zK9fO9/E"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ZvVKa2Rr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbiIDDcl (ORCPT + 99 others); Sat, 3 Sep 2022 23:32:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbiIDDci (ORCPT ); Sat, 3 Sep 2022 23:32:38 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCF531900B; Sat, 3 Sep 2022 20:32:37 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4B4465C008C; Sat, 3 Sep 2022 23:32:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 03 Sep 2022 23:32:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1662262357; x= 1662348757; bh=TeyTyQi/4NWG/VEID8iA849BFUgiaZmUHO9VJnS0F00=; b=z K9fO9/EGETZ+rM52VCnLG9+AIwT9QVDpkLo3BhDz8xBk0SZDpjWJv+UtIwGbLq3i VHIkeDDKcu/OkYeMZeqvORa3wN9aiXSZqcGVTkgPea2/+FEtku0Yfr5jzshE271J PMF0QkKTrKeVjWmytI06gpbh3e+0uTQ7H8ahXwOMwCiri0tHhswmwUF15j/QHpBl 86YdoWr8W/zs7/BWzJsiIOutZdPAN+3W+iYpUGGxwLUsgd6yN2DvFerK9yjQAFP6 Smi78oOrwYRBmoOpPOUb/59ZqowH6HcgDaSb4Zy90dGWjz7sdROraysFiscwnuaO lxOWy1ETloFnF+M1kmNqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1662262357; x= 1662348757; bh=TeyTyQi/4NWG/VEID8iA849BFUgiaZmUHO9VJnS0F00=; b=Z vVKa2RrDlsfzt521ZxeAe13JsaCwjQvxizZ02heXNnqmZB8D7BSQK6xIXmQGDS92 XNk/qR2XDpXE8QNBfBggMChTt9lErfa6kkoX7OfrXN8mWH93P33q215yLpkCN4+m +CHxxG2zbeYf4NlUyZoCqQtFjWS4zKs1RN+98diAwCZQqBC3nKgLNcaMkxvK+0DV 7pDH7clbwFIZJgBxDJB51SyM2epMX7v8TqPwHGDyvc9z4Wycb6rfV3y34Sh/g7lP vO/XOyoy42DxYY8R24wKl6bTjT70dQ7PyvTHXrfeu5JTCHcL7AP6CGKTwtqP3BWk 30I2TbHgQtIySlwLyAJvg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdelfedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvvehfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefurghm uhgvlhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenuc ggtffrrghtthgvrhhnpeejleefuddtgeegvedvkeehfeejfeevgfefiefffeegudeiuedt heekjeelgeeujeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhl rghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 3 Sep 2022 23:32:36 -0400 (EDT) Subject: Re: [PATCH v2 4/4] arm64: dts: allwinner: beelink-gs1: Enable GPU OPP To: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Chen-Yu Tsai , Jernej Skrabec , Rob Herring , Krzysztof Kozlowski , devicetree , linux-arm-kernel , linux-sunxi@lists.linux.dev, linux-kernel References: <20220821173051.155038-1-peron.clem@gmail.com> <20220821173051.155038-5-peron.clem@gmail.com> <0c028109-bb50-fbaa-de18-9876706a7477@sholland.org> From: Samuel Holland Message-ID: <26ebdc2d-caca-2d53-45bc-8c8b90c7c1fd@sholland.org> Date: Sat, 3 Sep 2022 22:32:36 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/22 2:06 PM, Clément Péron wrote: > Hi Samuel, > > On Sat, 3 Sept 2022 at 20:41, Clément Péron wrote: >> >> Hi Samuel, >> >> On Tue, 23 Aug 2022 at 05:07, Samuel Holland wrote: >>> >>> On 8/21/22 12:30 PM, Clément Péron wrote: >>>> Enable GPU OPP table for Beelink GS1 >>>> >>>> Signed-off-by: Clément Péron >>>> --- >>>> arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 2 ++ >>>> 1 file changed, 2 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts >>>> index 6249e9e02928..20fc0584d1c6 100644 >>>> --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts >>>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts >>>> @@ -5,6 +5,7 @@ >>>> >>>> #include "sun50i-h6.dtsi" >>>> #include "sun50i-h6-cpu-opp.dtsi" >>>> +#include "sun50i-h6-gpu-opp.dtsi" >>>> >>>> #include >>>> >>>> @@ -261,6 +262,7 @@ reg_dcdca: dcdca { >>>> }; >>>> >>>> reg_dcdcc: dcdcc { >>>> + regulator-always-on; >>> >>> Why is this necessary? This file already has: >> >> This is a relica from the first serie at this time the OPP doesn't >> properly enable the regulator it's now fixed since: >> https://patchwork.kernel.org/project/linux-pm/patch/81eb2efeeed1556d124065252f32777838a6d850.1589528491.git.viresh.kumar@linaro.org/ This should have nothing to do with the OPP driver; lima already has a "mali" regulator consumer that should be enabled whenever the GPU is in use. _Adding_ a regulator consumer from the OPP driver should not somehow decrease the refcount. >> I will drop it. > > After retesting it, it seems to still no take the regulator and make > my board hang... :( > > [ 17.698597] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI > I2C bus driver > [ 17.708475] sun4i-drm display-engine: bound 6000000.hdmi (ops > sun8i_dw_hdmi_ops [sun8i_drm_hdmi]) > [ 17.718350] [drm] Initialized sun4i-drm 1.0.0 20150629 for > display-engine on minor 1 > [ 17.877443] Console: switching to colour frame buffer device 320x90 > [ 17.936050] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb > frame buffer device > [ 17.961881] platform 5200000.usb: deferred probe pending >>>>> [ 31.710731] vdd-gpu: disabling <<<<< Are there any messages from lima, especially about mali-supply? Can you provide regulators_summary from debugfs? Regards, Samuel