-
- Downloads
WIP: rust/drm: Add fourcc bindings
This adds some very basic rust bindings for fourcc. We only have a single
format code added for the moment, but this is enough to get a driver
registered.
TODO:
* Write up something to automatically generate constants from the fourcc
headers
Signed-off-by:
Lyude Paul <lyude@redhat.com>
---
V3:
* Drop FormatList and ModifierList
These aren't actually needed as pointed out by Louis Chauvet
* Add a constant for FORMAT_MOD_INVALID
I realized that we actually need this because the format list isn't
terminated with a 0 like I thought, and we can't pick this up
automatically through bindgen
rust/kernel/drm/fourcc.rs
0 → 100644
Please register or sign in to comment