struct drm_plane — central DRM plane control structure
struct drm_plane { struct drm_device * dev; struct list_head head; struct drm_mode_object base; uint32_t possible_crtcs; uint32_t * format_types; uint32_t format_count; bool format_default; struct drm_crtc * crtc; struct drm_framebuffer * fb; struct drm_framebuffer * old_fb; const struct drm_plane_funcs * funcs; struct drm_object_properties properties; enum drm_plane_type type; struct drm_plane_state * state; };
DRM device this plane belongs to
for list management
base mode object
pipes this plane can be bound to
array of formats supported by this plane
number of formats supported
driver hasn't supplied supported formats for the plane
currently bound CRTC
currently bound fb
Temporary tracking of the old fb while a modeset is ongoing. Used by
drm_mode_set_config_internal
to implement correct refcounting.
helper functions
property tracking for this plane
type of plane (overlay, primary, cursor)
current atomic state for this plane