I found some allocation-related definitions in imx8m/evk_8mq/BoardConfig.mk
USE_ION_ALLOCATOR := true
USE_GPU_ALLOCATOR := false
They are only used in vendor/nxp/imx-vpu-cnm, which seems not relevant for imx8mq, as it uses vendor/nxp/imx-vpu-hantro.
I have also checked projects in vendor/nxp-opensource/imx/display: display, gralloc_v3 and hwcomposer_v20. Gralloc and hwcomposer are loaded correctly and the display module does provide an alloc function. However, this function isn't called before the crash occurs.
Bio_TICFSL, do you have an idea which module is the right one for me to adapt? I didn't find any documentation on this.