* [PATCH] dma-buf/dma-fence: improve doc for dma_fence_add_callback()
@ 2017-02-15 17:57 Gustavo Padovan
2017-02-15 20:57 ` Chris Wilson
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Padovan @ 2017-02-15 17:57 UTC (permalink / raw)
To: dri-devel; +Cc: Gustavo Padovan
From: Gustavo Padovan <gustavo.padovan@collabora.com>
Document return values for this function.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
---
drivers/dma-buf/dma-fence.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/dma-buf/dma-fence.c b/drivers/dma-buf/dma-fence.c
index d1f1f45..809b397 100644
--- a/drivers/dma-buf/dma-fence.c
+++ b/drivers/dma-buf/dma-fence.c
@@ -239,6 +239,8 @@ EXPORT_SYMBOL(dma_fence_enable_sw_signaling);
* after it signals with dma_fence_signal. The callback itself can be called
* from irq context.
*
+ * Returns 0 in case of success, -ENOENT if the fence is already signaled
+ * and -EINVAL in case of error.
*/
int dma_fence_add_callback(struct dma_fence *fence, struct dma_fence_cb *cb,
dma_fence_func_t func)
--
2.9.3
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dma-buf/dma-fence: improve doc for dma_fence_add_callback()
2017-02-15 17:57 [PATCH] dma-buf/dma-fence: improve doc for dma_fence_add_callback() Gustavo Padovan
@ 2017-02-15 20:57 ` Chris Wilson
2017-02-16 4:31 ` Sumit Semwal
0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2017-02-15 20:57 UTC (permalink / raw)
To: Gustavo Padovan; +Cc: Gustavo Padovan, dri-devel
On Wed, Feb 15, 2017 at 03:57:25PM -0200, Gustavo Padovan wrote:
> From: Gustavo Padovan <gustavo.padovan@collabora.com>
>
> Document return values for this function.
>
> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dma-buf/dma-fence: improve doc for dma_fence_add_callback()
2017-02-15 20:57 ` Chris Wilson
@ 2017-02-16 4:31 ` Sumit Semwal
0 siblings, 0 replies; 3+ messages in thread
From: Sumit Semwal @ 2017-02-16 4:31 UTC (permalink / raw)
To: Chris Wilson, Gustavo Padovan, DRI mailing list, Gustavo Padovan
Hi Gustavo,
On 16 February 2017 at 02:27, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Wed, Feb 15, 2017 at 03:57:25PM -0200, Gustavo Padovan wrote:
>> From: Gustavo Padovan <gustavo.padovan@collabora.com>
>>
>> Document return values for this function.
>>
>> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
> -Chris
>
Thanks, pushed to drm-misc.
> --
> Chris Wilson, Intel Open Source Technology Centre
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-16 4:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 17:57 [PATCH] dma-buf/dma-fence: improve doc for dma_fence_add_callback() Gustavo Padovan
2017-02-15 20:57 ` Chris Wilson
2017-02-16 4:31 ` Sumit Semwal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.