Crate linux_drm

Source
Expand description

This library provides relatively-low-level bindings to the Linux Direct Rendering Manager and Kernel Modesetting APIs.

This library currently focuses mainly on the modesetting APIs. Rendering requires driver-specific userspace code that is beyond the scope of this library.

§Features

The default implementation of this library currently relies on unstable features and so requires nightly Rust. The feature stable_polyfill opts in to replacing those unstable features with external libraries to allow this to work on stable Rust. This feature will be maintained on a best-effort basis but will be removed in future versions if it causes maintainence challenges. It will also be removed once the relevant features have been stablized.

Modules§

event
Types and other symbols used for event handling.
ioctl
Low-level ioctl-based access to DRM devices.
modeset
Types and other symbols used for modesetting.
result

Structs§

ApiVersion
DRM API version information.
Card

Enums§

ClientCap
Enumeration of DRM client capabilities.
DeviceCap
Enumeration of DRM device capabilities.