mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/doc: Add a section about "Task information" for the wedge API
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> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://lore.kernel.org/r/20250617124949.2151549-5-andrealmeid@igalia.com Signed-off-by: André Almeida <andrealmeid@igalia.com>
This commit is contained in:
parent
183bccafa1
commit
cd37124b40
1 changed files with 17 additions and 0 deletions
|
@ -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
|
||||
----------------------
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue