<penguin42>
karolherbst: Excellent; I'm going to try and get back to using the profiling I added to see where we're upto on my original test
<karolherbst>
cool
<penguin42>
...after I recurse into getting myself a newer meson
<karolherbst>
just use pip or git clone it
<sima>
MrCooper, yeah I never know what's the right word that means "separate struct file in the kernel" :-/
<sima>
that's why I clarified with open() (but I guess should have mentioned that a dup() is not enough)
<MrCooper>
that's the file description, a file descriptor is essentially just a reference-counting identifier for a file description
benjaminl has joined #dri-devel
Duke`` has joined #dri-devel
<koike>
robclark hi o/ , I would like to check with you if you intent to pick the drm ci patch and do a pull request from drm-msm or if we should go with another workflow to get it merged
benjaminl has quit [Remote host closed the connection]
benjaminl has joined #dri-devel
<doras>
MrCooper: can you clarify the relationship between file descriptor and file description in this context?
<emersion>
file descriptors 42 and 43 can point to the same file description
<MrCooper>
doras: a file descriptor is essentially just a number to identify a file description; open() creates a new file description and returns a descriptor referencing it, dup() and friends create a new descriptor referencing the same description
<doras>
MrCooper, emersion: thanks.
<doras>
I agree that use of dup() or similar on the file descriptor would result in bad things, but I think (or rather hope) that Chromium's use of the handle/fd from GBM doesn't violate this.
<doras>
And as such, the solution implemented in nouveau is appropriate.
<doras>
Please let me know if you think I may be mistaken, I am not experienced in these areas.
<MrCooper>
descriptor/description thing mainly matters for DRM file descriptors (because GEM handles have a per-DRM-file-description namespace), not for dma-buf file descriptors
rasterman has quit [Ping timeout: 480 seconds]
bmodem has quit [Ping timeout: 480 seconds]
benjaminl has quit [Ping timeout: 480 seconds]
rasterman has joined #dri-devel
benjaminl has joined #dri-devel
benjaminl has quit [Read error: Connection timed out]
benjaminl has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
<robclark>
koike: send a MR pls.. that way I can merge it as well to run CI for msm-next
benjaminl has quit [Remote host closed the connection]
benjaminl has joined #dri-devel
junaid has quit [Remote host closed the connection]
yuq825 has quit [Remote host closed the connection]
tristianc has quit [Remote host closed the connection]
benjaminl has quit [Ping timeout: 480 seconds]
<koike>
robclark you mean, MR for gitlab ?
pa has quit [Ping timeout: 480 seconds]
benjaminl has joined #dri-devel
tristianc has joined #dri-devel
camus1 has quit [Remote host closed the connection]
camus has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
bmodem has joined #dri-devel
benjaminl has quit [Remote host closed the connection]
benjaminl has joined #dri-devel
frieder has quit [Ping timeout: 480 seconds]
macromorgan is now known as Guest8874
macromorgan has joined #dri-devel
yyds has joined #dri-devel
Guest8874 has quit [Ping timeout: 480 seconds]
<robclark>
koike: no, sorry, meant pull request
frieder has joined #dri-devel
<robclark>
I assume it should land via drm-misc
frieder has quit [Remote host closed the connection]
anujp has joined #dri-devel
macromorgan has quit [Ping timeout: 480 seconds]
macromorgan has joined #dri-devel
macromorgan is now known as Guest8877
macromorgan has joined #dri-devel
tristan has joined #dri-devel
tristan is now known as Guest8878
Guest8877 has quit [Ping timeout: 480 seconds]
sarahwalker has quit [Remote host closed the connection]
donaldrobson has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Leaving]
Guest8878 has quit [Ping timeout: 480 seconds]
junaid has quit [Remote host closed the connection]
junaid has joined #dri-devel
pa has joined #dri-devel
Duke`` has joined #dri-devel
greenjustin_ has quit [Remote host closed the connection]
greenjustin has joined #dri-devel
pzanoni has joined #dri-devel
Leopold__ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
Ahuj has joined #dri-devel
djbw has quit [Read error: Connection reset by peer]
<karolherbst>
I need that global var relocation stuff :') what a pain
benjamin1 has joined #dri-devel
djbw has joined #dri-devel
macromorgan is now known as Guest8886
benjaminl has quit [Ping timeout: 480 seconds]
alyssa has joined #dri-devel
* alyssa
trying to figure out how to properly express this loop in NIR:
<alyssa>
for (int i = 0; i < 10; ++i) {
<alyssa>
foo(x + i, y + i)
<alyssa>
}
<alyssa>
where x and y are loop-constant but not known at compile-time
<alyssa>
I would like to reexpress as
<alyssa>
int diff = y - x;
<alyssa>
for (int i = x; i < (x + 10); ++i) {
<alyssa>
foo(i, diff + i)
<alyssa>
}
<alyssa>
saving the add inside the loop
<alyssa>
but when I do that, the loop fails to unroll
<karolherbst>
alyssa: did you check where find_trip_count bails on the trip count known thing?
greenjustin_ has joined #dri-devel
<karolherbst>
I suspect you have to improve try_find_limit_of_alu a bit
<alyssa>
I didn't but ended up just special casing constant trip count entirely since I can do fun vector stuff that vectorize_load_store doesn't seem able to handle (?)
<karolherbst>
heh
<karolherbst>
but yeah, it kinda looks like that loop_analyze can't look behind code like that
<karolherbst>
so there might be some optimization opportunities there even
greenjustin is now known as Guest8889
greenjustin_ is now known as greenjustin
Guest8889 has quit [Ping timeout: 480 seconds]
bmodem has quit [Ping timeout: 480 seconds]
ngcortes has joined #dri-devel
heat_ has joined #dri-devel
heat has quit [Read error: Connection reset by peer]
<gfxstrand>
jenatali: You around?
benjaminl has joined #dri-devel
<jenatali>
I'm on parental leave, so, not really. What's up?
<jenatali>
gfxstrand: ?
<gfxstrand>
Oh, there's a DXIL patch in !24668 which, IMO, leaves a bit of a mess but it probably needs someone who knows the DXIL stuff to clean it up.
<gfxstrand>
It's fine as-is, it just leaves you with a couple weirdly similarly named helpers.
<gfxstrand>
It can probably be cleaned up later
<gfxstrand>
jenatali: ^^
<jenatali>
Yeah, feel free to @ me in a comment on it, or file an issue, I can clean it up when I get back since it's not urgent
mvlad has quit [Remote host closed the connection]
ngcortes has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
heat_ has quit [Read error: No route to host]
bgs has quit [Remote host closed the connection]
sima has quit [Read error: No route to host]
heat_ has joined #dri-devel
heat has quit [Read error: No route to host]
iive has joined #dri-devel
sima has joined #dri-devel
<airlied>
konstantin: you got XPass by zink-lvp
<zmike>
I updated and marged again for him
Daanct12 has joined #dri-devel
a-865 has quit [Ping timeout: 480 seconds]
Danct12 has quit [Ping timeout: 480 seconds]
Ahuj has quit [Ping timeout: 480 seconds]
a-865 has joined #dri-devel
nick1343[m] has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
crabbedhaloablut has quit []
junaid has quit [Quit: leaving]
Haaninjo has quit [Quit: Ex-Chat]
effendy[m] has joined #dri-devel
effendy[m] has left #dri-devel [#dri-devel]
greenjustin has quit [Ping timeout: 480 seconds]
kzd has quit [Quit: kzd]
<alyssa>
nir_opt_cse is misbehaving wtf
<alyssa>
how is it CSE'ing from a block that never executes this is not ok
<alyssa>
Ooooooooooh
<alyssa>
ok I deserved that
thellstrom has quit [Ping timeout: 480 seconds]
sima has quit [Ping timeout: 480 seconds]
benjamin1 has joined #dri-devel
pcercuei has quit [Quit: dodo]
benjaminl has quit [Ping timeout: 480 seconds]
<zmike>
ok, let it be said that while all this nir refactoring is cool the pacing of constantly landing MRs which cause every other compiler-related patch to conflict needs more thought
<gfxstrand>
It's not like the branch is 200 patches or anything
Mangix has joined #dri-devel
<alyssa>
>:D
jimc has joined #dri-devel
vliaskov has quit [Remote host closed the connection]
heat_ has quit [Ping timeout: 480 seconds]
<gfxstrand>
zmike: We probably should rename nir_src::ssa to nir_src::def but that's the last one.
<gfxstrand>
Or at least the last one with this level of impact
<gfxstrand>
zmike: The pacing was "try to do it all over the week-end so we conflict with people as little as possible".
<gfxstrand>
Since I don't like working 40h week-ends, it leaked into Monday a bit.
pzanoni has joined #dri-devel
<zmike>
the pacing I'm referring to is how all these were landed with no lead-up, communication, or timetable so people could try to avoid being conflicted or even know when it would happen / how long it would last
<gfxstrand>
Yeah, I thought about sending a mail with like 2 weeks notice and trying to declare a NIR flag week.
<gfxstrand>
But that would have just caused people to freak and try to shove stuff as fast as they could and a half-dozen people would have asked for extensions and....
<zmike>
even sending something last week saying everyone would be conflicted over the weekend would've been something
<gfxstrand>
As for how long it would take: There's no way to know that until you try to do it at which point you've got a commit that touches 300 files that you really don't want to re-do and everything conflicts with it.
<gfxstrand>
Yeah, sending an e-mail might have been good
<jenatali>
Apparently I picked a good time to be on vacation
kzd has joined #dri-devel
emonmeena has joined #dri-devel
<emonmeena>
Hey Amazing Community! 🚀 I'm Emon Meena, proud IIT Roorkee alum and currently making waves as an A.I. engineer at IHC in the dazzling city of Dubai. Remember GSoC'21? Yep, I had the honor of being a fellow developer with Scorelab. Here's the BIG news: Along with a team of brilliant minds as passionate about tech as you are, we're forging a groundbreaking developer platform powered by ChatGPT. 🛠️✨ Curiosity piqued? T
emonmeena has quit []
<gfxstrand>
How many of those minds are just ChatGPT? (-:
<HdkR>
I like that IRC has message size limits so the spam couldn't quite make it through