#asahi-dev · 2023-03-08 08:31
jannaunot entirely sure how the crossbar/switch works though. the dp2hdmi converter has no dpxbar so switching seems to be entirely controlled by dcp*#asahi-dev · 2023-03-08 08:25
jannausee 'dp-switch-ufp-endpoint' in dcp and dcpext in j473's adt#asahi-dev · 2023-03-08 07:02
svenbut it does on M2 so there’s certainly something different #asahi-dev · 2023-03-08 07:01
svenDCP doesn’t go through the crossbar on M1#asahi-dev · 2023-03-08 05:29
amada95Thanks for the info! I'll keep an eye on the wiki for any yaks in need of shaving :)#asahi-dev · 2023-03-08 02:46
marcanbut if we know for a fact M2 is different and not just missing more init code, that might not be useful#asahi-dev · 2023-03-08 02:46
marcanI ask because I *do* know iBoot talks to EPIC endpoints other than the iboot one AFAIK, and we have binaries for iBoot on M1, so I can throw it in ghidra if you think it might be useful.#asahi-dev · 2023-03-08 02:45
marcanjannau: do you think there's a chance the DISP0 routing stuff was always there on M1 too, and it's just that iBoot always initialized it for us since it used to have HDMI out support back in the day?#asahi-dev · 2023-03-08 02:44
marcanamada95: three separate subsystems. speakers are on the way and we don't need any extra hands right now. povik is working on mics, that involves AOP/LEAP. webcam is completely unrelated and involves reverse engineering the ISP firmware command interface first, then implementing all that.#asahi-dev · 2023-03-07 23:53
j`ey_speakers work, but are disabled until they can be used safely#asahi-dev · 2023-03-07 23:52
j`ey_the hard part is figuring out how it works first#asahi-dev · 2023-03-07 23:47
amada95GPIO?#asahi-dev · 2023-03-07 23:47
amada95What subsystem is in charge of webcam, speakers, & mic?#asahi-dev · 2023-03-07 23:46
amada95I did, but I just read https://github.com/AsahiLinux/docs/wiki/HW%3ASMC and it looks like I might've been wrong#asahi-dev · 2023-03-07 23:37
j`ey_I assume you read about smc from https://github.com/AsahiLinux/docs/wiki/Yaks-in-need-of-shaving ?#asahi-dev · 2023-03-07 23:36
j`ey_I don't think any of those things will need SMC stuff#asahi-dev · 2023-03-07 23:34
amada95marcan I didn't see anything in the wiki about where the SMC driver is actually hosted (i.e. what repo), can you point me in the right direction? #asahi-dev · 2023-03-07 23:27
amada95Hey! I'm interested in your project, but a little frustrated by lack of speaker, webcam, and audio support. I know this takes a lot of time and work, so how can I contribute to the SMC drivers to get this working ASAP??#asahi-dev · 2023-03-07 19:38
jannaumkurz: I haven't heard anything recently on avd RE#asahi-dev · 2023-03-07 18:56
mkurzis someone actually working on video decoding?#asahi-dev · 2023-03-07 16:59
ChaosPrincessso, mipi is in fact initialized by iboot, i toggled the reset pin, and it no longer lights up when macos boots#asahi-dev · 2023-03-07 12:27
jannauplus some cosmetic/sorting changes#asahi-dev · 2023-03-07 12:27
jannaubased on the submitted t8112 devicetree. splits not yet supported dt nodes in separate commits, fixes a few errors in the t8112-j473 devicetree and sorts the the nodes in t8112.dtsi#asahi-dev · 2023-03-07 12:25
jannaumarcan: please replace bits/000-devicetree with https://github.com/jannau/linux/tree/bits/000-devicetree#asahi-dev · 2023-03-07 10:14
kettenismarcan: I can probably give that a shot later this week#asahi-dev · 2023-03-07 04:35
marcankettenis_: I remember you offered to write the LKML/etc email about the PSCI mess at one point... I think I'll take you up on that if you're up for it, too much stuff on my plate right now and we really should get that ball rolling#asahi-dev · 2023-03-06 18:18
amarioguywould the asahi arm sysreg docs page work for that or would you need it somewhere a bit more visible?#asahi-dev · 2023-03-06 18:18
amarioguymaz: yes will do#asahi-dev · 2023-03-06 18:12
mazamarioguy: thanks. if you could dump your discovery in some publicly visible page, that'd be great (and saves me discussions with $LEGAL).#asahi-dev · 2023-03-06 18:11
amarioguynot at a mac atm :/#asahi-dev · 2023-03-06 18:11
amarioguymaz: ahh gotcha, i'll verify that stuff tonight then#asahi-dev · 2023-03-06 18:06
mazI was hoping for a bit more than a bit number! ;-) what does it trap? does it allow PMU counting at EL1? how does MDCR_EL2.HPMN affects this?#asahi-dev · 2023-03-06 18:03
amarioguyHACR_EL2, bit 56#asahi-dev · 2023-03-06 18:01
mazamarioguy: nice hack, but if we're going to support this upstream, it will have to be robust and provide something that is compatible with the architecture. do you have a pointer to this funky register that makes the PMU registers trap?#asahi-dev · 2023-03-06 17:56
amarioguybut generally the same deal - we return stuff from cycle counter (PMC0), and i'm not sure if windows needs more than the cycle counter#asahi-dev · 2023-03-06 17:56
amarioguywhat imbushuo did was similar but i think he returned some derived data, i'll have to ask him in a sec to see what specifically he returned#asahi-dev · 2023-03-06 17:55
amarioguymaz: in my case specifically (bare metal or as close to it as possible) i just return the data from Apple's proprietary PMCs #asahi-dev · 2023-03-06 17:40
mazbut then what do you return from EL2?#asahi-dev · 2023-03-06 17:39
amarioguyyep#asahi-dev · 2023-03-06 17:38
mazah, so that the PMUv3 sysregs don't undef at EL1?#asahi-dev · 2023-03-06 17:38
amarioguy(gonna be a small PR too, to add it to m1n1's apple regs json)#asahi-dev · 2023-03-06 17:38
amarioguyi'm updating asahi docs to document that hacr bit#asahi-dev · 2023-03-06 17:38
j`ey_yup#asahi-dev · 2023-03-06 17:38
amarioguyj`ey_, maz: i was involved in making that work to some degree, yes emulated pmuv3#asahi-dev · 2023-03-06 17:37
jannauiirc just an emulated PMUv3#asahi-dev · 2023-03-06 17:36
mazinteresting. I wonder what they hacked in the kernel to make that work.#asahi-dev · 2023-03-06 17:36
j`ey_but I thought there was that issue with windows doing an SMC early on, so maybe that's not the case anymore#asahi-dev · 2023-03-06 17:36
j`ey_it's windows running on m2 w/ kvm#asahi-dev · 2023-03-06 17:36
TellowKrinkleTwitter's just broken right now#asahi-dev · 2023-03-06 17:35
maz(I don't do twitter... or anything else...)