aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-03-01 01:31:09 -0800
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-19 18:29:46 -0500
commit766849c4accad67f8affa37c580d44f48be193b6 (patch)
treeb7927d3df8ca9d29b20e228364dbc9a040fa98f4
parentf647eff1725430dd835ac05a9f8f1661e2765f8e (diff)
drm/xe: Name LRC wa after the engine it belongs
This makes it easier when printing the register-save-restore values to know what is the engine. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
-rw-r--r--drivers/gpu/drm/xe/xe_gt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index 343370b44506..daa433d0f2f5 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -318,7 +318,7 @@ int xe_gt_record_default_lrcs(struct xe_gt *gt)
if (gt->default_lrc[hwe->class])
continue;
- xe_reg_sr_init(&hwe->reg_lrc, "LRC", xe);
+ xe_reg_sr_init(&hwe->reg_lrc, hwe->name, xe);
xe_wa_process_lrc(hwe);
xe_tuning_process_lrc(hwe);