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:
parent
011d8fa362
commit
33de290bd1
@ -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(>->uc);
|
||||
XE_WARN_ON(err);
|
||||
if (err)
|
||||
goto err_force_wake;
|
||||
|
||||
err = xe_uc_init_hwconfig(>->uc);
|
||||
if (err)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user