#asahi-gpu · 2022-09-10 03:29
linaThose are wrong ^^#asahi-gpu · 2022-09-10 03:24
ntrung03[m]btw by SPRR bypass, I meant using ARM's interpretation instead of SPRR logic#asahi-gpu · 2022-09-10 03:23
ntrung03[m]lina: Aint those standard ARM permission? https://github.com/AsahiLinux/m1n1/blob/281784d48e2fc8a41ede35b4d5b766b112499e41/proxyclient/m1n1/hw/uat.py#L90-L97#asahi-gpu · 2022-09-10 03:17
linaNext stream I'll probably add permissions to the allocator stuff and fix the IOMMU side interpretation!#asahi-gpu · 2022-09-10 03:14
linaWith the bit off the firmware uses SPRR and the GPU has no access. With the bit on SPRR is ignored and a different set of permissions applies, for both firmware and the GPU (different ones)#asahi-gpu · 2022-09-10 03:14
linaI already have all the permissions mapped out ^^#asahi-gpu · 2022-09-10 03:14
linantrung03[m]: It's not SPRR bypass exactly, it changes the permission interpretation to a different one#asahi-gpu · 2022-09-10 00:32
ntrung03[m]Im away from my m1n1 setup for a few days so cant test that yet...#asahi-gpu · 2022-09-10 00:26
ntrung03[m]lina: I think the OS bit of the UAT PTE is SPRR bypass. That makes sense because the OS might not know the SPRR permission config of the firmware but it still have to map its entries.#asahi-gpu · 2022-09-09 17:33
rontron[m]I wish the best for this project#asahi-gpu · 2022-09-08 13:35
skmp__(no promises on anything eh, but i've been out of the CLX drug for a year now, and I already miss it after 20 years of relationship lol)#asahi-gpu · 2022-09-08 13:35
bluetailic. We are alike. But I'm not on your level if messing around yet#asahi-gpu · 2022-09-08 13:35
linaI just like messing around ^^#asahi-gpu · 2022-09-08 13:35
skmp__@lina thanks#asahi-gpu · 2022-09-08 13:34
bluetailAre you some kind of genius, or just somebody who happens to tinker for a very long time?#asahi-gpu · 2022-09-08 13:34
bluetailHah. Thats intriguing#asahi-gpu · 2022-09-08 13:34
linaAnd I like the loop! It keeps me concentrated!!!#asahi-gpu · 2022-09-08 13:33
linaWorking on the merch! So many things to do...#asahi-gpu · 2022-09-08 13:33
bluetaillina do you sell merch yet, and how do you manage to listen to the audio loop for 12h working on the gpu driver?#asahi-gpu · 2022-09-08 13:33
linaAlso https://rosenzweig.io/#asahi-gpu · 2022-09-08 13:32
linaShe's around here sometimes, and also @alyssarzg on Twitter#asahi-gpu · 2022-09-08 13:32
skmp__(would be nice to do AGX emulator, I've written a pixel-level emulator for CLX only)#asahi-gpu · 2022-09-08 13:32
skmp__where can I find them?#asahi-gpu · 2022-09-08 13:32
skmp__I've known CLX and MAXWELL, and read up on SGX/RGX and some AMD stuff#asahi-gpu · 2022-09-08 13:32
linaYeah, then maybe talk to alyssa ^^#asahi-gpu · 2022-09-08 13:31
skmp__I'm interested just in the rendering pipeline tbh#asahi-gpu · 2022-09-08 13:31
skmp__yea that part#asahi-gpu · 2022-09-08 13:31
linaMaybe it makes more sense to emulate the actual rendering side? alyssa would know if that's useful for her#asahi-gpu · 2022-09-08 13:31
linaHmm... I mean, most of the work that's left is just porting over my prototype driver to the real kernel on the kernel side. You could definitely emulate the firmware (it's just AArch64) if you wanted to LLE that, but I already get nice crash dumps out of it and there is tons of tracing so I'm not sure we'd get much more out of it?#asahi-gpu · 2022-09-08 13:30
skmp__would that be useful to you?#asahi-gpu · 2022-09-08 13:30
skmp__I'd like to write an emulator for it#asahi-gpu · 2022-09-08 13:29
skmp__so yea#asahi-gpu · 2022-09-08 13:29
skmp__lol#asahi-gpu · 2022-09-08 13:29
linaAs evidenced by how Apple themselves mix together TA/VDM and 3D/PDM...#asahi-gpu · 2022-09-08 13:29
skmp__one can tell from their drivers that much#asahi-gpu · 2022-09-08 13:29
skmp__I don't think they care much about software#asahi-gpu · 2022-09-08 13:29
linaOf course it makes sense, but then it's not just the tiling part, and from a software perspective it's not good naming#asahi-gpu · 2022-09-08 13:29
skmp__right?#asahi-gpu · 2022-09-08 13:29
skmp__so it needs to run vertex shaders#asahi-gpu · 2022-09-08 13:29
skmp__so it needs screen coordinates#asahi-gpu · 2022-09-08 13:29
skmp__(not sure on the sizes at this point)#asahi-gpu · 2022-09-08 13:29
linaI know#asahi-gpu · 2022-09-08 13:29
skmp__TA is supposed to slice in 32x32 blocks for the renderer to handle one by one#asahi-gpu · 2022-09-08 13:28
skmp__can do that only post-vs#asahi-gpu · 2022-09-08 13:28
skmp__how else are you gonna bin them and generate the region array lists#asahi-gpu · 2022-09-08 13:28
linaThat might have made sense before programmable shaders but now... it's just vertex attributes...#asahi-gpu · 2022-09-08 13:28
skmp__that makes perfect sense though#asahi-gpu · 2022-09-08 13:28
linaLike TA is actually running the vertex programs, and 3D the pixel programs but as an identifier it's horrible because it starts with a number#asahi-gpu · 2022-09-08 13:28
skmp__it's just EE-based#asahi-gpu · 2022-09-08 13:27
skmp__you're just 'configuring' the hardware