]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dma-buf: give examples of error codes to use
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Mon, 26 Aug 2024 12:25:39 +0000 (14:25 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 6 Sep 2024 16:05:58 +0000 (18:05 +0200)
commita401bd1264b400f96a4cf61ed3fc144008e97a4e
tree85ae8d6c52cacb2268a027a907db10f2f871f794
parentb2ef808786d93df36585cee42cfb973fc41636eb
dma-buf: give examples of error codes to use

The dma_fence_set_error() function allows to set an error code on a
dma_fence object before it is signaled.

Document some of the potential error codes drivers should use and
especially what they mean.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240826122541.85663-2-christian.koenig@amd.com
include/linux/dma-fence.h