[PATCH 0/5] drm/xe: Fix early probe order
Lucas De Marchi
lucas.demarchi at intel.com
Thu Apr 25 18:24:05 UTC 2024
( It looks like our initialization functions are in a less than optimal
order, with additional functions being added in random places. We
probably need to rename some to follow a pattern so this doesn't happen
again )
What this series does is to fix the mostly blatant mistakes in the gt
initialization part: since the addition of hwconfig, the WA processing
is not done as early as it should. Future workarounds will require
XE_WA() matching much earlier. Move initialization around and drop dead
code to cover that.
Lucas De Marchi (5):
drm/xe: Drop __engine_mask
drm/xe: Drop useless forcewake get/put
drm/xe: Move xe_gt_init_early() where it belongs
drm/xe: Move xe_force_wake_init_gt() inside gt initialization
drm/xe: Move sw-only pcode initialization
drivers/gpu/drm/xe/xe_device.c | 16 +++++-----------
drivers/gpu/drm/xe/xe_gt.c | 15 ++++-----------
drivers/gpu/drm/xe/xe_gt_types.h | 6 ------
drivers/gpu/drm/xe/xe_migrate.c | 3 +--
drivers/gpu/drm/xe/xe_pci.c | 6 +++---
5 files changed, 13 insertions(+), 33 deletions(-)
--
2.43.0
More information about the Intel-xe
mailing list