]> Gentwo Git Trees - linux/.git/commit
drm/xe: Add a helper function to set recovery method
authorRiana Tauro <riana.tauro@intel.com>
Tue, 26 Aug 2025 06:34:11 +0000 (12:04 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 26 Aug 2025 14:11:34 +0000 (10:11 -0400)
commit60439ac3f23549ff272e626bd78502123086eaa5
tree60d40ff7fa5c308eb51a5e5a823af75e5682eec7
parent90fdcf5f89e9288c153923f16a60e6f7da18ba76
drm/xe: Add a helper function to set recovery method

Add a helper function to set recovery method. The recovery
method can 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.

v2: fix documentation (Raag)

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
Link: https://lore.kernel.org/r/20250826063419.3022216-5-riana.tauro@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_device_types.h