mbox series

[v3,0/1] drm/amdgpu: Use device wedged event

Message ID 20241216162104.58241-1-andrealmeid@igalia.com (mailing list archive)
Headers show
Series drm/amdgpu: Use device wedged event | expand

Message

André Almeida Dec. 16, 2024, 4:21 p.m. UTC
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
v3: fix if condition
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(+)