#asahi-dev · 2023-03-28 13:13
marcanbut at least when we control the driver we can actually profile and optimize it without a pile of common code getting in the way#asahi-dev · 2023-03-28 13:12
marcanthere's too much cpu/gpu interaction subtlety right now#asahi-dev · 2023-03-28 13:12
marcanin sync mode it was actually worse, probably because the extra CPU busywork ended up helping with the scheduler or something#asahi-dev · 2023-03-28 13:11
marcanI could barely get a 1% improvement with regular benchmarks, mostly within margin of error#asahi-dev · 2023-03-28 13:11
marcanChaosPrincess: it doesn't :p (not yet at least)#asahi-dev · 2023-03-28 13:08
ChaosPrincessmaybe mention that gpu goes faster with your mailbox#asahi-dev · 2023-03-28 13:08
_jannau_you could compare the size of the object files, not worth to spend much time on though#asahi-dev · 2023-03-28 13:07
marcanI'll send it#asahi-dev · 2023-03-28 13:05
marcaneh, whatever :p#asahi-dev · 2023-03-28 13:03
j`ey_#define SEGMENT_ALIGN SZ_64K#asahi-dev · 2023-03-28 13:01
marcanI think something might be padding to 64K align#asahi-dev · 2023-03-28 13:01
marcannot worth spending more time on#asahi-dev · 2023-03-28 13:01
marcan_jannau_: meh, there's some alignment thing and .text doesn't change size (.data and .rodata do, but not by too much)#asahi-dev · 2023-03-28 12:41
marcanheh, sure#asahi-dev · 2023-03-28 12:40
_jannau_might look more favorable than the source code size reduction#asahi-dev · 2023-03-28 12:40
_jannau_you could add binary size comparisson. mailbox with only apple-mailbox vs. soc/apple-mailbox#asahi-dev · 2023-03-28 12:39
marcandone#asahi-dev · 2023-03-28 12:38
_jannau_marcan: maybe replace "just isn't particularly high quality" with "made design decisions unfit for our use case"#asahi-dev · 2023-03-28 12:21
marcansven, jannau: want to review the wording for the de-mailboxing before I send it? https://mrcn.st/p/ecCKPUy9#asahi-dev · 2023-03-28 11:54
eilnthank you#asahi-dev · 2023-03-28 11:53
ChaosPrincessshould be some m2 ones in there#asahi-dev · 2023-03-28 11:53
ChaosPrincesshttps://www47.zippyshare.com/v/0MzyBguK/file.html - already downloaded and decoded dts that i had laying around#asahi-dev · 2023-03-28 11:53
eilnill add that to the adt wiki#asahi-dev · 2023-03-28 11:51
jannauwithout arguments it will print the files. list files you want to extract as further arguments#asahi-dev · 2023-03-28 11:51
eilnthank you!#asahi-dev · 2023-03-28 11:51
jannaueiln: in the installer source: python src/urlcache.py $IPSW#asahi-dev · 2023-03-28 11:50
ChaosPrincessdownload ipsw and grab from there#asahi-dev · 2023-03-28 11:49
eilnthey're not in preboot and i dont want to install ventura :(#asahi-dev · 2023-03-28 11:49
eilnis there an easy way to get M2 device trees?#asahi-dev · 2023-03-28 11:08
marcanok, applied the pending soc stuff (I think)... now let's see about mailbox.#asahi-dev · 2023-03-28 10:08
marcanmaybe this is a good time to move to fdo...#asahi-dev · 2023-03-28 10:08
marcangithub seems to be hurting...#asahi-dev · 2023-03-28 10:07
marcanseems to work, I'll do a push#asahi-dev · 2023-03-28 10:06
marcansmoke testing on t314 now#asahi-dev · 2023-03-28 10:06
marcanok#asahi-dev · 2023-03-28 10:06
_jannau_I think I have newer 13.2 dcp changes so please don't merge them from that branch#asahi-dev · 2023-03-28 10:03
marcanshould I merge the 13.2 DCP changes?#asahi-dev · 2023-03-28 10:02
marcan_jannau_: didn't run into anything significant for gpu, I just dropped all the upstreamed commits and replaced the arm64 series with what was on the ML + a conflict fix and it worked#asahi-dev · 2023-03-28 09:44
kettenis(the NIC probably always does 64-bit aligned memory access, which is consistent with its mips heritage)#asahi-dev · 2023-03-28 09:43
kettenis8-byte alignment is ok, smaller than that gets you into trouble with the onboard NIC#asahi-dev · 2023-03-28 09:41
svenI think I did a quick hack and the WiFi chip didn’t like just exposing very small (8 bytes or so) regions #asahi-dev · 2023-03-28 09:40
kettenisthere are some gotcha's with exposing really small regions, but 4k regions should be fine#asahi-dev · 2023-03-28 09:39
svenI wanted to do that but never got around because that also requires changes to the iommu api #asahi-dev · 2023-03-28 09:38
marcanI think that isn't hooked up yet#asahi-dev · 2023-03-28 09:37
kettenissven: you don't use the subpage protection to avoid exposing more than 4k?#asahi-dev · 2023-03-28 09:21
_jannau_rebase for gpu is not trivial due to upstreamed rust changes, my first try didn't compile. I haven't tried to clean it up#asahi-dev · 2023-03-28 09:19
_jannau_for dart you have drop the t8112 patches but manual cleanup required after that#asahi-dev · 2023-03-28 09:17
marcangrabs the popcorn#asahi-dev · 2023-03-28 09:17
marcanalso it's probably a good time to send off mailbox after a smoke test here, enough people have tested it in asahi now#asahi-dev · 2023-03-28 09:16
marcanthanks :)