Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for DMA mapping API #256

Open
joelsmithTT opened this issue Nov 4, 2024 · 1 comment
Open

Add support for DMA mapping API #256

joelsmithTT opened this issue Nov 4, 2024 · 1 comment

Comments

@joelsmithTT
Copy link
Contributor

In UMD PCIDevice code, add an API for mapping memory for DMA through the IOMMU.

uint64_t map_for_dma(void *buffer, size_t size); // returns DMA addr

KMD supports this in 1.29, so a version check in UMD is a good idea.
UMD can determine whether the card is behind IOMMU, so check that too.

@pjanevskiTT pjanevskiTT added the P1 Major issues with workarounds available, fix soon label Nov 5, 2024
@pjanevskiTT
Copy link
Contributor

Related to #257 and #133

@broskoTT broskoTT removed the P1 Major issues with workarounds available, fix soon label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants