-
Notifications
You must be signed in to change notification settings - Fork 341
Open
Description
This issue can be seen as a follow-up to libiio issue #1259.
According to this kernel issue, linux,cma is not a universally defined name - that is, it's not guaranteed to point to the CMA memory on every system. The actual name of the device file depends on the name of the CMA node in the device tree or may be reserved if cma=<size> is set on the linux cmdline.
So, technically speaking, the hardcoded path /dev/dma_heap/linux,cma may be correct on many systems, but it is not guaranteed to work everywhere. If cma=<size> is specified or a differently named device tree node is used, the corresponding file name will change. As such, the hardcoded path referenced here may not actually refer to the CMA on all systems.
Metadata
Metadata
Assignees
Labels
No labels