alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard + Bifrost + Valhall - Logs https://oftc.irclog.whitequark.org/panfrost - I don't know anything about WSI. That's my story and I'm sticking to it.
<robclark>
AMD_performance_monitor isn't a _great_ extension if you can't read the counters from cmdstream.. it's ok as long as app doesn't try to begin or end the query at a point that would force a flush and cpu stall on gpu.. probably the more sane thing to use is perfetto/pps so the counters don't have to be coordinated with gpu rendering
<cphealy>
Yea, I was thinking of the perfetto/pps integration (which works today). Is there an easy way to associate the perfetto/pps reporting with specific client frame render?
<robclark>
some of the drivers have renderpass support.. the main thing is you need a way to capture a gpu timestamp from cmdstream
<robclark>
u_trace gives the infrastructure to re-associated those timestamps with render-stage (or other) traces after the fact without having to stall waiting for gpu
<robclark>
but not sure if mali has a way to read gpu perfcntr from cmdstream?
<robclark>
on freedreno side, we have a counter that increments at a fixed rate (19.2MHz) which we use for gpu timestamps
<robclark>
and then perfetto clock-sync traces to teach perfetto how to convert from gpu to cpu time
<HdkR>
Very curious if that 19.2Mhz is going to bump to 1Ghz since ARMv9.x requires it at some point :D
<cphealy>
robclark: Thanks for the hints!
<robclark>
how does armv9 make requirements on gpu timestamp precision? Given that most adreno's run at slower clk than 1GHz, I can't see how that would be useful
<HdkR>
robclark: They make requirements on the CPU cycle counter, which on Snapdragon as far as I'm aware are the same clock or at least linked to be the same. Since ARMv9.1/8.6 mandates 1Ghz it'll be interesting if it is strill intrinsically linked
<HdkR>
If it is required on the CPU side, might be good to just reuse the clock since it is there :D
<robclark>
hmm, I'd have to add some new uapi to query the rate instead of just hard-coding 19.2MHz like it has been since forever ;-)
<HdkR>
haha, yep
<HdkR>
Luckily even the latest thing announced is only ARMv9.0
camus has joined #panfrost
davidlt has joined #panfrost
camus1 has joined #panfrost
camus has quit [Ping timeout: 480 seconds]
pH5 has joined #panfrost
guillaume_g has joined #panfrost
samuelig has joined #panfrost
samuelig is now known as Guest2189
Guest2189 has quit []
samuelig_ has joined #panfrost
samuelig_ has quit []
rasterman has joined #panfrost
MajorBiscuit has joined #panfrost
MajorBiscuit has quit []
samuelig_ has joined #panfrost
samuelig_ is now known as samuelig
MajorBiscuit has joined #panfrost
psydroid[m] has quit []
nergzd723 has quit []
frytaped has quit [Quit: Bridge terminating on SIGTERM]
JulianGroOld[m] has quit []
stebler[m] has quit []
robertfoss[m] has quit []
jenneron[m] has quit []
toggleton[m] has quit []
thaytan[m] has quit []
thecycoone[m] has quit []
MajorBiscuit has quit [Max SendQ exceeded]
Dylanger has quit [Quit: Bridge terminating on SIGTERM]
zhxt[m] has quit []
strongtz[m] has quit []
MajorBiscuit has joined #panfrost
CalebFontenotHaileysCuteNerdyB has joined #panfrost
Danct12 has quit [Quit: Quitting]
Danct12 has joined #panfrost
Dylanger has joined #panfrost
frytaped[m] has joined #panfrost
Guest2224 has joined #panfrost
jenneron[m] has joined #panfrost
mairacanal[m] has joined #panfrost
JulianGroOld[m] has joined #panfrost
nergzd723 has joined #panfrost
Przemek[m] has joined #panfrost
psydroid[m] has joined #panfrost
robertfoss[m] has joined #panfrost
sharonmary6[m] has joined #panfrost
stebler[m] has joined #panfrost
strongtz[m] has joined #panfrost
thaytan[m] has joined #panfrost
thecycoone[m] has joined #panfrost
underpantsgnome[m] has joined #panfrost
toggleton[m] has joined #panfrost
zhxt[m] has joined #panfrost
Dr_Who has joined #panfrost
camus1 has quit [Remote host closed the connection]