drm: fix missing doc
Subsystems (2)
PATCH 1/1 drm: fix missing doc
flags is new param for drm_syncob_find_fence, so need update doc, reproduce: make htmldocs
reported:
htmldocs: drivers/gpu/drm/drm_syncobj.c:230: warning: Function parameter or member 'flags' not described in 'drm_syncobj_find_fence'
Signed-off-by Chunming Zhou <[email protected]>
--- drivers/gpu/drm/drm_syncobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_syncobj.c +2 -1
@@ -434,10 +434,11 @@ EXPORT_SYMBOL(drm_syncobj_search_fence);* @file_private: drm file private pointer * @handle: sync object handle to lookup. * @point: timeline point +* @flags: DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT or not * @fence: out parameter for the fence * * This is just a convenience function that combines drm_syncobj_find() and -* drm_syncobj_lookup_fence(). +* drm_syncobj_search_fence(). * * Returns 0 on success or a negative error value on failure. On success @fence * contains a reference to the fence, which must be released by calling
Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 15 lines · Chunming Zhou
flags is new param for
drm_syncob_find_fence, so need update doc, reproduce: make htmldocsreported:
htmldocs:drivers/gpu/drm/drm_syncobj.c:230: warning: Function parameter or member 'flags' not described in 'drm_syncobj_find_fence'Signed-off-by Chunming Zhou <[email protected]>--- drivers/gpu/drm/drm_syncobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/drm_syncobj.c +0
-0
drivers/gpu/drm/drm_syncobj.c EXPORT_SYMBOL(drm_syncobj_search_fence); · line 441
Quoted 9 lines
drivers/gpu/drm/drm_syncobj.c +2
-1@@ -434,10 +434,11 @@ EXPORT_SYMBOL(drm_syncobj_search_fence);* @file_private: drm file private pointer * @handle: sync object handle to lookup. * @point: timeline point +* @flags: DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT or not * @fence: out parameter for the fence * * This is just a convenience function that combines drm_syncobj_find() and -* drm_syncobj_lookup_fence(). +* drm_syncobj_search_fence().
This part isn't needed yet in upstream. Can you pls resend with the patch rebased on top of drm-misc-next?
Thanks, Daniel
Quoted 10 lines
drivers/gpu/drm/drm_syncobj.c +0
-0* * Returns 0 on success or a negative error value on failure. On success @fence * contains a reference to the fence, which must be released by calling Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel