Implement dmem ioctl with cmd = DMEMGETAVAIL
This one is reached after syscall 653.
I'm not sure I can do this one, to be honest.
Is this what blocking us behind the current unimplemented ucred?
Yes. After that, there's some other dmem and gc ioctls.
Is there any roadblock on those things?
Well, I don't really know how to implement dmem. But @mikusp said in Discord that he is already parsing shaders. You can go through the branches of his fork for inspiration.
Good to know that @mikusp can go that far with out current state. What I'm concern currently is #888. After some works it seems like migrating the code to kernel-mode kernel is easier than fixing the current user-mode kernel.