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
F98906731: D30933.diff
Sat, Oct 5, 6:10 AM
F98869887: D30933.diff
Sat, Oct 5, 2:00 AM
Unknown Object (File)
Wed, Oct 2, 12:13 PM
Unknown Object (File)
Wed, Oct 2, 4:47 AM
Unknown Object (File)
Mon, Sep 30, 8:51 PM
Unknown Object (File)
Tue, Sep 24, 10:30 AM
Unknown Object (File)
Thu, Sep 19, 6:20 PM
Unknown Object (File)
Mon, Sep 16, 8:50 PM

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