Commit 86446116 authored by Christian König's avatar Christian König Committed by T.J. Mercier
Browse files

UPSTREAM: dma-buf: clarify dma_fence_add_callback documentation



That the caller doesn't need to keep a reference is rather
risky and not defensive at all.

Especially dma_buf_poll got that horrible wrong, so better
remove that sentence and also clarify that the callback
might be called in atomic or interrupt context.

Change-Id: I54fcd09bd3575d6bd1a37d812efc21981776645f
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210901120240.7339-3-christian.koenig@amd.com


(cherry picked from commit 044e55b1)
Bug: 394776841
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent b1fe409d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment