-
Notifications
You must be signed in to change notification settings - Fork 172
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
The reserved space is used to expand the CMA space, and the u-dma-buf driver cannot be used normally #96
Comments
Thank you for the issue. The first half of the problem may be cured by specifying the dma-mask property. See this issue #45 for details. Please tell me what kind of error occurred in the latter half of the problem. |
u-dma-buf-mgr allocates memory from the default CMA. |
1GiB worked for me I allocated 1250MB of CMA and had the reusable flag removed. |
I'm sorry, I have one more question here; Here I refer to xilinx's cma space extension for a link:https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841683/Linux+Reserved+Memory#LinuxReservedMemory-ReservedmemoryforCMA
The cma space was also successfully created.
Using this udmabuf driver before, it is normal to open up space for multiple Cmas. However, after expanding the cma space, it can not be used normally
device tree:
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
The text was updated successfully, but these errors were encountered: