drm/xe: don't auto fall back to execlist mode if guc failed to init

In general, this is due to FW load failure, should just report
error and fail the probe so that user can easily retry again.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Bruce Chang <yu.bruce.chang@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
Chang, Bruce 2023-03-23 19:38:58 +00:00 committed by Rodrigo Vivi
parent 011d8fa362
commit 33de290bd1
2 changed files with 2 additions and 5 deletions

View File

@ -379,9 +379,9 @@ static int gt_fw_domain_init(struct xe_gt *gt)
goto err_force_wake;
}
/* Allow driver to load if uC init fails (likely missing firmware) */
err = xe_uc_init(&gt->uc);
XE_WARN_ON(err);
if (err)
goto err_force_wake;
err = xe_uc_init_hwconfig(&gt->uc);
if (err)

View File

@ -54,9 +54,6 @@ int xe_uc_init(struct xe_uc *uc)
return 0;
err:
/* If any uC firmwares not found, fall back to execlists */
xe_device_guc_submission_disable(uc_to_xe(uc));
return ret;
}