ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
rasterman has joined #dri-devel
iive has quit [Quit: They came for me...]
kzd has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
pcercuei has quit [Quit: dodo]
sima has quit [Ping timeout: 480 seconds]
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
haaninjo has quit [Quit: Ex-Chat]
kode54 has joined #dri-devel
cmichael has joined #dri-devel
cmichael has quit []
alanc has quit [Remote host closed the connection]
alane has quit []
alane has joined #dri-devel
alanc has joined #dri-devel
The_Company has joined #dri-devel
Company has quit [Ping timeout: 480 seconds]
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
feaneron has quit [Quit: feaneron]
davispuh has quit [Ping timeout: 480 seconds]
heat has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
The_Company has quit []
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
chewitt has joined #dri-devel
glennk has joined #dri-devel
Calandracas_ has joined #dri-devel
Calandracas has quit [Ping timeout: 480 seconds]
jernej- is now known as jernej
Duke`` has joined #dri-devel
cef has quit [Ping timeout: 480 seconds]
cef has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
siak has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
bolson has quit [Ping timeout: 480 seconds]
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #dri-devel
coldfeet has joined #dri-devel
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #dri-devel
warpme has joined #dri-devel
mriesch_ has joined #dri-devel
mriesch has quit [Ping timeout: 480 seconds]
rasterman has joined #dri-devel
mriesch_ has quit []
mriesch has joined #dri-devel
amarsh04 has quit []
amarsh04 has joined #dri-devel
fomys has joined #dri-devel
kts has joined #dri-devel
NiGaR has quit [Ping timeout: 480 seconds]
NiGaR has joined #dri-devel
haaninjo has joined #dri-devel
sima has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
apinheiro has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
pcercuei has joined #dri-devel
kts has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Company has joined #dri-devel
KAL9000 has quit [Quit: KAL9000]
KAL9000 has joined #dri-devel
warpme has quit []
kts has joined #dri-devel
chewitt has quit [Quit: Zzz..]
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
chewitt has joined #dri-devel
warpme has joined #dri-devel
warpme has quit []
robertfoss has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
krei-se has joined #dri-devel
nerdopolis has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
heat has joined #dri-devel
heat is now known as Guest9304
heat has joined #dri-devel
Guest9304 has quit [Read error: Connection reset by peer]
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
warpme has joined #dri-devel
NiGaR has quit [Ping timeout: 480 seconds]
NiGaR has joined #dri-devel
davispuh has joined #dri-devel
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
fab has joined #dri-devel
epoch101 has joined #dri-devel
coldfeet has quit [Quit: Lost terminal]
rasterman has joined #dri-devel
coldfeet has joined #dri-devel
siak has quit []
chewitt has quit [Remote host closed the connection]
chewitt has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
fab has quit [Remote host closed the connection]
fab has joined #dri-devel
fab is now known as Guest9310
haver_ has quit [Ping timeout: 480 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
epoch101 has joined #dri-devel
amarsh04 has quit []
u-amarsh04 has joined #dri-devel
edolnx_ has joined #dri-devel
edolnx has quit [Ping timeout: 480 seconds]
warpme has quit []
warpme has joined #dri-devel
warpme has quit []
nerdopolis has quit [Read error: Connection reset by peer]
nerdopolis has joined #dri-devel
frontin has joined #dri-devel
zsoltiv_ has joined #dri-devel
Whimsy has joined #dri-devel
Whimsy has quit [Remote host closed the connection]
Whimsy has joined #dri-devel
Hazematman has quit [Quit: WeeChat 4.5.1]
Guest9310 has quit [Remote host closed the connection]
Hazematman has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
fab has joined #dri-devel
dsimic is now known as Guest9317
chewitt has quit [Read error: Connection reset by peer]
dsimic has joined #dri-devel
Guest9317 has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: Lost terminal]
fab has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
fab has quit [Ping timeout: 480 seconds]
iive has joined #dri-devel
warpme has joined #dri-devel
warpme has quit []
agd5f_ has joined #dri-devel
agd5f has quit [Ping timeout: 480 seconds]
agd5f_ has quit [Read error: Connection reset by peer]
agd5f has joined #dri-devel
jsa1 has joined #dri-devel
heat is now known as Guest9324
kzd has joined #dri-devel
heat has joined #dri-devel
Guest9324 has quit [Read error: Connection reset by peer]
knurd_ has quit [Quit: CU]
knurd has joined #dri-devel
NiGaR has quit [Ping timeout: 480 seconds]
NiGaR has joined #dri-devel
zso has joined #dri-devel
knurd has quit []
knurd has joined #dri-devel
frontin has quit [Ping timeout: 480 seconds]
knurd has quit [Quit: CU]
knurd has joined #dri-devel
knurd has quit [Quit: CU]
Whimsy has quit [Remote host closed the connection]
knurd has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
knurd has quit [Quit: CU]
bolson has joined #dri-devel
sima has quit [Ping timeout: 480 seconds]
knurd has joined #dri-devel
knurd has quit []
knurd has joined #dri-devel
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
knurd has quit [Quit: CU]
jsa1 has quit [Ping timeout: 480 seconds]
fomys has quit []
pcercuei has quit [Read error: Connection reset by peer]
haaninjo has quit [Quit: Ex-Chat]
agd5f_ has joined #dri-devel
agd5f has quit [Ping timeout: 480 seconds]
agd5f_ has quit [Read error: Connection reset by peer]
agd5f has joined #dri-devel
knurd has joined #dri-devel
CME has quit [Ping timeout: 480 seconds]
knurd has quit [Quit: CU]
apinheiro has quit [Quit: Leaving]
knurd has joined #dri-devel
rasterman has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
knurd has quit [Quit: CU]
alyssa has joined #dri-devel
<alyssa> how strongly do people feel in favour of extension structs for new drm uapi's?
<alyssa> I know it's modelled after vulkan but also, this is my #1 complaint about vulkan's api at this point :melt:
<alyssa> zero-extending seems simpler for both mesa & kernel, not sure why we need to do this dance
<airlied> yeah I'm not a huge fan of them, always feel a bit over engineered, then underused
<alyssa> airlied: is that a +1 from you for me ripping them out of the asahi uapi?
<alyssa> (I do not want to do the work to remove them only to be told to add them back during review, lol)
<airlied> are they providing value or just look nice, like we have some targetted ones that worked out, like amdgpu chunks
<alyssa> so far they're not but, no crystal ball
<airlied> xe does have them, maybe the intel folks could comment on if they've been useful
<airlied> to me it always seems like adding a multiplexer to a multiplexer
<alyssa> yeah
knurd has joined #dri-devel
<alyssa> with vk the one thing it can help with is having multiple unrelated different-vendor exts going in parallel
<alyssa> I don't see that applying here
<alyssa> except possibly if we want to like, skip unused old hardware parameters on new hw? but not sure that's worth it and would require some serious crystal ball to design properly
<pinchartl> alyssa: looking at the last 20 years of V4L2 development, my best recommendation today for ioctl extension is to not over-engineer it. matching on the ioctl number without taking the size into account allows extending structs, and the kernel can easily figure out which version of the struct is used based on the size
<alyssa> pinchartl: so that's another +1 for just "extend structs with zero-state-as-old-behaviour and use size"?
<alyssa> (my personal preference. I just know that extension structs are trendy in DRM because of Vulkan)
<pinchartl> yes, as a base rule. exceptions can be considered as needed
<airlied> thellstrom, rodrigovivi : maybe you have any idea if they've been used in xe yet?
<airlied> I think exec is often the one that needs something
<alyssa> yeah exec is a mess on apple
<alyssa> but honestly, I suspect exec needs to just be fully per-gen on apple uapi, or eat overhead from having unused fields
<alyssa> (I expect big changes in m3)
knurd has quit []
<pinchartl> in V4L2 we queue ISP parameters (the closest there would be to a command buffer, but it's really parameters, not commands) through a standard ioctl. the format of the buffer is driver-specific, and some drivers use an extensible format, storing data as a list of blocks, each block starting with a common header containing a type and size
<pinchartl> (just food for thought, I'm not sure that would be useful in DRM)
knurd has joined #dri-devel
<alyssa> hmm interesting
<airlied> yeah that is kinda like amd chunks I suppose
<alyssa> the problem on AGX is that we have a pile of state that we need to pass to the fw
<alyssa> what I'd *like* is to just have an opaque blob in the uapi and do it all in Mesa
<airlied> we have a chunk id, length and data_ptr, and the kernel just adds new chuns
<alyssa> but the fw<-->kernel interface is unstable and the kernel is the responsible party for abstracting over that, so the uapi has to enumerate every register explicitly so the kernel can shuffle stuff into place on submit
<airlied> which has allowed exec to add sync stuff over the years without changing the fundamentals
<airlied> alyssa: the kernel could provide userspace a translation table
<airlied> but it would still need to deal with it I suppose for new things
<alyssa> (we also don't know what unknown registers do, and it's not clear that giving userspace access to registers we don't know about is a good idea. and if the kernel needs to parse/sanitize stuff, we lose a lot of the efficiency gains)
<pinchartl> alyssa: for ISPs we're repeatedly told that giving access to undocumented bits is totally fine, really, I swear, no problem can happen ever
<airlied> I'd hope with apple they at least have vm protection, so it'll just crash the context, reset the GPU and won't damage other apps.
<airlied> at some point you have to trust that, esp if the expose it on osx to userspace drivers
<alyssa> airlied: I don't think apple does expose it to macOS userspace..
<alyssa> although I don't recall the details
<alyssa> pinchartl: (((:
<airlied> like does metal record command buffers and those are handed directly to the fw I suppose is what I'd be asking
<alyssa> I don't think it does but it's been a while
<alyssa> iirc there's a synthetic kernel-parsed command buffer