#asahi-dev · 2024-06-03 20:39
Lyudegotcha, I'll see if I can figure out where this got pulled in from then (I have a bunch of patches pulled in from asahi's tree so there's been a bit of confusion)#asahi-dev · 2024-06-03 20:21
LyudeMainly trying to rebase the rvkms (rust virtual KMS driver) work I've been doing against the latest DRM bindings on the mailing list which is why I ask. I would link you to the repository for rvkms but unfortunately freedesktop's gitlab is temporarily in maintanence mode #asahi-dev · 2024-06-03 20:19
Lyudeah-: is this your patch and if so, do you have any idea what the purpose of Device::from_dev_no_reference was supposed to be? (or if there's a newer version of this patch that I should be using instead?) https://paste.centos.org/view/28e3678a . It gets used later in https://paste.centos.org/view/cb410144#asahi-dev · 2024-06-03 20:15
Lyudelooks like it also was actually a patch written by someone else, whoops lol#asahi-dev · 2024-06-03 20:11
Lyudej`ey: I didn't realize there was a matrix channel as well#asahi-dev · 2024-06-03 20:09
LyudeAny chance Lina's been around anywhere? Wondering if she could answer a quick question about of the rust DMA pool patches that she wrote up for asahi#asahi-dev · 2024-02-06 20:22
Lyudebtw - is this the most active dev channel for asahi stuff? I ask because I'm wondering if I can run questions by y'all that I have surrounding Asahi's DRM tree bindings, since I'm currently working on expanding those to include modesetting bindings#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
Lyudefair#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
Lyudeno i meant like in general, not on asahi#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 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-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: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: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: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 · 2023-12-20 21:31
Lyudeattractive to new contributors anyway (and start finally pushing things forward regarding actual rust code in the mainline kernel)#asahi-dev · 2023-12-20 21:31
Lyudewell feel free to let me and folks like airlied/danilo/karolherbst know. We're already planning on doing the main driver in rust, while it'd be nice to be able to keep our display driver we sort of agreed the effort to make bindings between that and the main rust driver would be more effort then we'd like - and plus we'd kind of like everything to be in rust to make it more#asahi-dev · 2023-12-20 21:29
Lyudeat least they're documented bags though!#asahi-dev · 2023-12-20 21:29
Lyudechaos_princess: yeah we just get bags of bytes :(#asahi-dev · 2023-12-20 21:26
Lyudekettenis: good to know :p, we're kind of in a similar situation with nova since we don't really have much of a stable ABI guarantee from nvidia at the moment with GSP#asahi-dev · 2023-12-20 21:23
LyudeHave the ABI differences with apple's firmware caused any problems for the KMS driver seeing as it's written in C?#asahi-dev · 2023-12-20 21:21
LyudeI guess that makes sense lol#asahi-dev · 2023-12-20 21:21
LyudeOh#asahi-dev · 2023-12-20 21:21
Lyudethere's two of them?#asahi-dev · 2023-12-20 21:20
Lyudeyeah I meant KMS :p#asahi-dev · 2023-12-20 21:19
Lyudeoh!!!#asahi-dev · 2023-12-20 21:18
LyudeHi! I'm one of the folks working on nouveau/nova, and I heard that y'all might be thinking of writing a new KMS driver in rust? I was curious whether there had been any progress here or any WIP branches I could look at, since we're hoping to also write a KMS driver in rust (and to help start moving rust in the kernel forward generally)