summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_wa.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-05-26 09:43:44 -0700
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-19 18:34:02 -0500
commit40a627cafe02d44d24fa800b1d93c5d17b4649a5 (patch)
tree671f881c653dc30823133061cacaed510b00a69f /drivers/gpu/drm/xe/xe_wa.h
parent49d329a0824df79bb04d720ccdc9dbc257ec7e6b (diff)
downloadlwn-40a627cafe02d44d24fa800b1d93c5d17b4649a5.tar.gz
lwn-40a627cafe02d44d24fa800b1d93c5d17b4649a5.zip
drm/xe/debugfs: Dump active workarounds
Add a "workarounds" node in debugfs that can dump all the active workarounds using the information recorded by rtp infra when those workarounds were processed. v2: move workarounds to be reported per-GT Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20230526164358.86393-8-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_wa.h')
-rw-r--r--drivers/gpu/drm/xe/xe_wa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_wa.h b/drivers/gpu/drm/xe/xe_wa.h
index eae05bcecc68..defefa5d9611 100644
--- a/drivers/gpu/drm/xe/xe_wa.h
+++ b/drivers/gpu/drm/xe/xe_wa.h
@@ -6,6 +6,7 @@
#ifndef _XE_WA_
#define _XE_WA_
+struct drm_printer;
struct xe_gt;
struct xe_hw_engine;
@@ -15,5 +16,6 @@ void xe_wa_process_engine(struct xe_hw_engine *hwe);
void xe_wa_process_lrc(struct xe_hw_engine *hwe);
void xe_reg_whitelist_process_engine(struct xe_hw_engine *hwe);
+void xe_wa_dump(struct xe_gt *gt, struct drm_printer *p);
#endif