#
…

2023-04-29

00:01eiln has joined #asahi-dev
00:18brolin has quit [Ping timeout: 480 seconds]
00:47nsklaus has quit [Ping timeout: 480 seconds]
00:54abd has quit [Remote host closed the connection]
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi-dev
02:00gabuscus has quit []
02:14gabuscus has joined #asahi-dev
03:01skipwich has quit [Quit: DISCONNECT]
03:01skipwich has joined #asahi-dev
03:13i509vcb has joined #asahi-dev
04:24chadmedhas anyone apart from myself tested the EAS patches ~recently?
06:09eilnfinally getting to documentation
06:09eilnstarted the HW:ANE page
06:23eiln_ has joined #asahi-dev
06:23eiln has quit [Read error: Connection reset by peer]
06:27dottedmageiln_: BTW, GH wiki is also version-controlled
06:27dottedmagYou can clone it as git repo and push changes back
06:31eiln_dottedmag: I had no idea, ty
06:48dottedmagmarcan: JFYI I'll take XKB change
07:12marcandottedmag: ack, let me know if you need anything! there's a bunch of discussion on the linked fdo bug :)
07:22hightower3 has quit [Ping timeout: 480 seconds]
07:26kettenis has joined #asahi-dev
07:30kettenis_ has joined #asahi-dev
07:34jannaueiln_: do you want me do anything with ane0 / ane2 in macos or start + shutdown enough
07:34jannauane1 / ane3 do not exist
07:35stickytoffee7 has joined #asahi-dev
07:35stickytoffee has quit [Remote host closed the connection]
07:35stickytoffee7 is now known as stickytoffee
07:36eiln_jannau: start/shutdown is enough for now
07:36eiln_jannau: really? it should be in the dt
07:38eiln_nvm it's fine, just need data on ane2 for now
07:39eiln_jannau: received, thank you!
07:41jannauno, they're not in the live ADT as read from the device. We wondered about that during M1 Max bringup and marcan asked on twitter if anyone had M1 Max with ane1 but nobody did
07:42jannaunot sure why but apple seems to have decided not use ane1
07:49eiln_jannau: the nodes are in driver strings & iboot loads the firmware. some last minute mishap ig
07:49eiln_m2 max shoulve had ane1 by trends, but it only has ane0
07:51jannauiirc we tried to power it up and access its mmio space but it was completely fused off
07:51eiln_ane0/ane1 have near identical fw, maybe overheating?
07:52marcaneiln_: I think they decided not to ever enable it for power delivery/product reasons
07:53marcanm2 max does not have ane1 physically, it is not present in the die
07:53marcanso the double ane for max models was a planned feature that got cut and removed from the next iteration
07:54kettenis has quit [Ping timeout: 480 seconds]
07:54marcanI'm sure they had some test hardware somewhere with it enabled, but they never shipped it
07:55marcanane is actually quite power hungry, it's a major component in the CLPC stuff and has its own power rail, so ane1 is probably not even wired to power on any machine
07:58eiln_interestingly t8103 ane & t6000 ane compile the same microseq
07:58eiln_they share a unified -h13 flag
07:59eiln_ane/ane0 fw is rlly similar too, i highly doubt ane0/ane1 had mem sharing features
07:59marcanthe firmwares are all different for stupid reasons
08:00marcane.g. ane0 and ane2 have different firmware even though they are literally the same hardware
08:00marcanthe first difference I see is different MMIO addresses (duh)
08:00eiln_its bc of mmio base address lol
08:00dottedmagmarcan: Yes, I'll talk to daniels
08:00marcanbut actually ane1 and ane2 are almost identical in .text, then .data changes
08:00marcanane0 and ane2 are more different
08:01eiln_ig stacking two ane's didn't go as planned
08:01marcanso that makes me think ane0 may have some other subtle difference (or maybe not and it's just ARM instruction encoding gave a different instruction count when they changed the base addr)
08:01marcanbut since ane1 and ane2 are basically the same, no reason to believe ane1 is different in any way
08:01marcanthey just dropped it
08:04eiln_they can't utilize ane1 to 2x one job bc they have separate L2s. nothing suggests the two can communicate actually. so at most it 2x two jobs simultaenously
08:05jannaupovik: https://tpaste.us/PEQ1 looks good. I discovered I even need it for dcpext. I suppose pci was the only thing without runtime pm when I looked at it. dcp is shielded from the dart_hw_reset since the involved darts are locked. dart-dispext* is not locked and that started to cause problems
08:05marcanit's just a copy paste and they decided it wasn't worth it
08:25billak has joined #asahi-dev
08:29i509vcb has quit [Quit: Connection closed for inactivity]
08:36billak has quit []
08:39djorz has quit [Ping timeout: 480 seconds]
08:45kettenis has joined #asahi-dev
08:53hightower2 has joined #asahi-dev
09:16bps2 has joined #asahi-dev
09:19nsklaus has joined #asahi-dev
09:37cylm_ has joined #asahi-dev
09:59nyilas has joined #asahi-dev
10:00bps2 has quit [Ping timeout: 480 seconds]
10:34kettenis has quit [Ping timeout: 480 seconds]
10:42djorz has joined #asahi-dev
11:41martinr1 has joined #asahi-dev
12:02bps2 has joined #asahi-dev
12:09___nick___ has joined #asahi-dev
12:37bps2 has quit [Ping timeout: 480 seconds]
12:39alyssa has left #asahi-dev [#asahi-dev]
13:21___nick___ has quit []
13:26jannaudcpext on m2 half working. dcpext is happy but the display is not and claims there's no signal
13:26nst has joined #asahi-dev
13:26___nick___ has joined #asahi-dev
13:27jannauI guess an issue in atc-phy putting the dp signals on the wires
13:31jannauFIFO_RD_UNK_EN in the atc-dpxbar has for some reason a different field layout and uses 4 bits instead of 2 per dispext
13:37hightower2 has quit [Ping timeout: 480 seconds]
13:48jannaumight actually be a software issue, there's for some reason no modeset
13:58mamoos1 has joined #asahi-dev
14:01Z750 has quit [Quit: Ping timeout (120 seconds)]
14:03Z750 has joined #asahi-dev
14:05hightower2 has joined #asahi-dev
14:27___nick___ has quit []
14:29___nick___ has joined #asahi-dev
14:29___nick___ has quit []
14:31___nick___ has joined #asahi-dev
15:24nyilas has quit [Ping timeout: 480 seconds]
15:53hightower2 has quit [Ping timeout: 480 seconds]
16:41Guest12394 has quit [Quit: Bridge terminating on SIGTERM]
16:41rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:45Jamie has joined #asahi-dev
16:45rhysmdnz has joined #asahi-dev
16:45Jamie is now known as Guest12533
17:00Mary has quit [Remote host closed the connection]
18:05hightower2 has joined #asahi-dev
18:16bps2 has joined #asahi-dev
18:19jannausigh, entirely an software issue. the iommu grouping doesn't work. the fb mappings are all on disp0-dart and none are on dispext0-dart
18:44bcrumb has joined #asahi-dev
18:47bcrumb has quit []
19:13jannausigh, all the disp* darts on m2 have locked tcr/ttbr out of iboot. the current lcoked dart handling can only deal with a single locked dart in group
19:34nepeat has quit [Quit: ZNC - https://znc.in]
19:37nepeat has joined #asahi-dev
19:42jannaufixed but dcpext still crashes but not anymore due to an axi_rd error
19:48poviki guess the axi_rd error was the dart resetting, right?
19:52jannauno, in this case it was an entirely empty TTBR due to dart-dispext0 being locked
19:54kettenis has joined #asahi-dev
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:14kettenis1 has joined #asahi-dev
20:16kettenis has quit [Ping timeout: 480 seconds]
20:56kettenis1 has quit [Ping timeout: 480 seconds]
20:57eiln_the kext & fw flip flop with the pds for some bizarre reason
20:58eiln_given rPMGR_ANE2_SET4_PS there should be at least 6 pds, but likely 7
20:58eiln_id guess 7 bc t8103 has 7 pds & everything looks the same
20:58eiln_but the kext only turns on 5? is the fw doing the last one/two??
20:58eiln_jannau: do you mind running experiments/ane_t6002_power.py for PD_COUNT 5, 6, or 7
20:58eiln_and attach the mon.poll() results if some PD_COUNT val works
21:50c10l has quit [Ping timeout: 480 seconds]
22:09c10l has joined #asahi-dev
22:31Mary has joined #asahi-dev
22:35bps2 has quit [Ping timeout: 480 seconds]
22:42c10l has quit [Ping timeout: 480 seconds]
22:47jannaufinally a picture with dcpext on the m2 mac mini. I unfortunately can't make any nice pictures since the pcie xhci dies and I have no input devices
22:47linuxgemini1 has quit [Remote host closed the connection]
22:47linuxgemini1 has joined #asahi-dev
23:02c10l has joined #asahi-dev
23:24c10l has quit [Quit: Ping timeout (120 seconds)]
23:25c10l has joined #asahi-dev
23:27linuxgemini18 has joined #asahi-dev
23:29yzbythesea has joined #asahi-dev
23:31linuxgemini1 has quit [Ping timeout: 480 seconds]
23:32yzbythesea_ has joined #asahi-dev
23:32yzbythesea has quit []
23:41yzhou has joined #asahi-dev
23:41yzbythesea_ has quit [Quit: Page closed]
23:49nsklaus has quit [Ping timeout: 480 seconds]
…