[PATCH v7 5/6] drm/xe/xe_hw_engine: Update xe_hw_engine capture for debugfs/gt_reset
Teres Alexis, Alan Previn
alan.previn.teres.alexis at intel.com
Tue Feb 11 17:34:00 UTC 2025
On Mon, 2025-02-10 at 15:32 -0800, Teres Alexis, Alan Previn wrote:
> xe_hw_engine_print is called by debugfs to do an immediate raw
> --- a/drivers/gpu/drm/xe/xe_guc_capture_snapshot_types.h
> +++ b/drivers/gpu/drm/xe/xe_guc_capture_snapshot_types.h
> @@ -12,7 +12,11 @@
> struct guc_mmio_reg;
>
> enum xe_guc_capture_snapshot_source {
> - XE_ENGINE_CAPTURE_SOURCE_MANUAL,
> + /* KMD captured engine registers when job timeout is detected */
> + XE_ENGINE_CAPTURE_SOURCE_MANUAL_JOB,
> + /* KMD captured raw engine registers without any job association */
> + XE_ENGINE_CAPTURE_SOURCE_MANUAL_RAW,
> + /* GUC-FW captured engine registers before workload was killed */
> XE_ENGINE_CAPTURE_SOURCE_GUC
> };
>
alan: some offline feedback was given to rename the enum to match:
"enum xe_guc_capture_snapshot_source" -> "enum xe_engine_capture_source"
More information about the Intel-xe
mailing list