From 506aa18577c4a309633cfcf016141cd76c55fdae Mon Sep 17 00:00:00 2001 From: Hoe Sheng Yang Date: Mon, 1 Apr 2024 14:39:35 +0800 Subject: gmmlib: Add new DG2 device id Signed-off-by: Hoe, Sheng Yang Signed-off-by: Naveen Saini --- .../files/0001-Add-new-DG2-device-IDs-194.patch | 38 ++++++++++++++++++++++ recipes-graphics/gmmlib/gmmlib_22.3.15.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 recipes-graphics/gmmlib/files/0001-Add-new-DG2-device-IDs-194.patch diff --git a/recipes-graphics/gmmlib/files/0001-Add-new-DG2-device-IDs-194.patch b/recipes-graphics/gmmlib/files/0001-Add-new-DG2-device-IDs-194.patch new file mode 100644 index 00000000..21cffe24 --- /dev/null +++ b/recipes-graphics/gmmlib/files/0001-Add-new-DG2-device-IDs-194.patch @@ -0,0 +1,38 @@ +From 8729d66800995a9b7e693bd78249932bd12383e1 Mon Sep 17 00:00:00 2001 +From: John Machado +Date: Mon, 25 Mar 2024 11:13:27 +0530 +Subject: [PATCH] Add new DG2 device IDs (#194) + +Upstream-status: Backport +https://github.com/intel/gmmlib/commit/dcc4b85ea3728c848b62fbb164c00f43b519b6fb + +Signed-off-by: Hoe, Sheng Yang +--- + 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 7969779..8e2c955 100644 +--- a/Source/inc/common/igfxfmid.h ++++ b/Source/inc/common/igfxfmid.h +@@ -1932,6 +1932,8 @@ typedef enum __NATIVEGTTYPE + #define DEV_ID_56BB 0x56BB + #define DEV_ID_56BC 0x56BC + #define DEV_ID_56BD 0x56BD ++#define DEV_ID_56BE 0x56BE ++#define DEV_ID_56BF 0x56BF + #define DEV_ID_56C0 0x56C0 + #define DEV_ID_56C1 0x56C1 + +@@ -1992,6 +1994,8 @@ typedef enum __NATIVEGTTYPE + ( d == DEV_ID_5690 ) || \ + ( d == DEV_ID_5691 ) || \ + ( d == DEV_ID_5692 ) || \ ++ ( d == DEV_ID_56BE ) || \ ++ ( d == DEV_ID_56BF ) || \ + ( d == DEV_ID_56C0 ) || \ + ( d == DEV_ID_4F80 ) || \ + ( d == DEV_ID_4F81 ) || \ +-- +2.34.1 + diff --git a/recipes-graphics/gmmlib/gmmlib_22.3.15.bb b/recipes-graphics/gmmlib/gmmlib_22.3.15.bb index 5928fb86..875fbaf5 100644 --- a/recipes-graphics/gmmlib/gmmlib_22.3.15.bb +++ b/recipes-graphics/gmmlib/gmmlib_22.3.15.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=465fe90caea3edd6a2cecb3f0c28a654" SRC_URI = " \ git://github.com/intel/gmmlib.git;protocol=https;branch=master \ file://0001-Introduce-ARL-H-support-172.patch \ + file://0001-Add-new-DG2-device-IDs-194.patch \ " SRCREV = "5fb4180e22695ad4e3c155cf680119913c9f44bc" -- cgit v1.2.3-54-g00ecf