drm: document drm_mode_set structure
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Nov 2011 20:03:19 +0000 (12:03 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 10:23:32 +0000 (10:23 +0000)
This is a core mode setting structure that deserves a little verbiage.

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 7383236..f3bcff4 100644 (file)
@@ -646,7 +646,15 @@ struct drm_plane {
 };
 
 /**
- * struct drm_mode_set
+ * drm_mode_set - new values for a CRTC config change
+ * @head: list management
+ * @fb: framebuffer to use for new config
+ * @crtc: CRTC whose configuration we're about to change
+ * @mode: mode timings to use
+ * @x: position of this CRTC relative to @fb
+ * @y: position of this CRTC relative to @fb
+ * @connectors: array of connectors to drive with this CRTC if possible
+ * @num_connectors: size of @connectors array
  *
  * Represents a single crtc the connectors that it drives with what mode
  * and from which framebuffer it scans out from.