Commit f595fe5f authored by Maarten Lankhorst's avatar Maarten Lankhorst
Browse files

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: default avatarIlia Levi <ilia.levi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250121142850.4960-2-dev@lankhorst.se


Signed-off-by: default avatarMaarten Lankhorst <dev@lankhorst.se>
parent cf29a866
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;