[PATCH v7 6/6] drm/xe/guc: Update comments on GuC-Err-Capture flows
Dong, Zhanjun
zhanjun.dong at intel.com
Tue Feb 11 23:09:16 UTC 2025
On 2025-02-10 6:32 p.m., Alan Previn wrote:
> Update the comments on GuC-Err-Capture flows with the
> updated function names.
>
> Signed-off-by: Alan Previn <alan.previn.teres.alexis at intel.com>
> ---
> drivers/gpu/drm/xe/xe_guc_capture.c | 19 +++++++++++--------
> 1 file changed, 11 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_guc_capture.c b/drivers/gpu/drm/xe/xe_guc_capture.c
> index 746d3b21b18b..15f9b08ff7bb 100644
> --- a/drivers/gpu/drm/xe/xe_guc_capture.c
> +++ b/drivers/gpu/drm/xe/xe_guc_capture.c
> @@ -905,22 +905,25 @@ guc_capture_init_node(struct xe_guc *guc, struct xe_guc_capture_snapshot *node)
> * list. This list is used for matchup and printout by xe_devcoredump_read
> * and xe_engine_snapshot_print, (when user invokes the devcoredump sysfs).
> *
> - * GUC --> notify context reset:
> - * -----------------------------
> + * DRM Scheduler job-timeout OR GuC-notify guc-id reset:
> + * -----------------------------------------------------
> * --> guc_exec_queue_timedout_job
> - * L--> xe_devcoredump
> + * L--> xe_guc_capture_snapshot_store_manual_job (if GuC didn't report an
> + * error capture node for this job)
> + * L--> xe_devcoredump
> * L--> devcoredump_snapshot
> - * --> xe_hw_engine_snapshot_capture
> - * --> xe_engine_manual_capture(For manual capture)
> + * --> xe_engine_snapshot_capture_for_queue
> *
> - * User Sysfs / Debugfs
> - * --------------------
> - * --> xe_devcoredump_read->
> + * User Devcoredump Sysfs
> + * ----------------------
> + * --> xe_devcoredump_read-> (user cats devcoredump)
> * L--> xxx_snapshot_print
> * L--> xe_hw_engine_print --> xe_hw_engine_snapshot_print
> * L--> xe_guc_capture_snapshot_print
L--> hw_engine_snapshot_capture
xe_guc_capture_snapshot_manual_hwe
// The new function which do manual capture without job
And, for debugfs, it did not calls xe_devcoredump_read...
instead, by "hw_engines". Shall we mention debugfs call
xe_hw_engine_print directly?
Other than that, LGTM
Reviewed-by: Zhanjun Dong <zhanjun.dong at intel.com>
> * Print register lists values saved in matching
> * node from guc->capture->outlist
> + * --> xe_devcoredump_free (when user clears the dump)
> + * L--> xe_devcoredump_snapshot_free --> xe_guc_capture_put_matched_nodes
> *
> */
>
More information about the Intel-xe
mailing list