#asahi-gpu · 2021-01-12 01:27
bloommarcan: Turns out the framebuffer needs to be 128 byte aligned. I was previously aligning to 64 bytes only, and that's where the missing 64 bytes came from.#asahi-gpu · 2021-01-12 01:26
bloomOk, got the detiling wired in.#asahi-gpu · 2021-01-12 01:10
jn__bloom: no worries :)#asahi-gpu · 2021-01-12 01:10
bloomBut you might be right :)#asahi-gpu · 2021-01-12 01:09
bloomicecream95: That's cheating :<#asahi-gpu · 2021-01-12 01:09
bloomjn__: Contrary to what you might think based on my code, I am not good at using computers. ^^#asahi-gpu · 2021-01-12 01:07
icecream95The matrix coprocessor probably has an instruction for tiling anyway#asahi-gpu · 2021-01-12 01:07
jn__no offence meant, it just seems like an obscure misconfiguration of something#asahi-gpu · 2021-01-12 01:06
jn__ah wait, i mean "dw<backspace>etile"#asahi-gpu · 2021-01-12 01:05
jn__U+2421 ␡ GRAPHIC FOR DELETE <- this character#asahi-gpu · 2021-01-12 01:05
jn__dw<character that represents backspace>tile#asahi-gpu · 2021-01-12 01:05
hthh_i just see "I guess wiring in the dwetile"#asahi-gpu · 2021-01-12 01:04
bloomjn__: ?#asahi-gpu · 2021-01-12 01:04
jn__bloom: not sure if it's intended, but your deleted text comes through to the other side of IRC, e.g. "dw␡etile"#asahi-gpu · 2021-01-12 01:04
bloomDetiling should write linearly but read scattered, just as scalar code.#asahi-gpu · 2021-01-12 01:03
icecream95Memory access patterns are also important. Ideally you want to write entire cache lines at once, but I think Aarch64 dropped that instruction#asahi-gpu · 2021-01-12 01:02
bloomicecream95: Yeah, probably :p#asahi-gpu · 2021-01-12 01:02
icecream95"Oddly NEON is making things slower". Because GCC's handling of ARM vector intrinsics sucks?#asahi-gpu · 2021-01-12 01:01
bloomI guess wiring in the dwetile#asahi-gpu · 2021-01-12 00:53
bloom(nothing is if I just read random github issues fo an hour..)#asahi-gpu · 2021-01-12 00:48
bloomAlright, let's see what I can get done in an hour :)#asahi-gpu · 2021-01-11 17:51
bloomdavidrysk[m]: Ah, thank you :)#asahi-gpu · 2021-01-11 17:33
davidrysk[m]bloom: "Does that require dual licensing the other files too?" APSL sections 1.5 and 4 seem to say no#asahi-gpu · 2021-01-11 17:30
bloom(there is some code I need to push to help with that, but my local setup is still a giant mess of shell scripts split acorross two machines)#asahi-gpu · 2021-01-11 17:29
bloomand wrap should be clang'able by just *.c -framework IOkit -dylib or something like that#asahi-gpu · 2021-01-11 17:29
bloombut it shows up in mem_0.bin if you dump with the wrap library there#asahi-gpu · 2021-01-11 17:29
bloom*hardcoding#asahi-gpu · 2021-01-11 17:29
bloomI was hardcoded offsets#asahi-gpu · 2021-01-11 17:29
bloomhttps://github.com/AsahiLinux/gpu/blob/main/wrap/wrap.c#L140#asahi-gpu · 2021-01-11 17:29
bloomdavidrysk[m]: 'documentation'? no, fraid not#asahi-gpu · 2021-01-11 16:04
davidrysk[m]bloom: Is there any documentation on retrieving compiled and assembled object code of a shader?#asahi-gpu · 2021-01-11 09:50
marcanthat is, this channel is the clean end of the clean room now#asahi-gpu · 2021-01-11 09:49
marcanthe discussion here should focus on black-box RE of the userspace stack (what bloom is doing), and on hardware details and kernel driver development discussion (strictly *results* i.e. documentation resulting from kernel driver RE are allowed only, absolutely no discussion of the actual kext code)#asahi-gpu · 2021-01-11 09:47
marcanthis channel is therefore now "clean"#asahi-gpu · 2021-01-11 09:47
marcanwe are not banning GPU kernel driver disassembly (but see https://alx.sh/re for the policy), but that discussion will be confined to #asahi-re#asahi-gpu · 2021-01-11 09:46
marcanPSA: we are adjusting the RE policy and banning userspace GPU stack disassembly, since it is unlikely that approach will be necessary. at the same time, this channel is no longer allowed for any kind of disasm/binary RE#asahi-gpu · 2021-01-11 05:41
marcanmore outstanding transactions#asahi-gpu · 2021-01-11 05:41
marcanit seems their load/store buffers are way wider than anything else#asahi-gpu · 2021-01-11 05:41
marcanbloom: not just memory though, the CPU pipe to memory#asahi-gpu · 2021-01-11 04:09
bloom(the rockchip, mac is off)#asahi-gpu · 2021-01-11 04:08
bloomWhy is u64 load/stores more than 2x slower than u32 load/stores on a 64-bit machine?#asahi-gpu · 2021-01-11 04:08
bloomWat?#asahi-gpu · 2021-01-11 02:38
bloomOverloaded term :(#asahi-gpu · 2021-01-11 02:38
bloomtiling != tiling..#asahi-gpu · 2021-01-11 02:37
bloomMary_-: Sorry for forgetting to respond, but neat stuff! :) re: meallib#asahi-gpu · 2021-01-11 02:37
davidrysk[m]found this with a quick google :)#asahi-gpu · 2021-01-11 02:37
davidrysk[m]https://developer.amd.com/wordpress/media/2012/10/gdc2008_ribble_maurice_TileBasedGpus.pdf#asahi-gpu · 2021-01-11 02:25
bloomkrbtgt: The specific tiling patterns vary, but everyone uses some form of tiling.#asahi-gpu · 2021-01-11 02:24
krbtgthuh, i thought other companies had different strategies, but it's been a while since i looked into it#asahi-gpu · 2021-01-11 02:22
bloomkrbtgt: Everybody uses it as much as they can.