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 <[email protected]>
---
 .../files/0001-Add-more-DG2-Device-IDs.patch  | 30 --------------
 .../0001-Introduce-ARL-H-support-172.patch    | 41 +++++++++++++++++++
 .../{gmmlib_22.3.12.bb => gmmlib_22.3.15.bb}  |  4 +-
 3 files changed, 43 insertions(+), 32 deletions(-)
 delete mode 100644 
recipes-graphics/gmmlib/files/0001-Add-more-DG2-Device-IDs.patch
 create mode 100644 
recipes-graphics/gmmlib/files/0001-Introduce-ARL-H-support-172.patch
 rename recipes-graphics/gmmlib/{gmmlib_22.3.12.bb => gmmlib_22.3.15.bb} (86%)

diff --git a/recipes-graphics/gmmlib/files/0001-Add-more-DG2-Device-IDs.patch 
b/recipes-graphics/gmmlib/files/0001-Add-more-DG2-Device-IDs.patch
deleted file mode 100644
index d1e93114..00000000
--- a/recipes-graphics/gmmlib/files/0001-Add-more-DG2-Device-IDs.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 92d702f885ae7bbfcd5b480c262db805ccc580bf Mon Sep 17 00:00:00 2001
-From: John Machado <[email protected]>
-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 <[email protected]>
----
- 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
-
diff --git 
a/recipes-graphics/gmmlib/files/0001-Introduce-ARL-H-support-172.patch 
b/recipes-graphics/gmmlib/files/0001-Introduce-ARL-H-support-172.patch
new file mode 100644
index 00000000..6ea8fbe8
--- /dev/null
+++ b/recipes-graphics/gmmlib/files/0001-Introduce-ARL-H-support-172.patch
@@ -0,0 +1,41 @@
+From 2b267b72d6aaa922861b120da9c1543161797046 Mon Sep 17 00:00:00 2001
+From: John Machado <[email protected]>
+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]
+---
+ 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
+
diff --git a/recipes-graphics/gmmlib/gmmlib_22.3.12.bb 
b/recipes-graphics/gmmlib/gmmlib_22.3.15.bb
similarity index 86%
rename from recipes-graphics/gmmlib/gmmlib_22.3.12.bb
rename to recipes-graphics/gmmlib/gmmlib_22.3.15.bb
index 33ada350..5928fb86 100644
--- a/recipes-graphics/gmmlib/gmmlib_22.3.12.bb
+++ b/recipes-graphics/gmmlib/gmmlib_22.3.15.bb
@@ -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"
 
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8227): 
https://lists.yoctoproject.org/g/meta-intel/message/8227
Mute This Topic: https://lists.yoctoproject.org/mt/104576550/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to