mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yicong Hui <yiconghui@gmail.com>
To: christian.koenig@amd.com
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	skhan@linuxfoundation.org, david.hunter.linux@gmail.com,
	Yicong Hui <yiconghui@gmail.com>
Subject: [RFC PATCH v1 0/2] Starter task: Querying errors from
Date: Fri, 13 Feb 2026 12:08:33 +0000	[thread overview]
Message-ID: <20260213120836.81283-1-yiconghui@gmail.com> (raw)

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


             reply	other threads:[~2026-02-13 12:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-13 12:08 Yicong Hui [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260213120836.81283-1-yiconghui@gmail.com \
    --to=yiconghui@gmail.com \
    --cc=christian.koenig@amd.com \
    --cc=david.hunter.linux@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®