diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-11-07 15:03:21 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 05:23:34 -0500 |
commit | c1aaca237c6d4d9a60390e69048d1eff1dc7506a (patch) | |
tree | a8019ac771c9f6f032e20fbdd6691b4f476789fc /include | |
parent | 550cebcdb5bebc655812b631156a162cec908794 (diff) |
drm: document the drm_mode_group structure
This is actually a core structure with a big future ahead of it. Make
it a little less mysterious.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_crtc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 671e3c3bf9f4..2f8a4ac2432f 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -690,6 +690,19 @@ struct drm_mode_config_funcs { | |||
690 | void (*output_poll_changed)(struct drm_device *dev); | 690 | void (*output_poll_changed)(struct drm_device *dev); |
691 | }; | 691 | }; |
692 | 692 | ||
693 | /** | ||
694 | * drm_mode_group - group of mode setting resources for potential sub-grouping | ||
695 | * @num_crtcs: CRTC count | ||
696 | * @num_encoders: encoder count | ||
697 | * @num_connectors: connector count | ||
698 | * @id_list: list of KMS object IDs in this group | ||
699 | * | ||
700 | * Currently this simply tracks the global mode setting state. But in the | ||
701 | * future it could allow groups of objects to be set aside into independent | ||
702 | * control groups for use by different user level processes (e.g. two X servers | ||
703 | * running simultaneously on different heads, each with their own mode | ||
704 | * configuration and freedom of mode setting). | ||
705 | */ | ||
693 | struct drm_mode_group { | 706 | struct drm_mode_group { |
694 | uint32_t num_crtcs; | 707 | uint32_t num_crtcs; |
695 | uint32_t num_encoders; | 708 | uint32_t num_encoders; |