diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-11-07 15:03:16 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 05:23:29 -0500 |
commit | 6c3db9200b75f0fd736c9d766b754b971ad07eb1 (patch) | |
tree | 9d7d483e9b489750be87e427af3291f8fef38645 /include/drm/drm_crtc.h | |
parent | 7749163efe5b366d53a3609229263c7a7994a8df (diff) |
drm: add comments for drm_encoder_funcs
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>
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 9014599791a5..7db2ce52c5a4 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -437,6 +437,13 @@ struct drm_connector_funcs { | |||
437 | void (*force)(struct drm_connector *connector); | 437 | void (*force)(struct drm_connector *connector); |
438 | }; | 438 | }; |
439 | 439 | ||
440 | /** | ||
441 | * drm_encoder_funcs - encoder controls | ||
442 | * @reset: reset state (e.g. at init or resume time) | ||
443 | * @destroy: cleanup and free associated data | ||
444 | * | ||
445 | * Encoders sit between CRTCs and connectors. | ||
446 | */ | ||
440 | struct drm_encoder_funcs { | 447 | struct drm_encoder_funcs { |
441 | void (*reset)(struct drm_encoder *encoder); | 448 | void (*reset)(struct drm_encoder *encoder); |
442 | void (*destroy)(struct drm_encoder *encoder); | 449 | void (*destroy)(struct drm_encoder *encoder); |