alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - https://gitlab.freedesktop.org/panfrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
<HdkR> woo
<alyssa> Weston won't start, emep
stikonas has quit [Remote host closed the connection]
_whitelogger has joined #panfrost
<hanetzer> ouch.
adjtm_ has joined #panfrost
tlwoerner has quit [Excess Flood]
TheKit has quit [Excess Flood]
Kwiboo has quit [Quit: .]
adjtm has quit [Remote host closed the connection]
TheKit has joined #panfrost
tlwoerner has joined #panfrost
stikonas has joined #panfrost
chewitt has joined #panfrost
<chewitt> @alyssa using the feb-22 nondrm branch I get:
<chewitt> src/gallium/drivers/panfrost/meson.build:66:2: ERROR: Non-existent build file 'src/gallium/drivers/panfrost/nondrm/include/meson.build'
chewitt has quit [Quit: Zzz..]
chewitt has joined #panfrost
chewitt has quit [Read error: Connection reset by peer]
raster has joined #panfrost
chewitt has joined #panfrost
chewitt has quit [Quit: Zzz..]
chewitt has joined #panfrost
stikonas has quit [Remote host closed the connection]
raster has quit [Read error: Connection reset by peer]
<HdkR> bwarp
afaerber has joined #panfrost
<hanetzer> prawb
marcodiego has joined #panfrost
chewitt has quit [Read error: Connection reset by peer]
<hanetzer> hmmm.... tracepoint
Kwiboo has joined #panfrost
chewitt has joined #panfrost
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #panfrost
stikonas has joined #panfrost
chewitt has quit [Read error: Connection reset by peer]
<hanetzer> robher:hey, think you could gimme a copy of those logs again?
<HdkR> Lyude: Setting up super basic clause emitting just to get it out of the way so I can do further testing
<HdkR> One fma or one add per bundle/clause thing :P
<Lyude> HdkR: just dummy clauses or?
<HdkR> actual clauses, just not packed so I don't have to deal with scheduling
<HdkR> Super inefficient but eh
<Lyude> it it works!
<Lyude> *if it
<HdkR> That's what I'm hoping for :P
<HdkR> Disassembler is happy at least. Just need to encode the register ports correctly
<Lyude> sorry I haven't had the time to get to ra stuff yet
<Lyude> (will this include ra?)
<HdkR> No problem. It'll be the most basic RA in the world, won't even be using T0/T1
<Lyude> (also brb, rebooting server)
Lyude has quit [Quit: WeeChat 2.2]
Lyude has joined #panfrost
<HdkR> Port encoding working. Now to make some tea and do some dead simple RA
<HdkR> FMA 3 source I skipped since I don't want to deal with one of the sources having to be the destination :P
<HdkR> er, 4 source even
* HdkR watches .NET runtime optimization service steal a few cores
<HdkR> I hate Windows so much
<hanetzer> yep. sucks
<HdkR> Hoping I won't have to deal with it soon
<HdkR> Basic RA shamelessly stolen from the midgard compiler and ...working?
<hanetzer> heh
<hanetzer> so, I'm thinking to do a bit of TRACE_EVENT sprinkling in the panfrost kernel module
<HdkR> What does TRACE_EVENT do? Profiling?
<hanetzer> if you check out the dwc3 kernel driver (which the rk3399 uses) you'll get an idea of it. basically you can do a lot of cool stuff with it, including wrapping readl/writel calls
<hanetzer> those'll show up in a /sys/kernel/debug/tracing path if you flip certain .config and module parameters, plus runtime setting via same sysfs interface
<HdkR> I mean. It's specifically trace instrumentation of kernel functions right? :P
<hanetzer> yeah
<hanetzer> pretty extensible as well, apparently. the dwc3 driver uses it for readl/writel tracing, as well as usb specific stuffs
<hanetzer> eg, urbs, control packets, etc
<HdkR> Always nice to have. can show problem areas when you're spamming functions too heavily
<HdkR> Is it number of times the event is hit or does it also include time within that scope?
<hanetzer> as in, timestamps? it does include those, and other stuff. can do custom printf strings to print exacly what data you want for the most part :)
<HdkR> well, duration
<HdkR> enter at n time stamp, leave at n+m timestamp
<HdkR> I'm used to number of events and duration. Allows you to see the most important bits depending on what you care about at any given time :D
<HdkR> Next step! Trying to get kmscube or es2tri shaders emitting sane code
<HdkR> `error: glsl_type_is_vector_or_scalar(src->type) || (src->mode == nir_var_uniform && glsl_get_base_type(src->type) == GLSL_TYPE_SUBROUTINE) (../src/compiler/nir/nir_validate.c:524)`
<HdkR> hmmm
<HdkR> Looks like an issue of lowering uniform accesses of mat4 type
<hanetzer> this is userland code?
unoccupied is now known as _4of7
<HdkR> Yes, userland. Looking how mat4 is supposed to be lowered
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
<hanetzer> nifty. so yeah, tracepoints look like they could be very useful in debugging and such with regards to the kmod