[PATCH v3 1/3] drm: Create an app info option for wedge events
Krzysztof Karas
krzysztof.karas at intel.com
Fri May 16 07:38:25 UTC 2025
Hi André,
> When a device get wedged, it might be caused by a guilty application.
> For userspace, knowing which app was the cause can be useful for some
> situations, like for implementing a policy, logs or for giving a chance
> for the compositor to let the user know what app caused the problem.
> This is an optional argument, when the app info is not available, the
> PID and APP string won't appear in the event string.
>
> Sometimes just the PID isn't enough giving that the app might be already
> dead by the time userspace will try to check what was this PID's name,
> so to make the life easier also notify what's the app's name in the user
> event.
>
> Acked-by: Rodrigo Vivi <rodrigo.vivi at intel.com> (for i915 and xe)
> Signed-off-by: André Almeida <andrealmeid at igalia.com>
> ---
> v3: Make comm_string and pid_string empty when there's no app info
LGTM:
Reviewed-by: Krzysztof Karas <krzysztof.karas at intel.com>
Best Regards,
Krzysztof
More information about the Intel-gfx
mailing list