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
<ente> I'm sure all your code is great and reads like a poem
<ente> which is the intent of code
<ente> good night!
<shadeslayer> I'd rather not have my code read like poems, that would open it up to subjective interpretation
<icecream95> shadeslayer: Compilers do that anyway, if you use too many optimisation flags...
<alyssa> shadeslayer: UB
<alyssa> wait icecream95 beat me to it :P
<shadeslayer> hahaha
<shadeslayer> I'm a bit pissy this evening because the BO unmapping code doesn't go through a kernel ioctl, meaning I have to figure out a different way to trigger BO mapping and unmapping ftrace events :C
<alyssa> i write compilers don't look at me :C
stikonas has quit [Remote host closed the connection]
<shadeslayer> yeah, and, the profiling tools from nVidia and Apple make me jealous, Linux can do prettier graphs than Apple!
<icecream95> Tip for saving registers in assembly: You can use pc to store a couple of bits (duplicate your routine as needed)
<HdkR> Alternatively, use the tagged bits that live in the upper bits of the address
<HdkR> Gives you 4,8, or 16 bits depending on hardware configuration :P
NeuroScr has quit [Ping timeout: 260 seconds]
NeuroScr has joined #panfrost
Depau has joined #panfrost
Depau has quit [Quit: ZNC 1.7.5 - https://znc.in]
Depau has joined #panfrost
tomboy64 has quit [Quit: Off to see the wizard.]
tomboy64 has joined #panfrost
rcf has quit [Quit: WeeChat 2.7]
rcf has joined #panfrost
rhyskidd has quit [Remote host closed the connection]
adjtm_ has quit [Remote host closed the connection]
adjtm has joined #panfrost
kaspter has quit [Quit: kaspter]
kaspter has joined #panfrost
adjtm has quit [Quit: Leaving]
adjtm has joined #panfrost
mixfix411 has left #panfrost [#panfrost]
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #panfrost
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 244 seconds]
camus1 is now known as kaspter
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #panfrost
mixfix41 has quit [Read error: Connection reset by peer]
buzzmarshall has quit [Remote host closed the connection]
davidlt has joined #panfrost
vstehle has quit [Ping timeout: 260 seconds]
vstehle has joined #panfrost
cwabbott has quit [Quit: cwabbott]
cwabbott has joined #panfrost
mixfix41 has joined #panfrost
kaspter has quit [Ping timeout: 240 seconds]
camus1 has joined #panfrost
camus1 is now known as kaspter
kinkinkijkin has joined #panfrost
icecream95 has quit [Ping timeout: 264 seconds]
<daniels> shadeslayer: not munmap ... ?
<rellla> alyssa: would sth like this be acceptable for extended lima index cache handling: https://gitlab.freedesktop.org/rellla/mesa/-/commit/9801b4341344386b82483903256c9afccd0e1e40
paulk-leonov has quit [Ping timeout: 272 seconds]
paulk-leonov has joined #panfrost
paulk-leonov has quit [Excess Flood]
paulk-leonov has joined #panfrost
paulk-leonov has quit [Excess Flood]
paulk-leonov has joined #panfrost
cwabbott has quit [Quit: cwabbott]
cwabbott has joined #panfrost
raster has joined #panfrost
cwabbott has quit [Ping timeout: 265 seconds]
cwabbott has joined #panfrost
NeuroScr has quit [Ping timeout: 246 seconds]
NeuroScr has joined #panfrost
indy_ is now known as indy
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
stikonas has joined #panfrost
NeuroScr has quit [Quit: NeuroScr]
MastaG has quit [Quit: The Lounge - https://thelounge.chat]
klaxa has quit [Ping timeout: 256 seconds]
tomboy64 has quit [Ping timeout: 240 seconds]
ente has quit [Ping timeout: 256 seconds]
MastaG has joined #panfrost
tomboy64 has joined #panfrost
cwabbott_ has joined #panfrost
cwabbott has quit [Ping timeout: 260 seconds]
cwabbott_ is now known as cwabbott
mixfix41 has quit [Ping timeout: 244 seconds]
<chewitt> [ 2.368815] panfrost 11800000.gpu: failed to get regulators: -517
<chewitt> [ 2.373514] panfrost 11800000.gpu: regulator init failed -517
<chewitt> ^ spotted on an Odroid XU4
<chewitt> anyone have a clue?
<robmur01> 517 is EPROBE_DEFER
<robmur01> missing regulator driver?
<chewitt> you'd hope that the exynos_defconfig enabled everything :)
<chewitt> time for a diff-ing evening..
<robmur01> yuck, looks like it's an MFD mess, so it might just be a case of getting modules in the right places in the right order
<urjaman> without knowing anything about the XU4 my plan would be 1. find the regulator compatible strings in the device tree, 2. find which drivers provide them (grep for them in source), 3. make sure they're built-in in the config
<urjaman> (if they already are, then something more funky going on ..)
<robmur01> then you have to recurse into all the I2C, GPIO, etc. drivers that the regulator itself depends on ;)
<urjaman> ah true
buzzmarshall has joined #panfrost
<robmur01> sometimes if you're really lucky you can end up with all the drivers loading in an order such that nothing actually kicks the rest of the deferred probe list
<robmur01> then you have to modprobe something random from userspace to un-stick it
adjtm has quit [Remote host closed the connection]
adjtm has joined #panfrost
adjtm has quit [Remote host closed the connection]
adjtm has joined #panfrost
<chewitt> VDD_G3DS is the regulator
<chewitt> which resolves to max77686, which is enabled in defconfig
<chewitt> hmm
<chewitt> break out the funk
<robmur01> does /sys/kernel/debug/devices_deferred show anything besides the GPU waiting?
<chewitt> /bin/sh: /sys/kernel/debug/devices_deferred: Permission denied
<chewitt> odd since I'm root
<robmur01> weird... another thing to try is just giving it a manual kick in case the dependencies did happen to show up in the meantime - something like "echo 11800000.gpu > /sys/bus/platform/drivers/panfrost/bind"
<chewitt> urgh.. I have so much [ 2229.479392] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63) garbage in dmesg it's hard to see anything
<chewitt> need to find a way to disable thaat
<robmur01> hmm, are you on an older kernel version? I have a vague memory of dwmmc being really spammy with clock messages on rockchip boards for a while, but that was probably a year ago
<chewitt> 5.7-rc3
<robmur01> OK, probably not the same thing then
<alyssa> :q
<robmur01> dG:w!q
<robmur01> aww, the universe is all still here :(
paulk-leonov has quit [Excess Flood]
nerdboy has joined #panfrost
nerdboy has quit [Ping timeout: 246 seconds]
ente has joined #panfrost
adjtm_ has joined #panfrost
adjtm has quit [Ping timeout: 265 seconds]
<HdkR> "GPU – Arm “Natt” GPU" Don't mess with me with your naming Rockchip
<alyssa> HdkR: Natt = G31 iiirc?
<HdkR> cnx-soft coverage is a bit weird with it. `Arm “Natt” GPU (i.e. NOT Mali-G31 MP2),`
<alyssa> dv = dvalin, na = natt
<urjaman> so, they've named their gpu "night" ...
<robmur01> urjaman: well, more like https://en.wikipedia.org/wiki/N%C3%B3tt
<robmur01> but yeah, it's not G31 - the internet already knows what G31's codename was ;)
<alyssa> urjaman: Arm rejected my suggestion to name the next Bifrost chip "Princess Luna"
<alyssa> Kidding. Maybe.
<alyssa> (:P)
<urjaman> https://en.wikipedia.org/wiki/M%C3%A1ni maybe this would have more luck
<alyssa> ;D
<alyssa> robmur01: tMAx when?
adjtm_ has quit [Remote host closed the connection]
<robmur01> at the end of time, clearly ;)
adjtm_ has joined #panfrost
<robmur01> assuming we started at tMIn...
<alyssa> Pfff
davidlt has quit [Ping timeout: 246 seconds]
<urjaman> 5.7-rc3 on my C201 (starting Xorg session with firefox and stuff): https://urja.dev/txt/buh.txt
<urjaman> same as rc1 but uuuuuuuuugh do i need to debug this shit myself lol
<alyssa> oof
<alyssa> Just got -bshading:shading=cel working
<robmur01> right now I'd blame all weird misbehaviour on undervolting...
<alyssa> robmur01: Also, panfrost goes haywire on 5.4 waking from suspend
<alyssa> so -bshading now totally works
<robmur01> not sure I even have any boards that can do suspend/resume properly :(
<urjaman> hmm
<urjaman> i think my C201 managed to suspend/resume ok on 5.4 ... atleast sometimes
<alyssa> Also wi-fi usually doesn't come up after resume but that's not our bug :p
<urjaman> (previously the only problems have been the broadcom wifi blergh getting in a jam)
NeuroScr has joined #panfrost
anarsoul has quit [Read error: Connection reset by peer]
anarsoul has joined #panfrost
cwabbott has quit [Quit: cwabbott]
cwabbott has joined #panfrost
cwabbott has quit [Client Quit]
cwabbott has joined #panfrost
<alyssa> https://people.collabora.com/~alyssa/codenames.txt <--- for reference of what we know
<alyssa> Parantheses indicate I haven't seen the number in the wild but interpolated, so pretty confident guesses
hexdump0815 has joined #panfrost
icecream95 has joined #panfrost
<alyssa> hexdump0815: nice catch :)
<HdkR> Probably some G7x part if I would guess what Natt would be
<alyssa> HdkR: Valhall certainly, yeah?
<HdkR> Could be
<alyssa> we're out of Bifrost codenames anyway.. :P
<HdkR> https://www.sztomato.com/products/5G-Network-AIoT-Android-8K-UHD-TV-Box-with-WiFi-6-Router.html#.XqicSXVKjBC I'll try to get my hands on one whenever it becomes available
<alyssa> bwah?
hexdump0815 has quit [Remote host closed the connection]
<Lyude> gondul..
<alyssa> okay so fdot on Midgard reads from top/bottom half depending on top/bottom of writemask
<alyssa> which is reasonable, I guess.
<alyssa> It does not appear that fdot can be vectorized
<alyssa> i.e. if you have two pairs of vectors, you can't dot them simultaneously
stikonas_ has joined #panfrost
stikonas_ has quit [Remote host closed the connection]
stikonas_ has joined #panfrost
stikonas has quit [Read error: Connection reset by peer]
stikonas_ has quit [Ping timeout: 264 seconds]
stikonas_ has joined #panfrost
stikonas_ has quit [Remote host closed the connection]
stikonas_ has joined #panfrost
stikonas_ has quit [Read error: Connection reset by peer]
stikonas_ has joined #panfrost
icecrea105 has joined #panfrost
icecream95 has quit [Ping timeout: 264 seconds]
raster has quit [Quit: Gettin' stinky!]
stikonas_ has quit [Remote host closed the connection]