[Intel-xe] [PATCH] drm/xe/huc: Load HuC on Alderlake P and Alderlake S

Anusha Srivatsa anusha.srivatsa at intel.com
Mon Mar 13 23:11:20 UTC 2023


Extending HUC loading support on more platforms.

Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
---
 drivers/gpu/drm/xe/xe_uc_fw.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_uc_fw.c b/drivers/gpu/drm/xe/xe_uc_fw.c
index ff94eec9cafe..5a28ec79fb9d 100644
--- a/drivers/gpu/drm/xe/xe_uc_fw.c
+++ b/drivers/gpu/drm/xe/xe_uc_fw.c
@@ -51,8 +51,10 @@ static struct xe_device *uc_fw_to_xe(struct xe_uc_fw *uc_fw)
 	fw_def(TIGERLAKE,    0, guc_def(tgl,  70, 5, 2))
 
 #define XE_HUC_FIRMWARE_DEFS(fw_def, huc_def) \
-	fw_def(DG1,          0, huc_def(dg1,  7, 9, 3)) \
-	fw_def(TIGERLAKE,    0, huc_def(tgl,  7, 9, 3))
+	fw_def(DG1,            0, huc_def(dg1,  7, 9, 3)) \
+	fw_def(TIGERLAKE,      0, huc_def(tgl,  7, 9, 3)) \
+	fw_def(ALDERLAKE_P,    0, huc_def(tgl,  7, 9, 3)) \
+	fw_def(ALDERLAKE_S,    0, huc_def(tgl,  7, 9, 3))
 
 #define __MAKE_UC_FW_PATH_MAJOR(prefix_, name_, major_) \
 	"xe/" \
-- 
2.25.1



More information about the Intel-xe mailing list