[PATCH 1/5] drm/xe: Fix GT workaround handling
Tvrtko Ursulin
tvrtko.ursulin at igalia.com
Wed Jan 29 15:56:23 UTC 2025
Any rules using engine matching are currently broken due RTP
processing happening in early init before the list of hardware
engines has been initialised.
Fix it my moving the processing to later in the init phase.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>
---
drivers/gpu/drm/xe/xe_gt.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index 01a4a852b8f4..7feb4b6fb976 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -380,10 +380,6 @@ int xe_gt_init_early(struct xe_gt *gt)
if (err)
return err;
- xe_wa_process_gt(gt);
- xe_wa_process_oob(gt);
- xe_tuning_process_gt(gt);
-
xe_force_wake_init_gt(gt, gt_to_fw(gt));
spin_lock_init(>->global_invl_lock);
@@ -616,6 +612,10 @@ int xe_gt_init(struct xe_gt *gt)
if (err)
return err;
+ xe_wa_process_gt(gt);
+ xe_wa_process_oob(gt);
+ xe_tuning_process_gt(gt);
+
xe_force_wake_init_engines(gt, gt_to_fw(gt));
err = all_fw_domain_init(gt);
--
2.48.0
More information about the Intel-xe
mailing list