Skip to content

Commit beb72ac

Browse files
committed
drm/xe: Move page fault init after topology init
We need the topology to determine GT page fault queue size, move page fault init after topology init. Cc: [email protected] Fixes: 3338e4f ("drm/xe: Use topology to determine page fault queue size") Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Jonathan Cavitt <[email protected]> Reviewed-by: Stuart Summers <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c12fe70 commit beb72ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/xe/xe_gt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,15 +628,15 @@ int xe_gt_init(struct xe_gt *gt)
628628
if (err)
629629
return err;
630630

631-
err = xe_gt_pagefault_init(gt);
631+
err = xe_gt_sysfs_init(gt);
632632
if (err)
633633
return err;
634634

635-
err = xe_gt_sysfs_init(gt);
635+
err = gt_init_with_gt_forcewake(gt);
636636
if (err)
637637
return err;
638638

639-
err = gt_init_with_gt_forcewake(gt);
639+
err = xe_gt_pagefault_init(gt);
640640
if (err)
641641
return err;
642642

0 commit comments

Comments
 (0)