Re: rk3399 "power off" gpu?

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Wed, 07 Jul 2021 13:18:19 UTC
On Wed, 7 Jul 2021 13:06:14 +0000 (UTC)
"Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> wrote:

> Hi,
> 
> I was wondering if there is a way to completely "shutdown" (power off)
> the GPU or put it into "low power" (suspend) mode?
> 
> Just setting the gpu state to disabled is probably the wrong as it won't
> give the SYR828 PMIC anymore and u-boot likely enables it all.
> 
> If it's possible would anyone have a dtso to do that?
> 
> /bz
> 
> -- 
> Bjoern A. Zeeb                                                     r15:7
> 

 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.

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@FreeBSD.org>