Comments (4)
Thank you for the issue.
Your remarks are worth considering.
Please give me a little more time.
from u-dma-buf-mgr.
This is a u-dma-buf issue and has been fixed at ikwzm/udmabuf#110.
from u-dma-buf-mgr.
Thank you :)
(I will test in due course)
from u-dma-buf-mgr.
Ok, it turns out that even though the name udmabuf3
has not been created in the /sys/class/u-dma-buf
directory, it is still possible to delete it with:
# echo "delete udmabuf3" > /dev/u-dma-buf-mgr
This allows the name to be reused, if it's known ahead of time that it needs to be deleted first.
May I suggest that if the buffer creation fails, the name is dropped (forgotten) by the mgr, rather than retained? That would make it easier for a user-space program to work with u-dma-buf-mgr, because it can use the state of /sys/class/u-dma-buf
to know what names are in use. Without this, a program cannot easily discover that a name is unusable as it doesn't appear in sysfs, and would need to pre-emptively attempt to delete any name it wishes to use.
from u-dma-buf-mgr.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from u-dma-buf-mgr.