drm: Fix comment referring to the long gone ->probe() connector vfunc
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/drm_crtc_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/drm_crtc_helper.c +3 -3
@@ -109,9 +109,9 @@ static void drm_mode_validate_flag(struct drm_connector *connector,* then culled (based on validity and the @maxX, @maxY parameters) and put into * the normal modes list. * -* Intended to be use as a generic implementation of the ->probe() @connector -* callback for drivers that use the crtc helpers for output mode filtering and -* detection. +* Intended to be use as a generic implementation of the ->fill_modes() +* @connector vfunc for drivers that use the crtc helpers for output mode +* filtering and detection. * * RETURNS: * Number of modes found on @connector.
Signature · 1 line
1.8.3.1
Quoted 4 lines · Damien Lespiau
drm_helper_probe_single_connector_modes()can be used to implement ->fill_modes(), not ->probe().Signed-off-by Damien Lespiau <[email protected]>
Reviewed-by Daniel Vetter <[email protected]>
Quoted 28 lines
--- drivers/gpu/drm/drm_crtc_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/drm_crtc_helper.c +3
-3@@ -109,9 +109,9 @@ static void drm_mode_validate_flag(struct drm_connector *connector,* then culled (based on validity and the @maxX, @maxY parameters) and put into * the normal modes list. * -* Intended to be use as a generic implementation of the ->probe() @connector -* callback for drivers that use the crtc helpers for output mode filtering and -* detection. +* Intended to be use as a generic implementation of the ->fill_modes() +* @connector vfunc for drivers that use the crtc helpers for output mode +* filtering and detection. * * RETURNS: * Number of modes found on @connector. Signature · 6 lines
1.8.3.1 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch