drm/xe: Always capture exec queues on snapshot
authorMatthew Brost <matthew.brost@intel.com>
Fri, 5 Apr 2024 21:16:31 +0000 (14:16 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 8 Apr 2024 21:47:37 +0000 (14:47 -0700)
commit0417a5f84810eaef43c1e64a11df4e0238b4bf09
treea69512586ee3c33682d9346e9cc8e381570b3f18
parent31ced035ecde7b24aef57c3c4b85bbc3283c81f2
drm/xe: Always capture exec queues on snapshot

Always capture exec queues on snapshot regardless if exec queue has
pending jobs or not. Having jobs or not does indicate whether the exec
queue capture is useful.

Example bugs that would not be easily detected by skipping capture when
pending job list is empty:
- Jobs pending on exec queue have dependencies
- Leaking exec queue refs
- GuC protocol issues (i.e. losing G2H)

In addition to above bugs, in general it just useful to see every exec
queue registered with the GuC and its state.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240405211632.223568-2-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_devcoredump.c
drivers/gpu/drm/xe/xe_guc_submit.c
drivers/gpu/drm/xe/xe_guc_submit.h