[PATCH v2 0/1] drm/amdgpu: Use device wedged event

André Almeida andrealmeid at igalia.com
Mon Dec 16 15:02:49 UTC 2024


Raag Jadav is introducing a new DRM API for generating "device wedged events",
to notify userspace when the device needs userspace intervention after a GPU
reset[1]. I did a simple patch to add support for it for amdgpu for the
telemetry aspect of the event. Tested in Steam Deck. This patch requires [1] to
be applied.

Raag, if you are sending a v11 of your work you can carry this patch as well if
you think it makes sense.

[1] https://lore.kernel.org/dri-devel/20241128153707.1294347-1-raag.jadav@intel.com/

Changelog
v2: only report if reset succeeded, make it depend on `r` value. 


André Almeida (1):
  drm/amdgpu: Use device wedged event

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.47.1



More information about the dri-devel mailing list