[PATCH v6 6/9] drm/xe/doc: Document device wedged and runtime survivability
Raag Jadav
raag.jadav at intel.com
Fri Jul 25 05:50:08 UTC 2025
On Thu, Jul 24, 2025 at 08:04:35PM +0530, Riana Tauro wrote:
> Add documentation for vendor specific device wedged recovery method
> and runtime survivability.
...
> /**
> + * DOC: Xe Device Wedging
> + *
> + * Xe driver uses drm device wedged uevent as documented in Documentation/gpu/drm-uapi.rst.
> + *
> + * When device is in wedged state, every IOCTL will be blocked and GT cannot be
> + * used. Certain critical errors like gt reset failure, firmware failures can cause
> + * the device to be wedged. The default recovery method for a wedged state
> + * is rebind/bus-reset.
> + *
> + * Another recovery method is vendor-specific. Below are the usecases that trigger
> + * vendor-specific drm device wedged uevent and the procedure to be performed
> + * to recover the device.
> + *
> + * Case 1: CSC firmware errors require a firmware flash to restore normal device
> + * operation. Since firmware flash is a vendor-specific action
> + * ``WEDGED=vendor-specific`` recovery method along with
> + * :ref:`runtime survivability mode <xe-survivability-mode>` is used to
> + * notify userspace. User can then initiate a firmware flash using userspace tools
> + * like fwupd to restore device to normal situation.
s/situation/operation
Reviewed-by: Raag Jadav <raag.jadav at intel.com>
More information about the Intel-xe
mailing list