diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-11-07 15:03:20 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 05:23:33 -0500 |
commit | 550cebcdb5bebc655812b631156a162cec908794 (patch) | |
tree | edc625deb75c916ed3b1b752bbb759d5ff37f69a /include/drm/drm_crtc.h | |
parent | ef27351ae1ee83bdd5114523fef9eff405c25a35 (diff) |
drm: document and cleanup drm_mode_config_funcs
Just fix the wrapping mostly.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index f3bcff473f6e..671e3c3bf9f4 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -676,10 +676,17 @@ struct drm_mode_set { | |||
676 | }; | 676 | }; |
677 | 677 | ||
678 | /** | 678 | /** |
679 | * struct drm_mode_config_funcs - configure CRTCs for a given screen layout | 679 | * struct drm_mode_config_funcs - basic driver provided mode setting functions |
680 | * @fb_create: create a new framebuffer object | ||
681 | * @output_poll_changed: function to handle output configuration changes | ||
682 | * | ||
683 | * Some global (i.e. not per-CRTC, connector, etc) mode setting functions that | ||
684 | * involve drivers. | ||
680 | */ | 685 | */ |
681 | struct drm_mode_config_funcs { | 686 | struct drm_mode_config_funcs { |
682 | struct drm_framebuffer *(*fb_create)(struct drm_device *dev, struct drm_file *file_priv, struct drm_mode_fb_cmd2 *mode_cmd); | 687 | struct drm_framebuffer *(*fb_create)(struct drm_device *dev, |
688 | struct drm_file *file_priv, | ||
689 | struct drm_mode_fb_cmd2 *mode_cmd); | ||
683 | void (*output_poll_changed)(struct drm_device *dev); | 690 | void (*output_poll_changed)(struct drm_device *dev); |
684 | }; | 691 | }; |
685 | 692 | ||