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

From: Yicong Hui

Date: Fri Feb 13 2026 - 07:08:48 EST


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(-)

--
2.53.0