]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm: add comments for drm_encoder_funcs
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Nov 2011 20:03:16 +0000 (12:03 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 10:23:29 +0000 (10:23 +0000)
Just basic 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 9014599791a5078ce184c2c8dd0d7bce4c9f1356..7db2ce52c5a49713e06665442aec08fdceda7f6e 100644 (file)
@@ -437,6 +437,13 @@ struct drm_connector_funcs {
        void (*force)(struct drm_connector *connector);
 };
 
+/**
+ * drm_encoder_funcs - encoder controls
+ * @reset: reset state (e.g. at init or resume time)
+ * @destroy: cleanup and free associated data
+ *
+ * Encoders sit between CRTCs and connectors.
+ */
 struct drm_encoder_funcs {
        void (*reset)(struct drm_encoder *encoder);
        void (*destroy)(struct drm_encoder *encoder);