Skip to content

Commit

Permalink
drm: document the drm_mode_group structure
Browse files Browse the repository at this point in the history
This is actually a core structure with a big future ahead of it.  Make
it a little less mysterious.

Signed-off-by: Jesse Barnes <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
  • Loading branch information
jbarnes993 authored and airlied committed Dec 6, 2011
1 parent 550cebc commit c1aaca2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions include/drm/drm_crtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,19 @@ struct drm_mode_config_funcs {
void (*output_poll_changed)(struct drm_device *dev);
};

/**
* drm_mode_group - group of mode setting resources for potential sub-grouping
* @num_crtcs: CRTC count
* @num_encoders: encoder count
* @num_connectors: connector count
* @id_list: list of KMS object IDs in this group
*
* Currently this simply tracks the global mode setting state. But in the
* future it could allow groups of objects to be set aside into independent
* control groups for use by different user level processes (e.g. two X servers
* running simultaneously on different heads, each with their own mode
* configuration and freedom of mode setting).
*/
struct drm_mode_group {
uint32_t num_crtcs;
uint32_t num_encoders;
Expand Down

0 comments on commit c1aaca2

Please sign in to comment.