mbox series

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

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

Message

André Almeida Dec. 12, 2024, 7:09 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/

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

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

Comments

Lucas De Marchi Dec. 13, 2024, 2:10 p.m. UTC | #1
On Thu, Dec 12, 2024 at 04:09:08PM -0300, André Almeida wrote:
>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.

great, more users

when this started the plan was to merge it through drm-xe since xe was
the only user. Now we already have 3, so I think it makes sense to go
through drm-misc... I looked at the possible conflicts in i915 and xe
and they are minimal.

thanks
Lucas De Marchi

>
>[1] https://lore.kernel.org/dri-devel/20241128153707.1294347-1-raag.jadav@intel.com/
>
>André Almeida (1):
>  drm/amdgpu: Use device wedged event
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
> 1 file changed, 3 insertions(+)
>
>-- 
>2.47.1
>