#
✕ nick:modwizcode
#asahi-dev · 2021-02-19 18:51
modwizcodelatter point isn't really that relevant
#asahi-dev · 2021-02-19 18:51
modwizcode16 streams matches up (without an extension you get 16 streams, with extensions you get 16 bits for streams)
#asahi-dev · 2021-02-19 18:51
modwizcodefault address seems to be in the right place
#asahi-dev · 2021-02-19 18:49
modwizcodethere's actually seemingly some matching between offsets and some stuff I see in the SMMU linux driver.
#asahi-dev · 2021-02-19 18:48
modwizcodeHmm
#asahi-dev · 2021-02-19 18:43
modwizcodeI don't even know if there's an API enough to use it yet given the docs on the site.
#asahi-dev · 2021-02-19 18:43
modwizcodeApple has an API for paravirtualized graphics support for virtualization, but it has like... no meaningful docs.
#asahi-dev · 2021-02-19 18:42
modwizcodeI seem to remember that that's maybe why xHCI based things make passing through individual devices much more sane compared to other setups. But it's not the kind of thing I would dig into.
#asahi-dev · 2021-02-19 18:41
modwizcodeI haven't read any specs but isn't there some specific feature of xHCI targeted towards virtualization?
#asahi-dev · 2021-02-19 18:40
modwizcodeUSB might have a more complex reassignment method
#asahi-dev · 2021-02-19 18:40
modwizcodeThe SMMU docs are unusually dense even for ARM, I tried pulling them up for some conceptual/possible functionality reference and it was not helpful
#asahi-dev · 2021-02-19 18:39
modwizcodeThat was kind of my thought originally
#asahi-dev · 2021-02-19 18:38
modwizcodehi
#asahi-dev · 2021-02-19 18:37
modwizcodeAny idea what it does at all?
#asahi-dev · 2021-02-19 18:36
modwizcodesince SMMU I believe stands for system mmu
#asahi-dev · 2021-02-19 18:36
modwizcodeor maybe just abused acronym
#asahi-dev · 2021-02-19 18:36
modwizcodeI wonder if it's related at all though
#asahi-dev · 2021-02-19 18:35
modwizcodeSMMU is the arm standard iommu thing
#asahi-dev · 2021-02-18 17:14
modwizcodeI need to build up a more complete idea of the memmap overall so that I can reason about things better
#asahi-dev · 2021-02-18 17:13
modwizcodeInteresting
#asahi-dev · 2021-02-18 17:13
modwizcodenever_released: so the framebuffer chunk is just "some random memory then"?
#asahi-dev · 2021-02-18 15:06
modwizcodeDoes the GPU get any dedicated memory? Or is it like totally UMA split?
#asahi-dev · 2021-02-18 03:33
modwizcodeProbably just me forgetting to go back and update with a real address while working on the emulator stuff. Thought I'd pulled that address from a stream.
#asahi-dev · 2021-02-18 03:32
modwizcodehuh
#asahi-dev · 2021-02-17 21:58
modwizcodeand it's not like a nice round number too
#asahi-dev · 2021-02-17 21:57
modwizcodemarcan's streams
#asahi-dev · 2021-02-17 21:57
modwizcodeI'm confused because your address for the framebuffer is very different from what I was seeing in marcan'
#asahi-dev · 2021-02-17 21:57
modwizcodethat doesn't help then :/
#asahi-dev · 2021-02-17 21:57
modwizcodeokay
#asahi-dev · 2021-02-17 21:57
modwizcode...
#asahi-dev · 2021-02-17 21:57
modwizcodewhat model of mac
#asahi-dev · 2021-02-17 21:56
modwizcodewait what type of device are you using sven?
#asahi-dev · 2021-02-17 21:55
modwizcodebackwards from what I was thinking
#asahi-dev · 2021-02-17 21:54
modwizcode(i.e. device->host)
#asahi-dev · 2021-02-17 21:54
modwizcodeOh are those backwards?
#asahi-dev · 2021-02-17 21:53
modwizcoderight but why is your fb from the boot arguments set to what appears to be the physical address?
#asahi-dev · 2021-02-17 21:47
modwizcodeEven the mappings don't make sense to me, assuming that the first dev there is the fb mappings, those are different virtual mappings than I would expect
#asahi-dev · 2021-02-17 21:47
modwizcodeweird... why is your fb base at such a strange address...?
#asahi-dev · 2021-02-17 21:45
modwizcodesven: did you mess with the mappings before that dump was taken?
#asahi-dev · 2021-02-17 21:42
modwizcodeI'm trying to make sense of those mappings
#asahi-dev · 2021-02-17 21:29
modwizcodewhat is this?
#asahi-dev · 2021-02-17 21:23
modwizcodeinteresting
#asahi-dev · 2021-02-17 21:23
modwizcodeI got quite mad when I realized that for all the dynamic stuff of pcie, you still have to know what each BAR represents :p
#asahi-dev · 2021-02-17 21:22
modwizcodeI love arbitrary numeric identifiers
#asahi-dev · 2021-02-17 21:22
modwizcodeah
#asahi-dev · 2021-02-17 21:22
modwizcodeI meant like there's the #16ish entries or ids or whatever
#asahi-dev · 2021-02-17 21:21
modwizcodesven: Is the dart device for the display #0? It looks like there's multiple entries in that register set
#asahi-dev · 2021-02-17 20:58
modwizcodesven: any progress on bypass mapping the display?
#asahi-dev · 2021-02-17 19:58
modwizcodeLots of zeros in the 0x3000 range
#asahi-dev · 2021-02-17 19:57
modwizcodethanks sven

plus ›