diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-05-17 07:27:20 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-22 05:34:33 -0400 |
commit | 3b02ab8893d45f17ae104588e337188127068a92 (patch) | |
tree | 27a83d4543233d151e8063ef75916897bca364a1 /include/drm/drm_crtc_helper.h | |
parent | 4a1b0714275796fdbc35427cf361eb4123e5e9f6 (diff) |
drm: Miscellaneous typo fixes and documentation updates
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc_helper.h')
-rw-r--r-- | include/drm/drm_crtc_helper.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h index 3add00e03388..7988e55c98d0 100644 --- a/include/drm/drm_crtc_helper.h +++ b/include/drm/drm_crtc_helper.h | |||
@@ -44,6 +44,13 @@ enum mode_set_atomic { | |||
44 | ENTER_ATOMIC_MODE_SET, | 44 | ENTER_ATOMIC_MODE_SET, |
45 | }; | 45 | }; |
46 | 46 | ||
47 | /** | ||
48 | * drm_crtc_helper_funcs - helper operations for CRTCs | ||
49 | * @mode_fixup: try to fixup proposed mode for this connector | ||
50 | * @mode_set: set this mode | ||
51 | * | ||
52 | * The helper operations are called by the mid-layer CRTC helper. | ||
53 | */ | ||
47 | struct drm_crtc_helper_funcs { | 54 | struct drm_crtc_helper_funcs { |
48 | /* | 55 | /* |
49 | * Control power levels on the CRTC. If the mode passed in is | 56 | * Control power levels on the CRTC. If the mode passed in is |
@@ -76,6 +83,13 @@ struct drm_crtc_helper_funcs { | |||
76 | void (*disable)(struct drm_crtc *crtc); | 83 | void (*disable)(struct drm_crtc *crtc); |
77 | }; | 84 | }; |
78 | 85 | ||
86 | /** | ||
87 | * drm_encoder_helper_funcs - helper operations for encoders | ||
88 | * @mode_fixup: try to fixup proposed mode for this connector | ||
89 | * @mode_set: set this mode | ||
90 | * | ||
91 | * The helper operations are called by the mid-layer CRTC helper. | ||
92 | */ | ||
79 | struct drm_encoder_helper_funcs { | 93 | struct drm_encoder_helper_funcs { |
80 | void (*dpms)(struct drm_encoder *encoder, int mode); | 94 | void (*dpms)(struct drm_encoder *encoder, int mode); |
81 | void (*save)(struct drm_encoder *encoder); | 95 | void (*save)(struct drm_encoder *encoder); |
@@ -97,6 +111,13 @@ struct drm_encoder_helper_funcs { | |||
97 | void (*disable)(struct drm_encoder *encoder); | 111 | void (*disable)(struct drm_encoder *encoder); |
98 | }; | 112 | }; |
99 | 113 | ||
114 | /** | ||
115 | * drm_connector_helper_funcs - helper operations for connectors | ||
116 | * @get_modes: get mode list for this connector | ||
117 | * @mode_valid: is this mode valid on the given connector? | ||
118 | * | ||
119 | * The helper operations are called by the mid-layer CRTC helper. | ||
120 | */ | ||
100 | struct drm_connector_helper_funcs { | 121 | struct drm_connector_helper_funcs { |
101 | int (*get_modes)(struct drm_connector *connector); | 122 | int (*get_modes)(struct drm_connector *connector); |
102 | int (*mode_valid)(struct drm_connector *connector, | 123 | int (*mode_valid)(struct drm_connector *connector, |