Skip to content

RFC Starter task: Querying errors from

Yicong Hui dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/syncobj: Add DRM_IOCTL_SYNCOBJ_QUERY_ERROR to query fence error statusdrivers/gpu/drm/drm_internal.h drivers/gpu/drm/drm_ioctl.c drivers/gpu/drm/drm_syncobj.c +1 more+39 -07 replies
2/2drm/syncobj/doc: Remove starter task from todo listDocumentation/gpu/todo.rst+0 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH v1 0/2] Starter task: Querying errors from

This patch series adds an ioctl that allows userspace to query a syncobj to get error codes from fences when submitted jobs fail, in response to the starter task in the drm todo documentation.

According to the kernel documentation:
https://docs.kernel.org/gpu/drm-uapi.html#testing-and-validation
I will need to add relevant test-cases into IGT alongside this patch, is that correct?

I am still a beginner, so I am submitting this as a RFC to make sure I'm going in the right direction with this - Would love to get some feedback on this patch series. Should I need to add additional parameters for flag inputs as well?

Yicong Hui (2):
drm/syncobj: Add DRM_IOCTL_SYNCOBJ_QUERY_ERROR to query fence error
status
drm/syncobj/doc: Remove starter task from todo list

 Documentation/gpu/todo.rst     | 16 ----------------
 drivers/gpu/drm/drm_internal.h |  2 ++
 drivers/gpu/drm/drm_ioctl.c    |  2 ++
 drivers/gpu/drm/drm_syncobj.c  | 22 ++++++++++++++++++++++
 include/uapi/drm/drm.h         | 13 +++++++++++++
 5 files changed, 39 insertions(+), 16 deletions(-)
Signature · 1 line
2.53.0