mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
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:
parent
cf29a866a1
commit
f595fe5f6a
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user