<alyssa>
marcan: what are the surface IDs in the swap call?
<alyssa>
are those meaningful to the DCP, just debug, just need to be internally consistent, ...?
<marcan>
alyssa: I think they just need to be consistent
<marcan>
there is no alloc call
<marcan>
macos just throws some numbers at DCP as far as I can tell
<alyssa>
Alright
<marcan>
might even be ignored and not matter
<alyssa>
so I can get away with just 0/1 for the two planes or something like that?
<marcan>
feel free to try
<alyssa>
👍
<alyssa>
trying to get rid of the magic numbers in the code and that's an easy one
<alyssa>
the rt bandwidth structure otoh...
<marcan>
I mean I *think* so but I'm not going to go and claim there isn't some deeper significance to using different IDs e.g. for different surface addresses :p
<marcan>
I think macos basically uses them to identify an allocation
<alyssa>
Ack
<marcan>
but it could well not matter at all
<marcan>
so feel free to go with static numbers initially
<marcan>
if things break, that'd be a good thing to try changing
<alyssa>
Yeah, I would totally believe Apple serializing things that are used by macOS but not the DCP just because it's in their IOSurface class..
<marcan>
and yeah that RT stuff is something i need to look at
<marcan>
yeah, there is definitely unused stuff in those calls
<marcan>
alyssa: re syslog, the buffer size is fixed
<marcan>
yes, it gets cut off, and yes, it sucks
ghantaz[m] has joined #asahi-dev
<alyssa>
Groan.
<alyssa>
rt bandwidth is clearly a structure, not a single thing
<marcan>
yes, of course
<marcan>
and it probably has something to do with clocking
<alyssa>
"lClock" eh?
<marcan>
I wouldn't spend too much time on that right now though
phiologe has joined #asahi-dev
<marcan>
that's a whole can of worms we'll be better equipped to open once we understand system clocks better
WhyNotHugo has quit [Read error: Connection reset by peer]
esden has quit [Read error: Connection reset by peer]
<alyssa>
Sure, okay
<marcan>
plus I'd want to gather different samples from the different machines, see if it's always consistent or not
austriancoder has quit [Read error: Connection reset by peer]
arnd has quit [Read error: Connection reset by peer]