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
sphalerit has quit [Remote host closed the connection]
EmilKarlson has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
TheCycoTWO has quit [Write error: Connection reset by peer]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<alyssa> Uh oh
jernej has joined #panfrost
megi has quit [Ping timeout: 258 seconds]
sphalerit has joined #panfrost
<daniels> uh oh?
<alyssa> Bunch of clients dc'ing
janrinze has quit [Ping timeout: 264 seconds]
cwabbott has quit [Ping timeout: 245 seconds]
cwabbott has joined #panfrost
EmilKarlson has joined #panfrost
TheCycoTWO has joined #panfrost
thefloweringash has joined #panfrost
cwabbott has quit [Ping timeout: 252 seconds]
cwabbott has joined #panfrost
<daniels> ah, freenode
<daniels> speaking of disconnecting ... o/
<alyssa> \o
janrinze has joined #panfrost
janrinze has quit [Ping timeout: 264 seconds]
janrinze has joined #panfrost
indy has joined #panfrost
davidlt has quit [Ping timeout: 245 seconds]
tgall_foo has quit [Ping timeout: 245 seconds]
yann has quit [Ping timeout: 246 seconds]
davidlt has joined #panfrost
davidlt has quit [Ping timeout: 258 seconds]
guillaume_g has joined #panfrost
raster has joined #panfrost
vstehle has joined #panfrost
pH5 has joined #panfrost
NeuroScr has quit [Quit: NeuroScr]
rtp_ has joined #panfrost
megi has joined #panfrost
warpme_ has joined #panfrost
<warpme_> hi *!
<warpme_> can somebody hint me with issue reported here: https://freenode.irclog.whitequark.org/linux-sunxi/2019-09-03
<HdkR> I think that one may be an SFBD GPU. Which may have issues?
<shadeslayer> alyssa: ack :)
<shadeslayer> alyssa: thanks for all the work on Panfrost over the summer btw :)
<shadeslayer> and I'll cya at XDC!
raster has quit [Remote host closed the connection]
<robmur01> T720 is indeed an older SFBD variant, plus for now it still needs kernel hacks for pagetable weirdness
<robmur01> and even some things that "work" render pretty weirdly (e.g. glmark2 bump)
raster has joined #panfrost
<alyssa> robmur01: Wat? That one doesn't even use FBOs or anything
<robmur01> alyssa: make of BASE_HW_FEATURE_V4 what you will ;)
<alyssa> Fair
<robmur01> let's also say that AIUI the first line of this article can be taken literally: https://community.arm.com/developer/tools-software/graphics/b/blog/posts/arm-mali-t720-overview
<tomeu> guess the upside of it is that we won't be far from 6xx support once we support 720
<tomeu> alyssa: nice to see you around here again :)
<alyssa> tomeu: Hey, creature comforts :P
<alyssa> robmur01: Oh boy
<robmur01> [Quantum Leap theme plays]
afaerber has quit [Quit: Leaving]
davidlt has joined #panfrost
yann has joined #panfrost
davidlt has quit [Ping timeout: 245 seconds]
davidlt has joined #panfrost
davidlt has quit [Ping timeout: 245 seconds]
pH5 has quit [Quit: bye]
davidlt has joined #panfrost
<shadeslayer> what kind of labels do we want to give to BO's? do you reckon they can be as simple as "Created by us" and "Imported"
<shadeslayer> alyssa: tomeu bbrezillon ^^
<alyssa> :shrug:
yann has quit [Ping timeout: 245 seconds]
<bbrezillon> shadeslayer: I don't know, maybe put what the BO are used for
<alyssa> ^^
<bbrezillon> texture, polygon-list, tiler-heap, ...
<alyssa> ^^^^ that
<alyssa> Maybe even add a `const char *label` arg to panfrost_add_bo to force everyone to label right
<alyssa> And then concatenate/deduplicate labels as they're added (be _very_ careful with the choice of data structure/algorihtms for this for perf reasons)
<shadeslayer> that char *label approach is what I've been thinking about
<bbrezillon> shadeslayer: can you ask anholt why he didn't use strings in the first place?
<alyssa> Er actually I guess have enums for fixed labels as powers-of-two so you have a uint32_t label and then stringify it on print time, much cheaper and makes concatenation/dedplucation as easiy as bitwise OR
<bbrezillon> there might be a good reason
<shadeslayer> alyssa: yeah that's kind of where I'm a tiny bit stuck, and how we want to label will determine what we use
<bbrezillon> alyssa: yes, I think that's better
<bbrezillon> shadeslayer: I don't think the kernel needs to know what the labelid means
<shadeslayer> bbrezillon: the way that vc4 does it is that it string'ify's the labelid and prints the debug info to a /sys interface
<bbrezillon> shadeslayer: we probably want to move that to debugfs
<bbrezillon> and how does that work for userspace labels
<bbrezillon> ?
<shadeslayer> bbrezillon: it's really iffy for userspace labels
<shadeslayer> by their own admission vc4 wants to use hash's https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/vc4/vc4_bo.c#L78-L85
<shadeslayer> and they just assume that user labelling is infrequent
<shadeslayer> my plan was to just have the mesa driver pass a string via the args at BO creation time, and then we use that string as a key in a hash table
<shadeslayer> but then ... string hashing penalties and what not
stikonas has joined #panfrost
<alyssa> shadeslayer: The labeling I'm talking about can be all within-mesa
<alyssa> which is good since anything we can keep out of the kernel, we want to
<alyssa> 10 lines of Mesa is better than 2 lines of kernel code, imo
<alyssa> (Don't take that to an extreme, but conceptually)
davidlt has quit [Ping timeout: 245 seconds]
<bbrezillon> alyssa: it really depends what you're interested in, if it's about dumping all BOs allocated by the driver, you can't really do that in mesa
<alyssa> Fair
<bbrezillon> but I agree on that we shouldn't add new ioctls if there's no need for the feature
<alyssa> My intended use case is "we got a fault with this address. what caused it?" and that's an in-mesa problem
<alyssa> currently solved by littering printfs
<bbrezillon> because once it's there it has to stay forever
Elpaulo has quit [Quit: Elpaulo]
<shadeslayer> alyssa: bbrezillon this won't be a IOCTL, I can just pass a string here https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/gallium/drivers/panfrost/pan_drm.c#L108
<bbrezillon> shadeslayer: actually, I'm not opposed to the idea, I'm just saying we should know what we track with this BO labeling infra
<bbrezillon> to decide where this tracking should happen
Lyude has quit [Quit: WeeChat 2.4]
Lyude has joined #panfrost
<shadeslayer> bbrezillon: I concur, which is why this discussion :)
_whitelogger has joined #panfrost
<alyssa> The linked line is an ioctl
jolan has quit [Quit: leaving]
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
yann has joined #panfrost
raster has quit [Remote host closed the connection]
davidlt has joined #panfrost
guillaume_g has quit [Quit: Konversation terminated!]
davidlt has quit [Ping timeout: 245 seconds]
herbmilleriw has quit [Quit: Konversation terminated!]
herbmilleriw has joined #panfrost
warpme_ has quit [Quit: warpme_]
tgall_foo has joined #panfrost
fysa has joined #panfrost
NeuroScr has joined #panfrost
anarsoul has quit [Remote host closed the connection]
anarsoul has joined #panfrost
vstehle has quit [Ping timeout: 244 seconds]
vstehle has joined #panfrost