From 6dcc61ac3c40836a264ede349c8e403ad3cdadc6 Mon Sep 17 00:00:00 2001 From: Lim Siew Hoon Date: Fri, 24 Nov 2023 09:22:58 +0800 Subject: gmmlib: upgrade 22.3.7 -> 22.3.12 Added a patches for new DG2 device id support: - 0001-Add-more-DG2-Device-IDs.patch Signed-off-by: Lim Siew Hoon Signed-off-by: Anuj Mittal --- .../files/0001-Add-more-DG2-Device-IDs.patch | 30 ++++++++++++++++++++++ recipes-graphics/gmmlib/gmmlib_22.3.12.bb | 26 +++++++++++++++++++ recipes-graphics/gmmlib/gmmlib_22.3.7.bb | 25 ------------------ 3 files changed, 56 insertions(+), 25 deletions(-) create mode 100644 recipes-graphics/gmmlib/files/0001-Add-more-DG2-Device-IDs.patch create mode 100644 recipes-graphics/gmmlib/gmmlib_22.3.12.bb delete mode 100644 recipes-graphics/gmmlib/gmmlib_22.3.7.bb (limited to 'recipes-graphics') 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 new file mode 100644 index 00000000..d1e93114 --- /dev/null +++ b/recipes-graphics/gmmlib/files/0001-Add-more-DG2-Device-IDs.patch @@ -0,0 +1,30 @@ +From 92d702f885ae7bbfcd5b480c262db805ccc580bf Mon Sep 17 00:00:00 2001 +From: John Machado +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 +--- + 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/gmmlib_22.3.12.bb b/recipes-graphics/gmmlib/gmmlib_22.3.12.bb new file mode 100644 index 00000000..33ada350 --- /dev/null +++ b/recipes-graphics/gmmlib/gmmlib_22.3.12.bb @@ -0,0 +1,26 @@ +SUMMARY = "Intel(R) Graphics Memory Management Library" +DESCRIPTION = "The Intel(R) Graphics Memory Management Library provides \ +device specific and buffer management for the Intel(R) Graphics \ +Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI." + +LICENSE = "MIT" +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 \ + " + +SRCREV = "fa8ac6d3859ea78b721ce08afa6cd50591ad4d68" + +S = "${WORKDIR}/git" + +COMPATIBLE_HOST:x86-x32 = "null" + +UPSTREAM_CHECK_GITTAGREGEX = "^intel-gmmlib-(?P(\d+(\.\d+)+))$" + +inherit pkgconfig cmake + +EXTRA_OECMAKE += "-DRUN_TEST_SUITE=OFF" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-graphics/gmmlib/gmmlib_22.3.7.bb b/recipes-graphics/gmmlib/gmmlib_22.3.7.bb deleted file mode 100644 index 318c268f..00000000 --- a/recipes-graphics/gmmlib/gmmlib_22.3.7.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Intel(R) Graphics Memory Management Library" -DESCRIPTION = "The Intel(R) Graphics Memory Management Library provides \ -device specific and buffer management for the Intel(R) Graphics \ -Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI." - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=465fe90caea3edd6a2cecb3f0c28a654" - -SRC_URI = " \ - git://github.com/intel/gmmlib.git;protocol=https;branch=master \ - " - -SRCREV = "29da856483658d15afdbf92d4e3db7794fac7470" - -S = "${WORKDIR}/git" - -COMPATIBLE_HOST:x86-x32 = "null" - -UPSTREAM_CHECK_GITTAGREGEX = "^intel-gmmlib-(?P(\d+(\.\d+)+))$" - -inherit pkgconfig cmake - -EXTRA_OECMAKE += "-DRUN_TEST_SUITE=OFF" - -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf