alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
stikonas has quit [Remote host closed the connection]
kaspter has joined #panfrost
vstehle has quit [Ping timeout: 258 seconds]
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 258 seconds]
camus1 is now known as kaspter
TheKit has quit [Ping timeout: 240 seconds]
kaspter has quit [Ping timeout: 258 seconds]
kaspter has joined #panfrost
TheKit has joined #panfrost
icecream95 has joined #panfrost
QwertyChouskie has joined #panfrost
enunes has quit [Quit: ZNC 1.7.2 - https://znc.in]
enunes has joined #panfrost
anarsoul|2 has joined #panfrost
anarsoul has quit [Read error: Connection reset by peer]
MoeIcenowy has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
MoeIcenowy has joined #panfrost
QwertyChouskie has quit [Ping timeout: 255 seconds]
vstehle has joined #panfrost
SolidHal4 has joined #panfrost
SolidHal has quit [Read error: Connection reset by peer]
forkbomb has quit [Ping timeout: 260 seconds]
forkbomb has joined #panfrost
chewitt has joined #panfrost
buzzmarshall has quit [Remote host closed the connection]
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo has joined #panfrost
mias has joined #panfrost
yann has quit [Ping timeout: 260 seconds]
warpme_ has joined #panfrost
TheKit has quit [Remote host closed the connection]
TheKit has joined #panfrost
pH5 has joined #panfrost
yann has joined #panfrost
icecream95 has quit [Ping timeout: 268 seconds]
<bbrezillon> alyssa: here's is the desc caching patch in case you want to have a look https://gitlab.freedesktop.org/bbrezillon/mesa/-/commit/72dc362d8fd3f8a88092feef42d4842b33581cb5
chewitt has quit [Quit: Zzz..]
chewitt has joined #panfrost
chewitt has quit [Quit: Zzz..]
chewitt has joined #panfrost
rhyskidd has quit [Remote host closed the connection]
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo has joined #panfrost
klaxa has quit [Ping timeout: 265 seconds]
jolan has quit [Ping timeout: 265 seconds]
hl has quit [Ping timeout: 265 seconds]
robertfoss has quit [Ping timeout: 265 seconds]
jolan has joined #panfrost
robertfoss has joined #panfrost
hl has joined #panfrost
<alyssa> bbrezillon: That seems very reasonable, although I don't quite understand the motivation for seqnums
<alyssa> Wouldn't it be just as easy to have the cache and seqnums combined?
<alyssa> So then valid? is checking if shader_meta != NULL, and invalidate is just `shader_meta[..] = NULL`?
<alyssa> Or 0, I guess.
<bbrezillon> alyssa: cache is per-batch, and iterating over all batches to invalidate is not that great if you have a lot of them sticking around
<bbrezillon> and if you just have a dirty flag at the ctx level, and batch are being swapped, you lose the dirty information as soon as one batch updates its descriptor
<bbrezillon> the advantage of seqnums is that invalidation is just as fast as dirty checks
<bbrezillon> the drawback is the extra u64 per desc type, but given how many fields we already have attached to the batch/context objs, I'm not sure it makes a huge difference
<alyssa> bbrezillon: Ahhhh, I didn't see that one was per-ctx and the per-batch
<alyssa> In an "ideal" world (one where commits were free and instant :p), we'd have a fixed maximum # of batches (32 or 64), and then this would all just become bitmasks on the ctx (in essense, vec64 with 1-bit ints :P)
<alyssa> AFAIU freedreno has a system like that
<alyssa> but this is totally orthogonal from the current work, so given the constraints of iterated improvement, +1 ack on the seqnum approach
<bbrezillon> alyssa: we should probably make sure caching actually helps improving the perf before merging that
<bbrezillon> for shader_meta, I checked that there were cache hits, but I didn't check the hit rate
<alyssa> bbrezillon: ack.
<alyssa> (fwiw, the index cache was getting like 98% hit rate on some workloads)
* alyssa isn't sure how real apps use GL so..
<alyssa> I know in some circles there's a mantra "state changes are slow", so apps bend over backwards to batch things on their end
<alyssa> On modern hw I don't... really think state changes are that much of an issue, certainly not on midgard which is descriptor based anyway. but we can cash in on that caching
<bbrezillon> caches at everylayer
<alyssa> (cache in?)
<bbrezillon> and then we wonder why our apps take so much memory
<bbrezillon> :)
<alyssa> :D
<bbrezillon> alyssa: BTW, how do you test compute changes?
<bbrezillon> (I mean, changes to pan_compute.c)
<bbrezillon> this part of the rework is completly untested :-/
<alyssa> deqp-gles31
<alyssa> with the appropriate MESA_DEBUG=deqp and GLES_VERSION_OVERRIDE=3.1
<alyssa> any test ending matching *compute or compute.* is a good candidate
<alyssa> won't all pass of course but most should, we should probably get CI eventually but we're too far off still
<alyssa> OK -- driver location
<alyssa> Er that's an issue with offline compilation isn't it.
<alyssa> I guess deferring to a bit
<alyssa> okay, have fragment out generating IR
<alyssa> so now passthrough fragment shaders have IR generated. which is... something?
davidlt has joined #panfrost
davidlt_ has joined #panfrost
davidlt has quit [Ping timeout: 240 seconds]
davidlt_ is now known as davidlt
<alyssa> have IR for the five different ld/st ops needed for basic shaders
* alyssa class, but after that - onto ALU!
jolan has quit [Quit: leaving]
jolan has joined #panfrost
aaditya has joined #panfrost
buzzmarshall has joined #panfrost
davidlt has quit [Ping timeout: 256 seconds]
pH5 has quit [Quit: bye]
aaditya has quit [Quit: aaditya]
pH5 has joined #panfrost
<chewitt> HdkR: there is mainline kernel support for VIM3L (G31) and u-boot support is merged/queued for 2020.04
<chewitt> (reading backlog)
yann has quit [Ping timeout: 240 seconds]
nerdboy has joined #panfrost
stikonas has joined #panfrost
gcl_ has quit [Ping timeout: 268 seconds]
gcl has joined #panfrost
<HdkR> chewitt: Neato
anarsoul|c has quit [Quit: Connection closed for inactivity]
maccraft123 has joined #panfrost
<maccraft123> how's performance of panfrost on rk3288?
yann has joined #panfrost
<HdkR> About what you'd expect from an 81GFLOP GPU
<HdkR> Or 68GFLOP depending on how you do the maths
<maccraft123> HdkR: is it comparable to gm45 integrated graphics?
<HdkR> That was old GMA 4500 or something? I don't recall its performance level
<maccraft123> barely runs minecraft on lowest settings
<maccraft123> HdkR: gma4500mhd
tomboy64 has quit [Ping timeout: 240 seconds]
tomboy64 has joined #panfrost
<tlwoerner> alyssa: working on panfrost for T620 (i.e. odroid xu3/4) => we could list that as a potential GSoC project? ;-)
<anarsoul|2> that could be a bit hard for GSoC
<alyssa> tlwoerner: mayhaps, but anarsoul|2 is right
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #panfrost
MastaG has quit [*.net *.split]
krh has quit [*.net *.split]
ente has quit [*.net *.split]
griffinp has quit [*.net *.split]
yawniek has quit [*.net *.split]
MastaG has joined #panfrost
ente has joined #panfrost
griffinp has joined #panfrost
yawniek has joined #panfrost
krh has joined #panfrost
raster has joined #panfrost
icecream95 has joined #panfrost
raster has quit [Read error: Connection reset by peer]
raster has joined #panfrost
QwertyChouskie has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
QwertyChouskie has quit [Ping timeout: 265 seconds]
maccraft123 has quit [Ping timeout: 255 seconds]