]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drm: document and cleanup drm_mode_config_funcs
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Nov 2011 20:03:20 +0000 (12:03 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 10:23:33 +0000 (10:23 +0000)
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>
include/drm/drm_crtc.h

index f3bcff473f6eb5758fc5e073b0ec121f740191f6..671e3c3bf9f4c907baa4651343f66c62722b22ab 100644 (file)
@@ -676,10 +676,17 @@ struct drm_mode_set {
 };
 
 /**
- * struct drm_mode_config_funcs - configure CRTCs for a given screen layout
+ * struct drm_mode_config_funcs - basic driver provided mode setting functions
+ * @fb_create: create a new framebuffer object
+ * @output_poll_changed: function to handle output configuration changes
+ *
+ * Some global (i.e. not per-CRTC, connector, etc) mode setting functions that
+ * involve drivers.
  */
 struct drm_mode_config_funcs {
-       struct drm_framebuffer *(*fb_create)(struct drm_device *dev, struct drm_file *file_priv, struct drm_mode_fb_cmd2 *mode_cmd);
+       struct drm_framebuffer *(*fb_create)(struct drm_device *dev,
+                                            struct drm_file *file_priv,
+                                            struct drm_mode_fb_cmd2 *mode_cmd);
        void (*output_poll_changed)(struct drm_device *dev);
 };