#asahi-gpu · 2022-11-28 17:40
eiln_oke#asahi-gpu · 2022-11-28 17:40
eiln_something millenial#asahi-gpu · 2022-11-28 17:39
eiln_for this exact reason #asahi-gpu · 2022-11-28 17:39
eiln_camEnableAneIsp=0 camEnableAneIspAfpp=0 #asahi-gpu · 2022-11-28 17:39
eiln_and i traced with boot-args #asahi-gpu · 2022-11-28 17:38
eiln_which isn't in the ane mmio range #asahi-gpu · 2022-11-28 17:37
eiln_i also know one of them sets up a ring buffer endpt #asahi-gpu · 2022-11-28 17:37
eiln_the main guy behind the ane patents used to do isp#asahi-gpu · 2022-11-28 17:37
eiln_to be honest I really don't know much about isp #asahi-gpu · 2022-11-28 17:33
eiln_that looks like segment-ranges #asahi-gpu · 2022-11-28 17:32
eiln_there's a ane_isp.afpp file somewhere #asahi-gpu · 2022-11-28 17:32
eiln_no idea, i only have a t8103 #asahi-gpu · 2022-11-28 17:31
eiln_i don't know if isp depends on ane though #asahi-gpu · 2022-11-28 17:31
eiln_i believe isp has an ane node?#asahi-gpu · 2022-11-28 17:30
eiln_unless explicitly turned off with boot-args, the first ane init is called by isp #asahi-gpu · 2022-11-28 17:30
eiln_yes#asahi-gpu · 2022-11-28 17:29
eiln_there's a "program" abstraction that's really just BAR (in ane_context.py)#asahi-gpu · 2022-11-28 17:28
eiln_i'm pretty certain that my asc init is stuck @ stage 8 because isp isn't #asahi-gpu · 2022-11-28 17:28
eiln_props up an entire server with isp #asahi-gpu · 2022-11-28 17:27
eiln_given i have rvbar & the asc init code technically i can write my own fw to do just that#asahi-gpu · 2022-11-28 17:26
eiln_are asc duties #asahi-gpu · 2022-11-28 17:26
eiln_and the 3 reg writes in execute_tq #asahi-gpu · 2022-11-28 17:25
eiln_specifically enqueue_tq #asahi-gpu · 2022-11-28 17:25
eiln_yes the asc isn't even turned on #asahi-gpu · 2022-11-28 17:25
eiln_so i copied the reg diffs to "fill in" #asahi-gpu · 2022-11-28 17:25
eiln_sigh, the ane-asc init process is a 9-step process, and i've been stuck at stage 8 #asahi-gpu · 2022-11-28 17:24
eiln_asc is only responsible for queue stacking, which i replicate in TaskManager #asahi-gpu · 2022-11-28 17:19
eiln_asc is completely separate from the engine circuitry. the dma they refer to isn't asc-emulated-dma #asahi-gpu · 2022-11-28 17:18
eiln_regarding asc, sigh #asahi-gpu · 2022-11-28 17:17
eiln_ ah hv said pmgr node so it's what i assumed. i've added a patch under tunables_static.c too #asahi-gpu · 2022-11-28 16:31
eiln_Neural processor circuit 218 may receive the input data from sensor interface 212 , the image signal processor 206 , persistent storage 228 , system memory 230 or other sources such as network interface 210 or GPU 220"#asahi-gpu · 2022-11-28 16:31
eiln_"Neural processor circuit 218 is a circuit that performs various machine learning operations based on computation including multiplication , addition , and accumulation . Neural processor circuit 218 is a configurable circuit that performs these operations in a fast and power -efficient manner while relieving CPU 208 of resource - intensive operations associated with neural network operations. #asahi-gpu · 2022-11-28 16:31
eiln_figured this introduction from their patents may be helpful: #asahi-gpu · 2022-11-28 16:19
eiln_Being a non-essential component and without much precedent, I feel pretty lost on what direction to head with development. I would rather asahi leverage the hardware to its own needs, not replicate apple's model (which i find very questionable anyway). Hence I currently have no idea of what a final product would even look like (e.g., support what? does it go under drm?). I'm looking for any form of advice / guidance. #asahi-gpu · 2022-11-28 16:19
eiln_I've got the kernel side / work interface / tiling pretty much down, so the only barrier to all those exotic ops are the compiler output ("regfile" that gets dma'd to configuration registers). I do have prototypes for elementwise add/mul/min/max, 2d convolution, and batched matrix multiplications, but it's still largely a mystery. #asahi-gpu · 2022-11-28 16:18
eiln_TDLR: ane is a low precision (fp16) configurable mac circuit really good for chained/fifo stream number crunching #asahi-gpu · 2022-11-28 16:18
eiln_I develop on github but am currently having issues it's a mirror#asahi-gpu · 2022-11-28 16:18
eiln_https://gitlab.com/eiln/m1n1.git#asahi-gpu · 2022-11-28 16:18
eiln_My work is on #asahi-gpu · 2022-11-28 16:18
eiln_I've made progress with the GPU's younger sister, i.e. Apple Neural Engine / ANE / NPU #asahi-gpu · 2022-11-28 16:18
eiln_My name is Eileen and my handles use @eiln typically.#asahi-gpu · 2022-11-28 16:17
eiln_Hello! slightly off topic but was pointed to here