#asahi-gpu · 2022-02-07 07:12
phirebig 0x88000 byte region#asahi-gpu · 2022-02-07 07:12
svenyeah, sounds like it#asahi-gpu · 2022-02-07 07:12
phireI think this area that I'm seeing changing is the firmware's heep, or stack#asahi-gpu · 2022-02-07 07:11
svenphire> Thats RTKSTACK repeated <-- sounds like that's also how the firmware and RAM of the co-processor is mapped then#asahi-gpu · 2022-02-07 07:05
phireWARNING: Waiting for space to add statistics! Consider resizing buffer or adjust interrupt heuristics#asahi-gpu · 2022-02-07 07:03
phireBuild version: B0#asahi-gpu · 2022-02-07 07:03
phireBuild variant: X#asahi-gpu · 2022-02-07 07:03
phireG13 Firmware initializing#asahi-gpu · 2022-02-07 07:03
phireGFX Tempest-ASC4.1 FW cold booted! (Jan 11 2022 20:36:18)#asahi-gpu · 2022-02-07 05:56
phireThats RTKSTACK repeated#asahi-gpu · 2022-02-07 05:55
phireffffffa000031f00 00000001 00000001 00000000 00000000 00000000 4b430000 534b5452 4b434154 #asahi-gpu · 2022-02-07 05:55
phireffffffa000031f20 534b5452 4b434154 534b5452 4b434154 534b5452 4b434154 00000001 00000002 #asahi-gpu · 2022-02-07 05:55
phireOr... I should expand the monitoring area#asahi-gpu · 2022-02-07 05:26
phireI might have to monitor all changes to the entire (mapped) gpu va space#asahi-gpu · 2022-02-07 05:25
phire(16kb aligned)#asahi-gpu · 2022-02-07 05:24
phirean 8bit value that counts up, and what might be the lower 32bits of a VA address#asahi-gpu · 2022-02-07 05:23
phirebad news: The amount of infomation changing in this control stuct is still a bit limited#asahi-gpu · 2022-02-07 05:23
phiregood news: I have the "control struct", I can easily read memory, I can monitor changes to it#asahi-gpu · 2022-02-06 23:00
Tramtristinspiring really#asahi-gpu · 2022-02-06 22:59
Tramtristi was amazed at everything you were doing there alyssa from the dev environment on up#asahi-gpu · 2022-02-06 21:55
phireit also maps in some ranges I don't reconise: 0x20e100000, 0x28e494000, 0x204d60000, 0x200000000, 0x201000000, 0x202000000, 0x203000000, 0x204000000, 0x205000000, 0x206000000, 0x207000000, 0x2643c4000, 0x28e3d0000, 0x28e3c0000#asahi-gpu · 2022-02-06 21:49
phirethat is the sgx's register range #asahi-gpu · 2022-02-06 21:48
phire0xffffffa010000000-0xffffffa010003fff -> 0x404d00000#asahi-gpu · 2022-02-06 21:48
phirethis pagetable also maps IO registers into it#asahi-gpu · 2022-02-06 21:46
phireand the only address that gets sent over ASC (which must be our control structure) is 0xfa0000b0000#asahi-gpu · 2022-02-06 21:45
phirethe gfx-shared-region + 0x10 page table is actually a L2 leaf, that gets inserted to cover the range starting at 0xffffffa000000000#asahi-gpu · 2022-02-06 20:22
Tramtristwow .. i went grocery shopping and came back.. and you're still going at this pace.. quite amazing#asahi-gpu · 2022-02-06 19:47
alyssa...and we're back https://twitch.tv/asahigpu#asahi-gpu · 2022-02-06 19:39
alyssaokay i swear i'm starting again i'm just real good at not doing things#asahi-gpu · 2022-02-06 18:22
alyssai must say it'll be nice finally having 3D accel on linux#asahi-gpu · 2022-02-06 18:20
alyssapowers the mac back on#asahi-gpu · 2022-02-06 18:13
alyssanod#asahi-gpu · 2022-02-06 18:13
phireThis is probally another thing where there are registers on the sgx interface that control all this, but there is an ASC firmware in the middle#asahi-gpu · 2022-02-06 18:12
alyssashould get back to coding instead of randomly perusing gitlab idly#asahi-gpu · 2022-02-06 18:07
alyssanods#asahi-gpu · 2022-02-06 18:06
phirethat structure must be global, since the ASC message doesn't have a context id#asahi-gpu · 2022-02-06 18:02
phirewith the amount of entropy I've got, that's the best susgestion#asahi-gpu · 2022-02-06 18:01
alyssathat would be guess, yes#asahi-gpu · 2022-02-06 18:00
phireand you send a message via ASC to tell it which one to execute#asahi-gpu · 2022-02-06 18:00
phireMy current theory is that there is some kind of memory structure with a list of command lists#asahi-gpu · 2022-02-06 17:58
alyssaI imagine AGX has a lot more indirection.#asahi-gpu · 2022-02-06 17:58
alyssaOn Mali it's as easy as "write an address to a register and write the START command to the command register"#asahi-gpu · 2022-02-06 17:56
alyssa*nod*#asahi-gpu · 2022-02-06 17:55
phireyeah, we can probally ignore that for now. right now I want to know how userspace command lists get executed#asahi-gpu · 2022-02-06 17:54
alyssacontext -1, hm#asahi-gpu · 2022-02-06 17:45
phirethe other page table (at gfx-shared-region + 0x10) might be for context -1, which shows up in logs#asahi-gpu · 2022-02-06 17:29
alyssa🎉#asahi-gpu · 2022-02-06 17:27
phirecontains pointers to the page table for each context#asahi-gpu · 2022-02-06 17:26
phireok... gpu-region is the context table#asahi-gpu · 2022-02-06 17:09
phireHey, this page table is actually 3 layers deep, and points at real-looking data