Hi BobLiu
according to sect.13.8 MIPI CSI Host Controller (MIPI_CSI) i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference Manual
"Supports 4Kp30"
the same is for i.MX8QM. Bigger values can cause fifo overflow issues.
Best regards
igor