ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
JohnnyonFlame has quit [Read error: Connection reset by peer]
karolherbst has quit [Remote host closed the connection]
karolherbst has joined #etnaviv
karolherbst has quit [Remote host closed the connection]
karolherbst has joined #etnaviv
karolherbst has quit [Remote host closed the connection]
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #etnaviv
frieder has joined #etnaviv
pcercuei has joined #etnaviv
lynxeye has joined #etnaviv
karolherbst has joined #etnaviv
sythemeta847[m] has joined #etnaviv
<tomeu> lynxeye: the blob sets the core and bus clock rates to 800mhz, but etnaviv leaves the clocks at 240mhz
<tomeu> as etnaviv doesn't have devfreq atm, how is etnaviv expected to set the right frequency?
<tomeu> does it need to be specified in the DT?
<tomeu> actually, 24mhz, no wonder why it felt so slow
<tomeu> I hacked the rate to be 800mhz, but I'm now having reliability issues
<tomeu> guess it is not getting enough power to run at those speeds
<austriancoder> tomeu: afaict it's done in DT
<lynxeye> tomeu: yes, no OPP support for now, so the default speed should be configured in DT via assigned clocks
* tomeu gives that a try
<tomeu> lynxeye: any idea on why the npu may be unreliable at those speeds and how to tweak the voltage if that is the problem? (have already asked narmstrong as it is on the vim3)
<tomeu> assigned-clocks works great though
<lynxeye> tomeu: I have no idea about the exact specifications on the vim3, but the GPU/NPUs support different frequency/voltage tuples. E.g. on the i.MX8MP you can run the GPU at 800MHz/0.9V or 1GHz/1.0V
<lynxeye> So higher clocks might require higher voltages from the PMIC on the board
<tomeu> yeah, I'm trying to find a way to specify the voltage for the NPU, but so far the genpd stuff is getting in the way
<lynxeye> tomeu: Can't you just pin the regulator supplying the domain to the higher voltage?
<tomeu> haven't found yet where the regulator for the power domain is
<mntirc> lynxeye: hmm, neat @ 1ghz gpu @ imx8mp
<tomeu> from the datasheet I have, the regulator to that domain is VDD_EE, but I cannot for the life f me find a reference in the kernel code
<tomeu> ok, seems to be unmanaged atm
<tomeu> and probably the bootloader is not setting a high enough voltage for that one
<tomeu> gah, there is a regulator MP8756GD for VDD_EE in the vim3 schematics, but it doesn't say where the modulating signal is coming from, other than calling it VDDEE_PWM
<mntirc> tomeu: btw, i assume your work will also be compatible with the npu in imx8mplus, correct?
<tomeu> they seem to be basically the same, yes
<mntirc> cool, can't wait to experiment with that
<mntirc> end of the year we'll ship around 600 mini laptops with 8mp, it will be a cool usecase for npu experiments
<tomeu> hmm, maybe I should write a blog post with the progress so far and how to try it out
<tomeu> but you would have to do add the DT bits yourself
<mntirc> sure
cphealy has joined #etnaviv
cphealy has quit [Remote host closed the connection]
frieder has quit [Remote host closed the connection]
JohnnyonFlame has joined #etnaviv
Leopold__ has joined #etnaviv
Leopold_ has quit [Ping timeout: 480 seconds]
ninja2181 has quit [Remote host closed the connection]
lynxeye has quit [Quit: Leaving.]
pcercuei has quit [Quit: dodo]