]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/doc: Document submission error signaling
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Mon, 26 Aug 2024 12:25:40 +0000 (14:25 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 6 Sep 2024 16:06:06 +0000 (18:06 +0200)
commitf07a0d1bf7de562b2806bce0ba8601c325627c4e
tree4bd07abe5729511f05b6d70757a4d40bd12853b7
parenta401bd1264b400f96a4cf61ed3fc144008e97a4e
drm/doc: Document submission error signaling

Different approaches have been tried to signal resets and other errors in
vendor specific ways which not only resulted in a wide variety of
implementations but also repeating the same bugs and problems over different
drivers.

Document that drivers should use dma_fence based error signaling which is
vendor agnostic and allows userspace to query submission errors in generic
non-vendor specific code.

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-3-christian.koenig@amd.com
Documentation/gpu/drm-uapi.rst