#asahi-dev · 2022-11-28 15:41
svenas i said, i'd talk to the drm folks and/or alyssa#asahi-dev · 2022-11-28 15:41
ChaosPrincessbut that made kernel folks unhappy#asahi-dev · 2022-11-28 15:41
ChaosPrincessi thought until somewhat recently, the approach for this kind of stuff was to just dump it in char/misc, an do all the fancy stuff in userspace.#asahi-dev · 2022-11-28 15:41
eilnalso some exynos stuff #asahi-dev · 2022-11-28 15:39
eilnit's really just MAC hardware, so whatever it can be hooked to #asahi-dev · 2022-11-28 15:38
eilni didn't see anything upstream, there's ones like https://developer.arm.com/documentation/101888/0500/NPU-software-overview/Linux-driver-stack tho #asahi-dev · 2022-11-28 15:37
ChaosPrincessmaybe look at how the google tpus are hooked up on linux#asahi-dev · 2022-11-28 15:37
svenmight make sense to talk to alyssa or the drm people since it's possibly similar to gpu compute #asahi-dev · 2022-11-28 15:37
ChaosPrincessisnt ane mostly for inference, not training?#asahi-dev · 2022-11-28 15:36
eilni would like advice / guidance on development #asahi-dev · 2022-11-28 15:36
eilnits neither a necessary component nor a standard one so i dont know what a final product would even look like #asahi-dev · 2022-11-28 15:36
eilnfeel pretty lost on what direction to head with the ane #asahi-dev · 2022-11-28 15:35
eilnhey yall#asahi-dev · 2022-11-28 13:17
marcanChaosPrincess: oof, nice catch#asahi-dev · 2022-11-28 13:11
ChaosPrincessmarcan: if you are merging stuff, can you also cherry-pick this one? https://github.com/WhatAmISupposedToPutHere/linux/commit/b22e6b2e2fe834c73feaf334ce7170190dcf1f71 #asahi-dev · 2022-11-28 12:49
_jannau_thanks#asahi-dev · 2022-11-28 12:49
marcancool, I'll merge them both. thanks!#asahi-dev · 2022-11-28 12:49
_jannau_they are independent, the m2 branch has the panel dimensions in the dt which are only used by a commit in the fixes branch but they shouldn't cause problems#asahi-dev · 2022-11-28 12:47
marcan*they#asahi-dev · 2022-11-28 12:46
marcanI mean are the independent branches?#asahi-dev · 2022-11-28 12:46
marcan_jannau_: do I need to merge both for m2?#asahi-dev · 2022-11-28 12:45
marcanI really should start putting stuff in a TODO list, I probably should've sent this last week#asahi-dev · 2022-11-28 12:44
marcanshould be pretty much ready, if I get the acks and Vishar merges the driver per se I can push the DT stuff and send arnd one last pull for it#asahi-dev · 2022-11-28 12:43
marcancpufreq v4 sent, wonder if it'll make it this week#asahi-dev · 2022-11-28 12:43
marcan_jannau_: fun. thanks!#asahi-dev · 2022-11-28 12:42
_jannau_I haven't traced dcpext. this is just dcp with turn the display off after 1 minute but don't sleep#asahi-dev · 2022-11-28 12:40
svendoesn‘t it even keep dcpext alive when nothing’s connected?#asahi-dev · 2022-11-28 12:36
_jannau_macos powers dcp off completely on the imac. I don't remember seeing that on mac mini or mbp 14"#asahi-dev · 2022-11-28 12:35
_jannau_marcan: m2 dcp is in https://github.com/jannau/linux/tree/asahi-6.1-rc5-11-dcp-m2#asahi-dev · 2022-11-28 12:34
sventhat sounds like a fun bug#asahi-dev · 2022-11-28 12:33
_jannau_i.e. it works if the screen is off for at least 3 minutes#asahi-dev · 2022-11-28 12:33
_jannau_marcan: https://github.com/jannau/linux/tree/asahi-6.1-rc6-5_dcp-fixes includes fixes by lina for x11 vsync and m1/m2 brightness after dpms. on the m1 imac the fix is not complete. it restores the brightness ~3 minutes after poweroff#asahi-dev · 2022-11-28 12:21
marcanjannau: do you have M2/misc DCP updates? I should probably spin some new kernels#asahi-dev · 2022-11-28 12:12
marcandoing a test build now :)#asahi-dev · 2022-11-28 12:12
marcankettenis: Already on it#asahi-dev · 2022-11-28 12:01
kettenismarcan: time for another update to the cpufreq patch series?#asahi-dev · 2022-11-28 08:46
svenlooks like it also works with my altmode code which is probably the worst possible situation since you get a few successive role switches without any i2c traffic inbetween #asahi-dev · 2022-11-28 08:45
svenjannau: alright, will send out the fix later today then #asahi-dev · 2022-11-27 22:55
jannaubut I can reply to your mail#asahi-dev · 2022-11-27 22:54
jannaunot really my solution I'll just did a little bit of typing like a monkey#asahi-dev · 2022-11-27 22:48
svenill otherwise do it tomorrow once I’m back home #asahi-dev · 2022-11-27 22:47
svenfeel free to submit your solution instead ;)#asahi-dev · 2022-11-27 22:47
svenI haven’t even written that patch yet :D#asahi-dev · 2022-11-27 22:41
jannausven: copying dwc->dr_desired_role under dwc->lock and using the stack copy inside __dwc3_set_mode prevents the race. feel free to add my Tested-by:#asahi-dev · 2022-11-27 21:48
ChaosPrincessnow to parse yet-another-apple's-hid-wrapper#asahi-dev · 2022-11-27 21:48
poviknice#asahi-dev · 2022-11-27 21:48
ChaosPrincessaye#asahi-dev · 2022-11-27 21:48
povikdid it work?#asahi-dev · 2022-11-27 21:48
povikhaha#asahi-dev · 2022-11-27 21:44
ChaosPrincesspovik: did you know that you are amazing? cause if you didnt - you should know that you are.