drm/xe: Add process name to devcoredump
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 22 May 2024 20:12:03 +0000 (13:12 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 23 May 2024 17:37:56 +0000 (13:37 -0400)
commitb10d0c5e9df7059be5bbfe2c6b293d8e4883f975
treef903ba85a02d95b0205da1702d7a6dc8d439dfc7
parente8ac8048a759ab59042019fd84e6db98c7dc32f8
drm/xe: Add process name to devcoredump

Process name help us track what application caused the gpug hang, this
is crucial when running several applications at the same time.

v2:
- handle Xe KMD exec_queues without VM

v3:
- use get_pid_task() (suggested by Nirmoy)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240522201203.145403-1-jose.souza@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_devcoredump.c
drivers/gpu/drm/xe/xe_devcoredump_types.h