I can't reproduce same issue on i.MX8MM EVK

Here is memory information after using 400000 triangles.
root@imx8mmevk:/sys/kernel/debug/gc# cat meminfo
VIDEO MEMORY:
POOL SYSTEM:
Free : 26274148 B
Used : 107943580 B
MinFree : 10762236 B
MaxUsed : 123455492 B
Total : 134217728 B
POOL VIRTUAL:
Used : 24883200 B
MaxUsed : 24883200 B
Are you using same cma size in your dts?
resmem: reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0 0x28000000>;
alloc-ranges = <0 0x80000000 0 0x40000000>;
linux,cma-default;
};
};
From the crash log, it relates to memory.