Closed Miouyouyou closed 6 years ago
The memory isn't mapped correctly. What's mapped instead is a random memory location (logs from systemd in this case).
Using dma_map_attrs instead of dma_common_mmap solved the issue. Maybe I should also use dma_mmap_coherent, instead of dma_map_attrs.
However, anyway, the buffer is mapped correctly.
The memory isn't mapped correctly. What's mapped instead is a random memory location (logs from systemd in this case).