Sorry for the delay…
First of all, you could check is the DMABUF option enabled in the kernel:
$ zcat /proc/config.gz | grep DMABUF_HEAPS
CONFIG_DMABUF_HEAPS=y
CONFIG_DMABUF_HEAPS_CMA=y
If not, you need rebuild your kernel and next - patch and rebuild libcamera (you need to learn how to rebuild deb packages in chroot).