Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/xe: Add documentation for Xe Device Wedging

Add documentation for Xe Device Wedging so that
file can be referenced in following patches.

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250826063419.3022216-2-riana.tauro@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Riana Tauro and committed by
Rodrigo Vivi
38fc73b8 41880786

+21
+1
Documentation/gpu/xe/index.rst
··· 25 25 xe_tile 26 26 xe_debugging 27 27 xe_devcoredump 28 + xe_device 28 29 xe-drm-usage-stats.rst 29 30 xe_configfs
+10
Documentation/gpu/xe/xe_device.rst
··· 1 + .. SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + 3 + .. _xe-device-wedging: 4 + 5 + ================== 6 + Xe Device Wedging 7 + ================== 8 + 9 + .. kernel-doc:: drivers/gpu/drm/xe/xe_device.c 10 + :doc: Xe Device Wedging
+10
drivers/gpu/drm/xe/xe_device.c
··· 1167 1167 } 1168 1168 1169 1169 /** 1170 + * DOC: Xe Device Wedging 1171 + * 1172 + * Xe driver uses drm device wedged uevent as documented in Documentation/gpu/drm-uapi.rst. 1173 + * When device is in wedged state, every IOCTL will be blocked and GT cannot be 1174 + * used. Certain critical errors like gt reset failure, firmware failures can cause 1175 + * the device to be wedged. The default recovery method for a wedged state 1176 + * is rebind/bus-reset. 1177 + */ 1178 + 1179 + /** 1170 1180 * xe_device_declare_wedged - Declare device wedged 1171 1181 * @xe: xe device instance 1172 1182 *