From: "Christian König" <christian.koenig@amd.com>
To: "André Almeida" <andrealmeid@igalia.com>,
"Alex Deucher" <alexander.deucher@amd.com>,
siqueira@igalia.com, airlied@gmail.com, simona@ffwll.ch,
"Raag Jadav" <raag.jadav@intel.com>,
rodrigo.vivi@intel.com, jani.nikula@linux.intel.com,
"Xaver Hugl" <xaver.hugl@gmail.com>,
"Krzysztof Karas" <krzysztof.karas@intel.com>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
kernel-dev@igalia.com, amd-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH v9 4/6] drm/doc: Add a section about "Task information" for the wedge API
Date: Tue, 17 Jun 2025 15:01:56 +0200 [thread overview]
Message-ID: <66bcc24a-4738-4735-a051-d08c919a1ca4@amd.com> (raw)
In-Reply-To: <20250617124949.2151549-5-andrealmeid@igalia.com>
On 6/17/25 14:49, André Almeida wrote:
> Add a section about "Task information" for the wedge API.
>
> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
> Reviewed-by: Raag Jadav <raag.jadav@intel.com>
> Signed-off-by: André Almeida <andrealmeid@igalia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
> ---
> v5:
> - Change app to task in the text as well
> v4:
> - Change APP to TASK
> v3:
> - Change "app that caused ..." to "app involved ..."
> - Clarify that devcoredump have more information about what happened
> - Update that PID and APP will be empty if there's no app info
> ---
> Documentation/gpu/drm-uapi.rst | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/Documentation/gpu/drm-uapi.rst b/Documentation/gpu/drm-uapi.rst
> index 4863a4deb0ee..263e5a97c080 100644
> --- a/Documentation/gpu/drm-uapi.rst
> +++ b/Documentation/gpu/drm-uapi.rst
> @@ -446,6 +446,23 @@ telemetry information (devcoredump, syslog). This is useful because the first
> hang is usually the most critical one which can result in consequential hangs or
> complete wedging.
>
> +Task information
> +---------------
> +
> +The information about which application (if any) was involved in the device
> +wedging is useful for userspace if they want to notify the user about what
> +happened (e.g. the compositor display a message to the user "The <task name>
> +caused a graphical error and the system recovered") or to implement policies
> +(e.g. the daemon may "ban" an task that keeps resetting the device). If the task
> +information is available, the uevent will display as ``PID=<pid>`` and
> +``TASK=<task name>``. Otherwise, ``PID`` and ``TASK`` will not appear in the
> +event string.
> +
> +The reliability of this information is driver and hardware specific, and should
> +be taken with a caution regarding it's precision. To have a big picture of what
> +really happened, the devcoredump file provides should have much more detailed
> +information about the device state and about the event.
> +
> Consumer prerequisites
> ----------------------
>
next prev parent reply other threads:[~2025-06-17 13:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-17 12:49 [PATCH v9 0/6] drm: Create a task info option for wedge events André Almeida
2025-06-17 12:49 ` [PATCH v9 1/6] drm: amdgpu: Allow NULL pointers at amdgpu_vm_put_task_info() André Almeida
2025-06-17 12:51 ` Christian König
2025-06-17 12:49 ` [PATCH v9 2/6] drm: amdgpu: Create amdgpu_vm_print_task_info() André Almeida
2025-06-17 12:53 ` Christian König
2025-06-17 12:49 ` [PATCH v9 3/6] drm: Create a task info option for wedge events André Almeida
2025-06-17 12:59 ` Christian König
2025-06-17 12:49 ` [PATCH v9 4/6] drm/doc: Add a section about "Task information" for the wedge API André Almeida
2025-06-17 13:01 ` Christian König [this message]
2025-06-17 12:49 ` [PATCH v9 5/6] drm: amdgpu: Use struct drm_wedge_task_info inside of struct amdgpu_task_info André Almeida
2025-06-17 12:49 ` [PATCH v9 6/6] drm/amdgpu: Make use of drm_wedge_task_info André Almeida
2025-06-17 13:07 ` Christian König
2025-06-17 13:22 ` André Almeida
2025-06-17 14:38 ` André Almeida
2025-06-18 7:29 ` Christian König
2025-06-18 12:39 ` André Almeida
2025-06-17 14:54 ` André Almeida
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=66bcc24a-4738-4735-a051-d08c919a1ca4@amd.com \
--to=christian.koenig@amd.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=andrealmeid@igalia.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=kernel-dev@igalia.com \
--cc=krzysztof.karas@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=raag.jadav@intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=simona@ffwll.ch \
--cc=siqueira@igalia.com \
--cc=xaver.hugl@gmail.com \
/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®