Page MenuHomeFreeBSD

LinuxKPI: Implement dma_map_resource/dma_unmap_resource functions.
AbandonedPublic

Authored by wulf on Jun 28 2021, 8:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 12:46 PM
Unknown Object (File)
Wed, Oct 30, 11:43 AM
Unknown Object (File)
Oct 5 2024, 6:10 AM
Unknown Object (File)
Oct 5 2024, 2:00 AM
Unknown Object (File)
Oct 2 2024, 12:13 PM
Unknown Object (File)
Oct 2 2024, 4:47 AM
Unknown Object (File)
Sep 30 2024, 8:51 PM
Unknown Object (File)
Sep 24 2024, 10:30 AM

Details

Reviewers
hselasky
manu
Summary

dma_map_resource and dma_unmap_resource functions are API for mapping
and unmapping of memory-mapped IO resources so they can be accessed by
the device.

Required by drm-kmod v5.5 to be built.

Test Plan

This naive implementation is completely untested as drm-kmod v5.5 uses
these functions only for testing purposes yet.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40150
Build 37039: arc lint + arc unit

Event Timeline

wulf requested review of this revision.Jun 28 2021, 8:53 PM

Depending on the outcome in D30932 ulong vs. uintptr_t here too.

drm-kmod is a better place to stay until these routines get tested