Module drm::drm_mode [] [src]

Structs

Connector

Structure representing connector.

Crtc

Structure representing CRTC.

Encoder

Structure representing encoder.

ModeInfo

Structure representing connector.

Resources

Resources structure. Can be obtained by call to drm_mode::get_mode_resources

Enums

Connection

Enum representing state of connectors connection.

Constants

PAGE_FLIP_ASYNC
PAGE_FLIP_EVENT

Functions

add_fb

Creates a new framebuffer with an buffer object as its scanout buffer.

check_modesetting_supported

Checks if mode setting for device describer by busid is supported.

get_connector

Return Connector.

get_crtc

Return CRTC.

get_encoder

Return Encoder.

get_resources

Returns device resources.

page_flip

Perform page flip.

set_crtc

Set the mode on a crtc crtc_id with the given mode.

Type Definitions

ConnectorId

Type of connector id.

ConnectorType

Type of connector type.

ConnectorTypeId

Type of connector type id.

CrtcId

Type of CRTC id.

EncoderId

Type of encoder id.

EncoderType

Type of encoder type.