Skip to content
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

Support for driver-specific APIs #105

Open
zigazeljko opened this issue Oct 24, 2021 · 1 comment
Open

Support for driver-specific APIs #105

zigazeljko opened this issue Oct 24, 2021 · 1 comment

Comments

@zigazeljko
Copy link

I am currently trying to do some low-level GPU programming (for Nvidia cards using the open-source nouveau driver) and so, I need access to driver-specific APIs for managing buffers and executing command lists.

It seems I'm not the only one needing this, since there are already other projects using this crate (eg. rudihorn/drm-vc4-grabber) that implement their own bindings for driver-specific APIs, so it would make sense to unify them under this crate.

Is this considered to be in-scope for this crate? If so, I would be happy to contribute to this crate.

@Drakulix
Copy link
Member

The original scope of this project was writing libdrm bindings, which has then turned into some abstraction over drm-related ioctls. So I guess, this could be in scope now?

How stable are these driver-specific apis? I am not sure, if we want to pull them into the main crate, if those may frequently become out-of-date.

At the very least any PR is welcome that eases support for driver-specific APIs out-of-tree (like drm-vc4-grabber). But I think unifying may be a good idea, I am just not sure about the maintenance burden, that this puts onto drm-rs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants