From nobody Wed Jul 07 18:04:12 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5CC0C11F784D for ; Wed, 7 Jul 2021 18:04:18 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GKnPG0sDvz4b4D for ; Wed, 7 Jul 2021 18:04:17 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 4F7628D4A172; Wed, 7 Jul 2021 18:04:15 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 6F348E707C8; Wed, 7 Jul 2021 18:04:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id eb0Ml5PGw6hK; Wed, 7 Jul 2021 18:04:13 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 2236AE707CF; Wed, 7 Jul 2021 18:04:12 +0000 (UTC) Date: Wed, 7 Jul 2021 18:04:12 +0000 (UTC) From: "Bjoern A. Zeeb" To: Emmanuel Vadot cc: freebsd-arm@FreeBSD.org Subject: Re: rk3399 "power off" gpu? In-Reply-To: <20210707151819.74377cb776da1acde9d9b5d6@bidouilliste.com> Message-ID: References: <20210707151819.74377cb776da1acde9d9b5d6@bidouilliste.com> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4GKnPG0sDvz4b4D X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 7 Jul 2021, Emmanuel Vadot wrote: > The mali part in RK3399 is powered via an external regulator. > If the regulator is unused it's automatically shutdown in FreeBSD > unless you set hw.regulator.disable_unused=0. > That being said on rockpro64 the always-on property is set for this > regulator so you will need some overlay that removes this property. Thank you Manu for the quick reply! I had seen the regulator-off-in-suspend; hence hinting at that but missed the regulator-always-on; regulator-boot-on; doh! in the rk3399-nanopi4.dtsi. I'll give it a try tonight. /bz -- Bjoern A. Zeeb r15:7