#
#asahi-dev · 2024-01-18 11:54
jannegwe have the smc pwren-gpios, not upstream since smc is not upstream. not sure what they actually switch
#asahi-dev · 2024-01-18 11:41
j`eymaz: I was wondering where that stuff happens for us currently
#asahi-dev · 2024-01-18 11:39
mazthe AS bindings predate this work anyway...
#asahi-dev · 2024-01-18 11:38
mazdo we have anything upstream on that front already?
#asahi-dev · 2024-01-18 11:38
mazj`ey: it probably means that if there is a 'standard' to power-on wifi and co, we should probably implement it (or explain why we think they got it wrong).
#asahi-dev · 2024-01-18 11:31
j`eykettenis: do you know how it affects us? is m1n1 doing stuff that we could move to linux/the OS?
#asahi-dev · 2024-01-18 06:57
Lyudei think I have one actually
#asahi-dev · 2024-01-18 06:57
Lyudethere are a few but support for doing that is sparse
#asahi-dev · 2024-01-18 06:50
chadmedand i dont think there are any docks with multiple dp outs these days that dont use it
#asahi-dev · 2024-01-18 06:50
chadmedbut its nice to have when it works
#asahi-dev · 2024-01-18 06:50
Lyudefair
#asahi-dev · 2024-01-18 06:50
chadmedoh well yeah that too :p
#asahi-dev · 2024-01-18 06:50
Lyudei thought you meant no, mst sucks
#asahi-dev · 2024-01-18 06:50
LyudeOH "no mst" sucks
#asahi-dev · 2024-01-18 06:50
Lyudesorry i think I misunderstood what you meant
#asahi-dev · 2024-01-18 06:50
chadmedmy eyes lit up for a moment there :p
#asahi-dev · 2024-01-18 06:50
chadmedah right
#asahi-dev · 2024-01-18 06:50
Lyudeno i meant like in general, not on asahi
#asahi-dev · 2024-01-18 06:49
chadmedeven without hardware/firmware support?
#asahi-dev · 2024-01-18 06:49
Lyudei can get it to work but i'm also that was my job for a while so :p
#asahi-dev · 2024-01-18 06:48
chadmedbut all the tbt docks that arent the lenovo are terrible
#asahi-dev · 2024-01-18 06:48
chadmedLyude: no mst sucks so hard i need to find a new tbt dock
#asahi-dev · 2024-01-18 00:47
Lyude...but i can't really blame apple for that decision I get it lol
#asahi-dev · 2024-01-18 00:47
Lyudealso no mst support hurts a bit
#asahi-dev · 2024-01-18 00:47
LyudeI would love to main apple hardware but I'll probably end up getting a laptop with nvidia hardware so I can dog food nova stuff
#asahi-dev · 2024-01-18 00:46
Lyudejanneg: honestly not a bad choice haha
#asahi-dev · 2024-01-18 00:03
ketteniswe need to pay attention to that thread for powering up wifi and other PCIe devices on apple silicon systems
#asahi-dev · 2024-01-18 00:03
kettenishttps://lore.kernel.org/linux-arm-kernel/tfnmgogvqd6crvsv4gal5tndgcj5ee5il5fpfpipfb3zv2vmyr@c42zfar6nvar/
#asahi-dev · 2024-01-17 23:14
jannegI 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)
#asahi-dev · 2024-01-17 22:42
LyudeI'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?
#asahi-dev · 2024-01-17 20:40
Lyudemakes sense
#asahi-dev · 2024-01-17 20:40
jannegLyude: 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
#asahi-dev · 2024-01-17 20:37
LyudeI 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)
#asahi-dev · 2024-01-17 20:36
j`eyLyude: that should be the case for upstreamed stuff
#asahi-dev · 2024-01-17 20:34
Lyudei'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
#asahi-dev · 2024-01-17 20:33
Lyudejanneg: 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
#asahi-dev · 2024-01-17 20:32
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?)
#asahi-dev · 2024-01-17 20:32
jannegLyude: I think you want 4250f95b214f3d285f8b2b3722cb3d8b46fc14f0 which has now "bindings::drm_gem_object_init(dev.raw_mut(), "
#asahi-dev · 2024-01-17 20:20
LyudeI've looked all over and I can't seem to find any kind of implementation for raw()
#asahi-dev · 2024-01-17 20:19
LyudeAnyone have any idea why that might be?
#asahi-dev · 2024-01-17 20:19
Lyudetheir 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
#asahi-dev · 2024-01-17 20:19
Lyudetotally 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
#asahi-dev · 2024-01-17 16:23
eiln(same as in same api)
#asahi-dev · 2024-01-17 16:22
eilnyeah so it now works the same way as dcp
#asahi-dev · 2024-01-17 16:20
j`eyso really up like the other coprocs
#asahi-dev · 2024-01-17 16:20
j`eyeiln: ah neat :)
#asahi-dev · 2024-01-17 16:19
eilnthis time the syslog endpoints are all initialized too
#asahi-dev · 2024-01-17 16:19
eilnj`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
#asahi-dev · 2024-01-17 16:16
j`eyeiln: what's the difference between what you/povik had before and now? why is it real?
#asahi-dev · 2024-01-17 16:16
eilnsleep time for me.. zz

plus ›