#
#asahi-re · 2021-08-21 14:27
svenor maybe it's an entirely different thing
#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:43
sveni.e. that whole node in the ADT is essentially an Apple hack :D
#asahi-re · 2021-08-21 13:42
sveni think they built it because they also need the normal RTKit shared memory buffers to go through GART
#asahi-re · 2021-08-21 13:41
svenalyssa: so that AGXArmFirmwareMapper is just a small wrapper around the actual IOMMU
#asahi-re · 2021-08-21 13:17
alyssasven: Ohv boy.
#asahi-re · 2021-08-21 06:07
svenbecause that iommu framework only supports a single iommu type per bus and i'm not keen on changing that
#asahi-re · 2021-08-21 06:06
sveni *really* hope you can implement that iommu inside the gfx driver and not inside the iommu framework
#asahi-re · 2021-08-21 06:06
svenand huh... mapper-gfx-asc is strange
#asahi-re · 2021-08-21 06:05
svenAGXArmFirmwareMapper sounds like it just maps the firmware though
#asahi-re · 2021-08-21 06:05
svenfwiw, DART is technically three levels as well (first one in MMIO and then two levels of pagestables)
#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:48
Graypup_apple soc designers: "oops! all 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
#asahi-re · 2021-08-21 02:12
alyssaGART...
#asahi-re · 2021-08-12 15:51
JTLarchive.org just has an auto converted version that (last time I checked) had formatting issues
#asahi-re · 2021-08-12 15:50
msmith12[m]or archive.org?
#asahi-re · 2021-08-12 15:50
msmith12[m]Maybe libgen?
#asahi-re · 2021-08-12 15:50
JTL(I know there was a PDF release, but converting those is a pain becuase of headers and other formatting issues)
#asahi-re · 2021-08-12 15:49
JTLAnyone have an epub/mobi of that book?
#asahi-re · 2021-08-12 15:49
JTL> 15:06 <msmith12[m]> (By the way, "hacking the xbox" is a good book).
#asahi-re · 2021-08-12 15:06
msmith12[m]Along with byuu's writings (i miss him so much)
#asahi-re · 2021-08-12 15:06
msmith12[m](By the way, "hacking the xbox" is a good book).
#asahi-re · 2021-08-12 15:03
msmith12[m]only saw it once too

plus ›