Commit 1eee814d authored by Lespiau, Damien's avatar Lespiau, Damien Committed by Dave Airlie

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: default avatarDamien Lespiau <damien.lespiau@intel.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 9066f83c
...@@ -105,9 +105,9 @@ static void drm_mode_validate_flag(struct drm_connector *connector, ...@@ -105,9 +105,9 @@ static void drm_mode_validate_flag(struct drm_connector *connector,
* then culled (based on validity and the @maxX, @maxY parameters) and put into * then culled (based on validity and the @maxX, @maxY parameters) and put into
* the normal modes list. * the normal modes list.
* *
* Intended to be use as a generic implementation of the ->probe() @connector * Intended to be use as a generic implementation of the ->fill_modes()
* callback for drivers that use the crtc helpers for output mode filtering and * @connector vfunc for drivers that use the crtc helpers for output mode
* detection. * filtering and detection.
* *
* RETURNS: * RETURNS:
* Number of modes found on @connector. * Number of modes found on @connector.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment