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
raster has quit [Quit: Gettin' stinky!]
<icecream95> STK now crashes with `bi_register_allocate: Assertion `success' failed.`
<alyssa> uh oh
stikonas has quit [Ping timeout: 264 seconds]
atler is now known as Guest39931
atler has joined #panfrost
Guest39931 has quit [Ping timeout: 264 seconds]
vstehle has quit [Ping timeout: 272 seconds]
wwilly_ has joined #panfrost
wwilly has quit [Ping timeout: 256 seconds]
<icecream95> alyssa: I suspect the problem is related to ~~DNS~~ texture instructions as usual
<alyssa> :|
davidlt has joined #panfrost
afaerber has quit [*.net *.split]
xdarklight has quit [*.net *.split]
jernej has quit [*.net *.split]
leper` has quit [*.net *.split]
leper` has joined #panfrost
afaerber has joined #panfrost
jernej has joined #panfrost
xdarklight has joined #panfrost
Ke has quit [Ping timeout: 260 seconds]
clementp[m] has quit [Ping timeout: 260 seconds]
wiizzard has quit [Ping timeout: 260 seconds]
l-as has quit [Ping timeout: 260 seconds]
icecream95 has quit [Ping timeout: 240 seconds]
Ke has joined #panfrost
l-as has joined #panfrost
wiizzard has joined #panfrost
clementp[m] has joined #panfrost
icecream95 has joined #panfrost
vstehle has joined #panfrost
archetech has quit [Quit: Konversation terminated!]
Lyude has quit [Ping timeout: 276 seconds]
Lyude has joined #panfrost
davidlt has quit [Ping timeout: 240 seconds]
jschwart has quit [Ping timeout: 260 seconds]
Elpaulo has quit [Read error: Connection reset by peer]
felipealmeida has quit [Ping timeout: 256 seconds]
Elpaulo has joined #panfrost
felipealmeida has joined #panfrost
jschwart has joined #panfrost
raster has joined #panfrost
<icecream95> I wonder if this might just be a bug with spilling
cphealy has quit [Ping timeout: 264 seconds]
<icecream95> STK doesn't work with BIFROST_MESA_DEBUG=nosched as cubeface lowering isn't done. If I move the lowering up in bi_take_instr, it then crashes on assert(!now->regs.slot23.slot2)
<macc24> hold up, BIFROST_MESA_DEBUG?
wwilly_ is now known as wwilly
karolherbst has joined #panfrost
<icecream95> alyssa: I think "if (l->alignment[i] == 0) continue;" should be added to the loop in lcra_get_best_spill_node, so that RA fails instead of trying to spill nodes that don't exist
karolherbst has quit [Ping timeout: 265 seconds]
BenG83 has joined #panfrost
warpme_ has joined #panfrost
uis has quit [Ping timeout: 256 seconds]
felipealmeida has quit [Ping timeout: 246 seconds]
felipealmeida has joined #panfrost
davidlt has joined #panfrost
alpernebbi has joined #panfrost
stikonas has joined #panfrost
karolherbst has joined #panfrost
alpernebbi has quit [Ping timeout: 240 seconds]
felipealmeida has quit [Ping timeout: 256 seconds]
felipealmeida has joined #panfrost
karolherbst has quit [Ping timeout: 246 seconds]
alpernebbi has joined #panfrost
wwilly has quit [Ping timeout: 272 seconds]
<alyssa> icecream95: Oh, I didn't consider the interaction of nosched with cubefaces.
<alyssa> The slot23.slot2 thing is a legitimate bug which I found and fixed last night, MR incoming.
tomboy64 has joined #panfrost
felipealmeida has quit [Ping timeout: 256 seconds]
felipealmeida has joined #panfrost
<alyssa> bbrezillon: fwiw, Midgard architecturally can't support anything higher than Vulkan 1.0 since there's no way to do subgroups
<alyssa> [Bifrost comes with BRANCHC, lane ID in FAU, and CLPER, which together form the needed building blocks to do subgroups.]
<amonakov> alyssa: please elaborate, I thought all subgroup primitives are optional?
<bbrezillon> alyssa: noted
<alyssa> amonakov: if so, disregard my comment
<alyssa> well. everything about the hw is true. midgard can't do it, bifrost can.
<alyssa> also, some of the fancier stuff *might* need v7 at that (all the extra CLPER flags)
<amonakov> re-reading the spec, it appears "basic" subgroup ops are mandatory to implement, rest are optional
<alyssa> amonakov: Ack. Midgard doesn't even have a way to do basic ones...
<alyssa> Derivative support is a giant hack :p
<alyssa> [There's support derivative support in the texture pipe for LOD computation, so they bolted on dFdx/dFdy instructions to the texture pipe.]
<alyssa> Aside: it occurs to me subgroup ops could be super useful for computer vision stuff
<amonakov> on Midgard, does Mesa map 4 SPIR-V execution contexts to 1 VLIW hw context, or?..
<alyssa> ?
tomboy64 has quit [Remote host closed the connection]
<amonakov> your "?" confused me
<amonakov> anyway, maybe a silly question (I think the answer is "it does not")
tomboy64 has joined #panfrost
<amonakov> by any chance, is there any discussion of Bifrost cache hierarchy and access speed out there? I think I know what to expect, but I'd happy to be surprised
tomboy64 has quit [Ping timeout: 268 seconds]
nlhowell has quit [Ping timeout: 264 seconds]
tomboy64 has joined #panfrost
felipealmeida has quit [Ping timeout: 264 seconds]
felipealmeida has joined #panfrost
<alyssa> I don't think that's documented but I'd also be happy to be surprised
* alyssa tries to implement copyprop
<alyssa> cause I don't think I can do real work rn :p
nlhowell has joined #panfrost
<alyssa> also, need to really figure out which is worse between copyprop supporting partial writes, or going back to pseudoinstruction COMBINE lowerings..
_whitelogger has joined #panfrost
<alyssa> ok, have a UBO pushing implementation for Bifrost too
<alyssa> let's see what deqp thinks
BenG83 has quit [Quit: Leaving]
cphealy has joined #panfrost
* alyssa bug hunts
<alyssa> note to self: need a pseudo-instruction for handling fabs/fneg optimally (*FADD x, #0 vs +FMAX x, x both work for 32-bit)
<alyssa> 16-bit has less luck
<alyssa> for clamp at least
alpernebbi has quit [Quit: alpernebbi]
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
<cwabbott> alyssa: don't forget it has to be FADD x, -0 to get the sign of 0 correct :)
<alyssa> cwabbott: thank you for your patch ;P
<cwabbott> don't worry, you'll have to write it once you support vulkan and VK_KHR_shader_float_controls
<alyssa> cwabbott: Oh, alright, we're not supporting Vulkan though right?
* alyssa glares at bbrezillon ;p
<amonakov> so many control bits, but a bit to request correctly-rounded FMA ain't one of them (matters on amdgpu)
<alyssa> rip
davidlt has quit [Ping timeout: 240 seconds]
<icecream95> Now STK (with nosched) hits an infinite loop while scheduling
<alyssa> Uhh
archetech has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
raster has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
raster has joined #panfrost
raster has quit [Client Quit]
raster has joined #panfrost
remexre has quit [Read error: Connection reset by peer]
remexre has joined #panfrost
archetech has quit [Remote host closed the connection]
raster has quit [Quit: Gettin' stinky!]