drm: add drm_encoder comments
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Nov 2011 20:03:17 +0000 (12:03 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 10:23:30 +0000 (10:23 +0000)
Just some basic comments about the place and function of the structure
and fields.

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 7db2ce52c5a49713e06665442aec08fdceda7f6e..1cdef2e4dfd232495f12376f9afc5b2ce5e559bc 100644 (file)
@@ -456,6 +456,18 @@ struct drm_encoder_funcs {
 
 /**
  * drm_encoder - central DRM encoder structure
+ * @dev: parent DRM device
+ * @head: list management
+ * @base: base KMS object
+ * @encoder_type: one of the %DRM_MODE_ENCODER_<foo> types in drm_mode.h
+ * @possible_crtcs: bitmask of potential CRTC bindings
+ * @possible_clones: bitmask of potential sibling encoders for cloning
+ * @crtc: currently bound CRTC
+ * @funcs: control functions
+ * @helper_private: mid-layer private data
+ *
+ * CRTCs drive pixels to encoders, which convert them into signals
+ * appropriate for a given connector or set of connectors.
  */
 struct drm_encoder {
        struct drm_device *dev;