#
✕ nick:alyssa
#asahi-re · 2021-08-23 22:36
alyssaHow enlightening :-p
#asahi-re · 2021-08-23 22:34
alyssaI guess power management related
#asahi-re · 2021-08-23 22:34
alyssa compatible = [nco,t8101, nco,s5l8960x]
#asahi-re · 2021-08-23 22:34
alyssaI meant in the adt :-p
#asahi-re · 2021-08-23 22:33
alyssaalso, any idea what NCO is?
#asahi-re · 2021-08-23 22:33
alyssaDAPF?
#asahi-re · 2021-08-23 22:32
alyssaer?
#asahi-re · 2021-08-23 22:31
alyssaooh
#asahi-re · 2021-08-23 22:30
alyssasven: speaking of aes, I wonder how much prior art there are for things like aes and jpeg which have s5l-era compatibles in the ADT
#asahi-re · 2021-08-23 21:36
alyssawell, a DMA controller
#asahi-re · 2021-08-23 21:35
alyssaj_ey: It might just be the DMA controller...?
#asahi-re · 2021-08-23 21:31
alyssai'll leave that one up to your imagination
#asahi-re · 2021-08-23 21:29
alyssaI just like expanding acronyms
#asahi-re · 2021-08-23 21:29
alyssaDunno
#asahi-re · 2021-08-23 21:29
alyssaYes.
#asahi-re · 2021-08-23 21:28
alyssaj_ey: the "S" in "SIO" is for "Smart"
#asahi-re · 2021-08-21 15:02
alyssamarcan: Woof
#asahi-re · 2021-08-21 14:30
alyssa(for 16k pages. certainly there's a point for 2MB pages ha)
#asahi-re · 2021-08-21 14:30
alyssa not much point for graphics ...
#asahi-re · 2021-08-21 14:29
alyssasven: I mean correct me if I'm wrong but DART is made to be simple
#asahi-re · 2021-08-21 14:22
alyssae.g. mcdp29xx which apparently is the DP->HDMI chip
#asahi-re · 2021-08-21 14:22
alyssamarcan: Do we know what's happening on all the other DCP endpoints?
#asahi-re · 2021-08-21 14:22
alyssaI mean, I imagine the capabilities of GART are a strict superset of DART?
#asahi-re · 2021-08-21 14:21
alyssasven: understood, I guess I suspected as much
#asahi-re · 2021-08-21 13:17
alyssasven: Ohv boy.
#asahi-re · 2021-08-21 03:50
alyssaPresumably the GART format takes good advantage of that.
#asahi-re · 2021-08-21 03:49
alyssa16k pages and aligned pointers means 14 bits are free at the bottom of pointers.
#asahi-re · 2021-08-21 03:49
alyssayo, I heard you like IOMMU
#asahi-re · 2021-08-21 03:24
alyssanot sure it warrants yet another IOMMU but here we are
#asahi-re · 2021-08-21 03:23
alyssaPresumably the complexity is for supporting process isolation, hardware backed DRM, etc.
#asahi-re · 2021-08-21 03:22
alyssaGART comes in ordinary, "legacy" and "secure" flavour
#asahi-re · 2021-08-21 03:19
alyssa16k pages -- unsurprising.
#asahi-re · 2021-08-21 03:18
alyssathree layers of translation tables-- as I understand this is much more complex than DART, which makes sense as the memory requirements of a CPU/GPU are far more complicated than an ordinary peripheral
#asahi-re · 2021-08-21 03:17
alyssa(like the Arm CPU MMU)
#asahi-re · 2021-08-21 03:17
alyssathe good news is that GART seems to be organized like a normal MMU
#asahi-re · 2021-08-21 03:16
alyssaand here's the kicker-- IOP is all based on shared memory. No DART, no clue where it is.
#asahi-re · 2021-08-21 03:15
alyssathe GPU registers themselves though (`sgx`) are novel, as is the GART mapper
#asahi-re · 2021-08-21 03:15
alyssathe IOP interface (`gfx-asc`) is totally standard, m1n1's existing infrastructure handles it fine
#asahi-re · 2021-08-21 03:14
alyssaI suspect somebody will want to pop those kexts into ghidra before trying to make sense of the i/o traces
#asahi-re · 2021-08-21 02:40
alyssapatches m1n1
#asahi-re · 2021-08-21 02:37
alyssa uhoh
#asahi-re · 2021-08-21 02:37
alyssaTypeError: unsupported format string passed to NoneType.__format__
#asahi-re · 2021-08-21 02:36
alyssapossibly reading config registers? it reads twce and values are consistent
#asahi-re · 2021-08-21 02:35
alyssaright after adding endpoints, but before starting the syslog
#asahi-re · 2021-08-21 02:35
alyssaso, on boot I see macOS reading from a bunch of GPU (`sgx`) registers
#asahi-re · 2021-08-21 02:34
alyssaI guess that's what AGXArmFirmwareMapper is for.
#asahi-re · 2021-08-21 02:19
alyssaindeed the GPU doesn't use a DART, it uses a GART. whatever the heck that is.
#asahi-re · 2021-08-21 02:19
alyssathe gpu is special, no registers specified on its mapper.
#asahi-re · 2021-08-21 02:19
alyssaAll the dart mappers have `reg` blocks for the dart.
#asahi-re · 2021-08-21 02:19
alyssaI'm staring at the device tree and trying to make sense of how GPU memory works

plus ›