drm/xe: Defer irq init until after xe_display_init_noaccel

As stated in previous commit, we have to move interrupt handling
until after xe_display_init_noaccel, as using memirqs would require
an allocation.

A full solution will of course require memirq allocation to be moved,
but the first part only focuses on the required changes to display.

Reviewed-by: Ilia Levi <ilia.levi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250121142850.4960-2-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
This commit is contained in:
Maarten Lankhorst 2025-01-21 15:28:49 +01:00
parent cf29a866a1
commit f595fe5f6a

View File

@ -814,10 +814,6 @@ int xe_device_probe(struct xe_device *xe)
if (err)
return err;
err = xe_irq_install(xe);
if (err)
goto err;
err = probe_has_flat_ccs(xe);
if (err)
goto err;
@ -851,6 +847,10 @@ int xe_device_probe(struct xe_device *xe)
goto err;
}
err = xe_irq_install(xe);
if (err)
goto err;
for_each_gt(gt, xe, id) {
last_gt = id;