From: John Harrison <[email protected]>

Novalake P has different IP on each GT and requires a different GuC
for each. So add separate graphics and media GT entries or NVL-P.

Signed-off-by: John Harrison <[email protected]>
Signed-off-by: Gustavo Sousa <[email protected]>
---
 drivers/gpu/drm/xe/xe_uc_fw.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_uc_fw.c b/drivers/gpu/drm/xe/xe_uc_fw.c
index 6a8e692fd7a1..60c82b920f47 100644
--- a/drivers/gpu/drm/xe/xe_uc_fw.c
+++ b/drivers/gpu/drm/xe/xe_uc_fw.c
@@ -115,6 +115,8 @@ struct fw_blobs_by_type {
 #define XE_GT_TYPE_ANY XE_GT_TYPE_UNINITIALIZED
 
 #define XE_GUC_FIRMWARE_DEFS(fw_def, mmp_ver, major_ver)                       
                \
+       fw_def(NOVALAKE_P,      GT_TYPE_MAIN,   mmp_ver(xe,     guc,    nvlpg,  
70, 55, 4))     \
+       fw_def(NOVALAKE_P,      GT_TYPE_MEDIA,  mmp_ver(xe,     guc,    nvlpm,  
70, 55, 4))     \
        fw_def(CRESCENTISLAND,  GT_TYPE_ANY,    mmp_ver(xe,     guc,    cri,    
70, 55, 4))     \
        fw_def(NOVALAKE_S,      GT_TYPE_ANY,    mmp_ver(xe,     guc,    nvl,    
70, 55, 4))     \
        fw_def(PANTHERLAKE,     GT_TYPE_ANY,    major_ver(xe,   guc,    ptl,    
70, 54, 0))     \

-- 
2.52.0

Reply via email to