aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLespiau, Damien <damien.lespiau@intel.com>2013-09-23 09:48:09 -0400
committerDave Airlie <airlied@redhat.com>2013-10-09 01:55:29 -0400
commit1eee814dfd509e7fdb28361303c9b0ac927ff4c1 (patch)
tree7bb27a1695a77d633f6812932d585ea4b5139caa
parent9066f83c055edd0e42b0ecb57a27b308bde64687 (diff)
drm: Fix comment referring to the long gone ->probe() connector vfunc
drm_helper_probe_single_connector_modes() can be used to implement ->fill_modes(), not ->probe(). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/drm_crtc_helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c
index c722c3b5404d..c2a525dcf0d4 100644
--- a/drivers/gpu/drm/drm_crtc_helper.c
+++ b/drivers/gpu/drm/drm_crtc_helper.c
@@ -105,9 +105,9 @@ static void drm_mode_validate_flag(struct drm_connector *connector,
105 * then culled (based on validity and the @maxX, @maxY parameters) and put into 105 * then culled (based on validity and the @maxX, @maxY parameters) and put into
106 * the normal modes list. 106 * the normal modes list.
107 * 107 *
108 * Intended to be use as a generic implementation of the ->probe() @connector 108 * Intended to be use as a generic implementation of the ->fill_modes()
109 * callback for drivers that use the crtc helpers for output mode filtering and 109 * @connector vfunc for drivers that use the crtc helpers for output mode
110 * detection. 110 * filtering and detection.
111 * 111 *
112 * RETURNS: 112 * RETURNS:
113 * Number of modes found on @connector. 113 * Number of modes found on @connector.