I am developing a pci device driver using Jetson Tx2.
I want to be allocated large DMA memory (at least 10MB).
However, the maximum size of DMA memory allocated now is 512kB. (use pci_alloc_consistent function)
How do I allocate large DMA memory?
Should I use CMA memory?
If I need to use CMA memory, how should I use it?
I read https://lwn.net/Articles/486301/ but I am not sure what to do.
Please help me