gmmlib: upgrade 22.3.12 -> 22.3.15

Added a patches for new ARL-H device id support:
 - 0001-Introduce-ARL-H-support-172.patch

Remove a patches already merged:
 - 0001-Add-more-DG2-Device-IDs.patch

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Lim Siew Hoon 2024-02-26 10:27:30 +08:00 committed by Anuj Mittal
parent ef763abc2c
commit a74c65c749
3 changed files with 44 additions and 32 deletions

View File

@ -1,30 +0,0 @@
From 92d702f885ae7bbfcd5b480c262db805ccc580bf Mon Sep 17 00:00:00 2001
From: John Machado <john.machado@intel.com>
Date: Thu, 16 Nov 2023 12:25:16 +0530
Subject: [PATCH] Add more DG2 Device IDs
Upstream-Status: Backport [https://github.com/intel/gmmlib/commit/92d702f885ae7bbfcd5b480c262db805ccc580bf]
Signed-off-by: Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
---
Source/inc/common/igfxfmid.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Source/inc/common/igfxfmid.h b/Source/inc/common/igfxfmid.h
index 2b50de2..5ef90f5 100644
--- a/Source/inc/common/igfxfmid.h
+++ b/Source/inc/common/igfxfmid.h
@@ -1928,6 +1928,10 @@ typedef enum __NATIVEGTTYPE
#define DEV_ID_56B1 0x56B1
#define DEV_ID_56B2 0x56B2
#define DEV_ID_56B3 0x56B3
+#define DEV_ID_56BA 0x56BA
+#define DEV_ID_56BB 0x56BB
+#define DEV_ID_56BC 0x56BC
+#define DEV_ID_56BD 0x56BD
#define DEV_ID_56C0 0x56C0
#define DEV_ID_56C1 0x56C1
--
2.40.1

View File

@ -0,0 +1,42 @@
From 2b267b72d6aaa922861b120da9c1543161797046 Mon Sep 17 00:00:00 2001
From: John Machado <john.machado@intel.com>
Date: Fri, 9 Feb 2024 13:10:18 +0530
Subject: [PATCH] Introduce ARL-H support (#172)
Upstream-Status: Backport [https://github.com/intel/gmmlib/commit/544a8be6f66631e085c86c453aafd78b0e7f5179]
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
---
Source/inc/common/igfxfmid.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Source/inc/common/igfxfmid.h b/Source/inc/common/igfxfmid.h
index 99fc624..19aa505 100644
--- a/Source/inc/common/igfxfmid.h
+++ b/Source/inc/common/igfxfmid.h
@@ -1966,6 +1966,11 @@ typedef enum __NATIVEGTTYPE
// ARL-S
#define DEV_ID_7D67 0x7D67
+// ARL-H
+#define DEV_ID_7D41 0x7D41
+#define DEV_ID_7D51 0x7D51
+#define DEV_ID_7DD1 0x7DD1
+
#define MGM_HAS 0
//#define SDG_HAS 1 //Reserve place for Springdale-G HAS
@@ -2012,6 +2017,11 @@ typedef enum __NATIVEGTTYPE
// Macro to identify ARL-S Device ID
#define GFX_IS_ARL_S(d) ( ( d == DEV_ID_7D67 ) )
+// Macro to identify ARL-H Device ID
+#define GFX_IS_ARL_H(d) ( ( d == DEV_ID_7D41 ) || \
+ ( d == DEV_ID_7D51 ) || \
+ ( d == DEV_ID_7DD1 ))
+
//we define the highest cap and lower cap of stepping IDs
#define SI_REV_ID(lo,hi) (lo | hi<<16)
--
2.40.1

View File

@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=465fe90caea3edd6a2cecb3f0c28a654"
SRC_URI = " \
git://github.com/intel/gmmlib.git;protocol=https;branch=master \
file://0001-Add-more-DG2-Device-IDs.patch \
file://0001-Introduce-ARL-H-support-172.patch \
"
SRCREV = "fa8ac6d3859ea78b721ce08afa6cd50591ad4d68"
SRCREV = "5fb4180e22695ad4e3c155cf680119913c9f44bc"
S = "${WORKDIR}/git"