drm/gem: Tiny kernel clarification for drm_gem_fence_array_add
Subsystems (2)
PATCH 1/1 drm/gem: Tiny kernel clarification for drm_gem_fence_array_add
Spotted while trying to convert panfrost to these.
Signed-off-by Daniel Vetter <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
--- drivers/gpu/drm/drm_gem.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_gem.c +3 -0
@@ -1312,6 +1312,9 @@ EXPORT_SYMBOL(drm_gem_unlock_reservations);* @fence_array: array of dma_fence * for the job to block on. * @fence: the dma_fence to add to the list of dependencies. * +* This functions consumes the reference for @fence both on success and error +* cases. +* * Returns: * 0 on success, or an error on failing to expand the array. */
Signature · 1 line
2.31.0
Quoted 8 lines · Daniel Vetter
Spotted while trying to convert panfrost to these.
Signed-off-by Daniel Vetter <[email protected]>Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>
Cc Emma Anholt <[email protected]>
As original author of these.
-Daniel
Quoted 21 lines
--- drivers/gpu/drm/drm_gem.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/drm_gem.c +3
-0@@ -1312,6 +1312,9 @@ EXPORT_SYMBOL(drm_gem_unlock_reservations);* @fence_array: array of dma_fence * for the job to block on. * @fence: the dma_fence to add to the list of dependencies. * +* This functions consumes the reference for @fence both on success and error +* cases. +* * Returns: * 0 on success, or an error on failing to expand the array. */ Signature · 1 line
2.31.0
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch