drm/xe: Fix Meteor Lake rsa issue on guc loading
authorPhilippe Lecluse <philippe.lecluse@intel.com>
Fri, 20 Jan 2023 15:30:25 +0000 (16:30 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:27:43 +0000 (18:27 -0500)
[  117.901473] xe 0000:00:02.0: [drm] GuC load failed: status = 0x400000A0
[  117.901506] xe 0000:00:02.0: [drm] GuC load failed: status: Reset = 0, BootROM = 0x50, UKernel = 0x00, MIA = 0x00, Auth = 0x01

Signed-off-by: Philippe Lecluse <philippe.lecluse@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt.c

index 39df694..61a6430 100644 (file)
@@ -436,6 +436,8 @@ static int gt_fw_domain_init(struct xe_gt *gt)
        if (err)
                goto err_hw_fence_irq;
 
+       setup_private_ppat(gt);
+
        if (!xe_gt_is_media_type(gt)) {
                err = xe_ggtt_init(gt, gt->mem.ggtt);
                if (err)
@@ -488,8 +490,6 @@ static int all_fw_domain_init(struct xe_gt *gt)
        if (err)
                goto err_hw_fence_irq;
 
-       setup_private_ppat(gt);
-
        xe_reg_sr_apply_mmio(&gt->reg_sr, gt);
 
        err = xe_gt_clock_init(gt);