Commit 05e49e0c authored by Michal Wajdeczko's avatar Michal Wajdeczko

drm/xe/vf: Support only GuC/HuC firmwares

Only GuC/HuC firmwares can be used by the VFs, don't claim support
for any other firmware (like GSC) even if the driver can support it.
Signed-off-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: default avatarPiotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240604212231.1416-2-michal.wajdeczko@intel.com
parent 6d3581ed
...@@ -654,6 +654,10 @@ static int uc_fw_request(struct xe_uc_fw *uc_fw, const struct firmware **firmwar ...@@ -654,6 +654,10 @@ static int uc_fw_request(struct xe_uc_fw *uc_fw, const struct firmware **firmwar
uc_fw_auto_select(xe, uc_fw); uc_fw_auto_select(xe, uc_fw);
if (IS_SRIOV_VF(xe)) { if (IS_SRIOV_VF(xe)) {
/* Only GuC/HuC are supported */
if (uc_fw->type != XE_UC_FW_TYPE_GUC &&
uc_fw->type != XE_UC_FW_TYPE_HUC)
uc_fw->path = NULL;
/* VF will support only firmwares that driver can autoselect */ /* VF will support only firmwares that driver can autoselect */
xe_uc_fw_change_status(uc_fw, uc_fw->path ? xe_uc_fw_change_status(uc_fw, uc_fw->path ?
XE_UC_FIRMWARE_PRELOADED : XE_UC_FIRMWARE_PRELOADED :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment