Not quite "No interesting drivers"...
Not quite "No interesting drivers"...
Posted Feb 3, 2025 18:18 UTC (Mon) by asahilina (subscriber, #166071)Parent article: Resistance to Rust abstractions for DMA mapping
For once I'm glad I don't have to be part of the latest drama. drm/asahi does not depend on the DMA framework, since it does not support IOMMUs or use "typical" DMA mapping stuff. The page tables are managed by the GPU driver and map to physical memory directly, so the driver only interacts with the GEM subsystem (which returns sg_tables with lists of physical memory pages) and the raw page allocator to build page tables, and does not use the "DMA MAPPING HELPERS" (which is the subsystem this article is about).
So interesting drivers that do DMA can be written without this... (some) integrated GPU drivers, and probably not much else.