We have some problems when porting our application from older Jetpack to Jetpack 5.0.1 DP.
Multiple defined the same symbol on nvidia.ko and nv-p2p.so.
For example, the nvidia_p2p_dma_map_pages symbol defined in open source driver nvidia.ko and nv-p2p.ko.
So we need to remove open source on /lib/modules/‘uname -r’/kernel/driver/extra/opensrc-disp/nvidia.ko manually?
We try to use nvidia_p2p_dma_map_pages to get physical pages of CDUA memory but fail to access those pages.
We find out we can use normal linux api to get physical pages and success to DMA to those page.
So we don’t need use Nvidia’s API to get physical pages as before, right?