[PATCH v5 3/9] drm/xe: Add a helper function to set recovery method

Raag Jadav raag.jadav at intel.com
Sun Jul 20 12:04:42 UTC 2025


On Tue, Jul 15, 2025 at 04:17:23PM +0530, Riana Tauro wrote:
> Add a helper function to set recovery method. The recovery
> method has to be set before declaring the device wedged and sending the
> drm wedged uevent. If no method is set, default unbind/re-bind method
> will be set

...

>  /**
>   * xe_device_declare_wedged - Declare device wedged
>   * @xe: xe device instance
>   *
>   * This is a final state that can only be cleared with the recovery method
> - * specified in the drm wedged uevent. The default recovery method is
> - * re-probe (unbind + bind).
> + * specified in the drm wedged uevent. The method needs to be set using

'can be' sounds more suitable to me since it's optional.

> + * xe_device_set_wedged_method before declaring the device as wedged or the
> + * default method of reprobe (unbind/re-bind) will be sent

And with punctuations,

Reviewed-by: Raag Jadav <raag.jadav at intel.com>


More information about the dri-devel mailing list