ZLangJIT
ZLangJIT
ok i managed to get https://gitlab.freedesktop.org/virgl/virglrenderer compiling for the ndk (api 28) in cmake with meson
https://github.com/ZLangJIT/riscv-kernel/actions/runs/11163610342/job/31030971191 - got the kernel side `virgl` module compiled - updated some stuff - added release build signing (apk) - added a `patch-cache based build system` to automate component builds...
specifically, to clarify the above - we have `virglrenderer` compiled for ndk aarch64 in the android host apk - we have `virtio virgl` kernel module compiled (`[*]`) in the rvvm...
apparently the vm must support a virtio gpu
hmm https://gitlab.com/qemu-project/qemu/-/blob/master/include/hw/virtio/virtio-gpu.h https://gitlab.com/qemu-project/qemu/-/blob/master/hw/display/virtio-gpu-gl.c https://developer.ibm.com/articles/l-virtio/ - Virtio Architecture hmm https://www.intel.com/content/www/us/en/docs/programmable/683140/24-2-12-1-0/virtio.html
@LekKit how might i go about beginning to port this from qemu over to rvvm ?
https://gitlab.com/qemu-project/qemu/-/tree/master/hw/virtio oof, lots of files
hmm https://docs.oasis-open.org/virtio/virtio/v1.2/virtio-v1.2.html appears to be the reference for the HOST implementation of virtio (vm/hyperv/kvm/ect side) and for the CLIENT implementation of virtio (guest/kernel side)
the only implementation of virt-gpu i can find is qemu's hw/display/virtio*.c not even the kernel has a virt-gpu implementation, just seems to have a guest implementation even though the kernel...
hmm https://github.com/sysprog21/semu/pull/34 - implement virtio-gpu + utilize kernel virgl + host virglrenderer