ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
buroa7 has joined #asahi-dev
buroa has quit [Ping timeout: 480 seconds]
buroa7 is now known as buroa
elmaciej has quit [Quit: Connection closed for inactivity]
coralreef has quit [Quit: Do not go gentle into that goodnight.]
mojojojo has joined #asahi-dev
mojojojo has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
KxCORP has quit [Quit: Bye!]
KxCORP has joined #asahi-dev
tristan2_ has joined #asahi-dev
tristan2 has quit [Ping timeout: 480 seconds]
pthariensflame has joined #asahi-dev
pthariensflame has quit []
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
mojojojo has joined #asahi-dev
mojojojo has quit [Ping timeout: 480 seconds]
kujeger has quit [Ping timeout: 480 seconds]
kujeger has joined #asahi-dev
h3xeilidh has joined #asahi-dev
h3xeilidh has quit []
eiln has joined #asahi-dev
eiln has quit []
Bertrand___ has quit [Ping timeout: 480 seconds]
Bertrand___ has joined #asahi-dev
cds has joined #asahi-dev
coder_kalyan has joined #asahi-dev
d4ve has joined #asahi-dev
tsujp has joined #asahi-dev
dk_ has joined #asahi-dev
pldtf has joined #asahi-dev
kuruczgy has joined #asahi-dev
signaryk has joined #asahi-dev
akspecs has joined #asahi-dev
probie has joined #asahi-dev
ella-0 has joined #asahi-dev
alethkit has joined #asahi-dev
dubiousness has joined #asahi-dev
amada95 has joined #asahi-dev
rosefromthedead has joined #asahi-dev
tretinha has joined #asahi-dev
okt has joined #asahi-dev
chadmed_ has quit [Ping timeout: 480 seconds]
mojojojo has joined #asahi-dev
kidplayer666 has joined #asahi-dev
andymandias has quit [Ping timeout: 480 seconds]
AnuthaDev has joined #asahi-dev
asp has quit [Ping timeout: 480 seconds]
andymandias has joined #asahi-dev
fossdd has quit [Remote host closed the connection]
mojojojo has quit [Remote host closed the connection]
mojojojo has joined #asahi-dev
mojojojo_ has joined #asahi-dev
AnuthaDev has quit []
mojojojo_ has quit [Remote host closed the connection]
mojojojo_ has joined #asahi-dev
mojojojo_ has quit [Remote host closed the connection]
mojojojo_ has joined #asahi-dev
mojojojo has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-dev
jacksonchen666 has quit []
jacksonchen666 has joined #asahi-dev
andymandias_ has joined #asahi-dev
andymandias has quit [Ping timeout: 480 seconds]
Bai-Chiang has quit [Remote host closed the connection]
TheLink3 is now known as TheLink
jacksonchen666 has quit [Quit: WeeChat 4.1.2]
fossdd has joined #asahi-dev
fossdd has quit [Remote host closed the connection]
fossdd has joined #asahi-dev
ncopa has quit [Quit: Ping timeout (120 seconds)]
ncopa has joined #asahi-dev
john-cabaj has joined #asahi-dev
mojojojo_ has quit []
mojojojo has joined #asahi-dev
roxfan2 has joined #asahi-dev
azsxdcz has joined #asahi-dev
azsxdcz has quit []
roxfan has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
Bertrand___ has quit [Ping timeout: 480 seconds]
Bertrand___ has joined #asahi-dev
Bertrand___ has quit [Ping timeout: 480 seconds]
Bertrand___ has joined #asahi-dev
aut0 has joined #asahi-dev
aut0 has quit []
mojojojo has quit [Remote host closed the connection]
aut0 has joined #asahi-dev
mojojojo has joined #asahi-dev
mojojojo_ has joined #asahi-dev
mojojojo has quit [Read error: Connection reset by peer]
mojojojo has joined #asahi-dev
mojojojo_ has quit [Read error: Connection reset by peer]
mojojojo has quit [Remote host closed the connection]
mojojojo has joined #asahi-dev
eiln has joined #asahi-dev
<eiln>
aop brought up for real
<eiln>
[iorep] report!
<eiln>
> 04:0x80000000000000 (TYPE=0x8)
<eiln>
< 00:0x70000000000020
<eiln>
[mgmt] IOP power state is now 0x20
<eiln>
starting to understand mailbox now
<eiln>
we're not even at the aop part yet (stacktraces say AppleA7IOP). added support for splitting endpoint bitmap init into top/bottom half (LAST=0, BASE=1, MORE=1) to even boot it
<eiln>
sleep time for me.. zz
<j`ey>
eiln: what's the difference between what you/povik had before and now? why is it real?
<eiln>
j`ey: the version 2 days ago hacked around hw registers to boot it ("boot" being CPU state RUN=1, nothing else), which I realized was not right at all
<eiln>
this time the syslog endpoints are all initialized too
<j`ey>
eiln: ah neat :)
<j`ey>
so really up like the other coprocs
<eiln>
yeah so it now works the same way as dcp
<eiln>
(same as in same api)
eiln has quit [Ping timeout: 480 seconds]
eiln has joined #asahi-dev
jlco has quit [Quit: No Ping reply in 180 seconds.]
jlco has joined #asahi-dev
eiln has quit [Ping timeout: 480 seconds]
Bertrand___ has quit [Remote host closed the connection]
Bertrand___ has joined #asahi-dev
AnuthaDev has joined #asahi-dev
roxfan2 is now known as roxfan
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
malfunction54 has quit [Remote host closed the connection]
mojojojo_ has joined #asahi-dev
mojojojo has quit [Read error: Connection reset by peer]
hightower2 has joined #asahi-dev
opticron has quit [Ping timeout: 480 seconds]
<Lyude>
totally understand if this is a bit too far in history for anyone to remember, but I've been trying to go through asahi's commit log history to figure out what I need to pull in to get a skeleton DRM driver started to come up with an API for modesetting drivers in rust - and I'm mainly wondering if anyone might be able to help explain some commits that just don't seem to compile on
<Lyude>
their own? currently looking at 2ade72f135b722691ff4729bdedb9f67e4d2bb49 ("drm/gem-shmem: Export VM ops functions") where going to that commit and trying to build fails with: https://dpaste.org/zix0E
<Lyude>
Anyone have any idea why that might be?
<Lyude>
I've looked all over and I can't seem to find any kind of implementation for raw()
AnuthaDev has quit []
<janneg>
Lyude: I think you want 4250f95b214f3d285f8b2b3722cb3d8b46fc14f0 which has now "bindings::drm_gem_object_init(dev.raw_mut(), "
<Lyude>
(looked a bit closer, I'm now guessing that since the context raw() is called from expects a mut and a later patch ends up changing that to raw_mut() - perhaps raw_mut() was called raw() at some point and just didn't get renamed in that patch?)
<Lyude>
janneg: yeah I noticed that - just wasn't sure where the original raw() came from and whether I was missing a patch down the line :P
<Lyude>
i'm a bit too used to kernel trees where almost every commit compiles, there's a couple of spots in asahi's commit history where that isn't the case
<j`ey>
Lyude: that should be the case for upstreamed stuff
<Lyude>
I figured as much :). currently focusing on downstream since there's a number of things that haven't been upstreamed yet that we need (and hope to help actually get upstream for y'all)
<janneg>
Lyude: I think especially fixes necessary after newly released rust versions are out of order. as for Device.raw/raw_mut I think that was changed based on review comments and either not fixed or in other branches squashed into the commit as fixup
<Lyude>
makes sense
chadmed has joined #asahi-dev
denice68 has joined #asahi-dev
opticron has joined #asahi-dev
denice68 has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 480 seconds]
timokrgr has quit [Quit: User left the chat]
timokrgr has joined #asahi-dev
Skyrix_ has joined #asahi-dev
opticron has quit [Ping timeout: 480 seconds]
opticron has joined #asahi-dev
checkfoc_us has joined #asahi-dev
gladiac is now known as Guest14462
gladiac has joined #asahi-dev
Guest14462 has quit [Ping timeout: 480 seconds]
Skyrix_ has quit [Quit: Leaving]
denice68 has joined #asahi-dev
<Lyude>
I've got a bad question to ask: does anyone here have a setup for cross-compiling asahi's kernel tree on an x86_64 system, such that I can still use rust-analyzer for autocompletion on said x86_64 system? is this maybe not as terrifying to setup as it sounds?
denice68 has quit [Ping timeout: 480 seconds]
<janneg>
I think most of us are now using apple silicon systems for native compilation. I'm not sure if lina has ever gotten rust-analyzer to work in the kernel (or was that something else)