mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/2] Starter task: Querying errors from
@ 2026-02-13 12:08 Yicong Hui
  2026-02-13 12:08 ` [RFC PATCH v1 1/2] drm/syncobj: Add DRM_IOCTL_SYNCOBJ_QUERY_ERROR to query fence error status Yicong Hui
  2026-02-13 12:08 ` [RFC PATCH v1 2/2] drm/syncobj/doc: Remove starter task from todo list Yicong Hui
  0 siblings, 2 replies; 10+ messages in thread
From: Yicong Hui @ 2026-02-13 12:08 UTC (permalink / raw)
  To: christian.koenig
  Cc: dri-devel, linux-kernel, skhan, david.hunter.linux, Yicong Hui

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-02-19  7:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-13 12:08 [RFC PATCH v1 0/2] Starter task: Querying errors from Yicong Hui
2026-02-13 12:08 ` [RFC PATCH v1 1/2] drm/syncobj: Add DRM_IOCTL_SYNCOBJ_QUERY_ERROR to query fence error status Yicong Hui
2026-02-17 10:29   ` Christian König
2026-02-17 11:35     ` Yicong Hui
2026-02-17 14:35     ` Michel Dänzer
2026-02-17 14:45       ` Christian König
2026-02-18 14:49         ` Michel Dänzer
2026-02-19  0:15           ` Yicong Hui
2026-02-19  7:31             ` Christian König
2026-02-13 12:08 ` [RFC PATCH v1 2/2] drm/syncobj/doc: Remove starter task from todo list Yicong Hui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®