Skip to content

Commit f595fe5

Browse files
author
Maarten Lankhorst
committed
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>
1 parent cf29a86 commit f595fe5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpu/drm/xe/xe_device.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -814,10 +814,6 @@ int xe_device_probe(struct xe_device *xe)
814814
if (err)
815815
return err;
816816

817-
err = xe_irq_install(xe);
818-
if (err)
819-
goto err;
820-
821817
err = probe_has_flat_ccs(xe);
822818
if (err)
823819
goto err;
@@ -851,6 +847,10 @@ int xe_device_probe(struct xe_device *xe)
851847
goto err;
852848
}
853849

850+
err = xe_irq_install(xe);
851+
if (err)
852+
goto err;
853+
854854
for_each_gt(gt, xe, id) {
855855
last_gt = id;
856856

0 commit comments

Comments
 (0)