Module mode

Source
Expand description

Bindings to the DRM’s modesetting capabilities.

Modules§

dumbbuffer
Dumbbuffers are basic buffers that can be used for scanout.

Functions§

add_fb
Add a new framebuffer.
add_fb2
Add a new framebuffer (with modifiers)
atomic_commit
Atomically set properties
create_lease
Create a drm lease
create_property_blob
Create a property blob
destroy_property_blob
Destroy a property blob
dirty_fb
Mark a framebuffer as dirty.
get_connector
Get info about a connector
get_crtc
Get info about a CRTC
get_encoder
Get info about an encoder
get_framebuffer
Get info about a framebuffer.
get_framebuffer2
Get info about a framebuffer (with modifiers).
get_gamma
Get CRTC gamma ramp
get_lease
Get leased objects for a lease file descriptor
get_plane
Get info about a plane.
get_plane_resources
Enumerate plane resources.
get_properties
Get properties from an object
get_property
Get property
get_property_blob
Get the value of a property blob
get_resources
Enumerate most card resources.
list_lessees
List all active drm leases
move_cursorDeprecated
Move cursor
page_flip
Schedule a page flip
revoke_lease
Revoke previously issued lease
rm_fb
Remove a framebuffer.
set_connector_property
Set property
set_crtc
Set CRTC state
set_cursorDeprecated
Set cursor state
set_cursor2Deprecated
Set cursor state (with hotspot position)
set_gamma
Set CRTC gamma ramp
set_plane
Set plane state.
set_property
Set the properties of an object