diff options
Diffstat (limited to 'recipes-graphics/gmmlib/files')
-rw-r--r-- | recipes-graphics/gmmlib/files/0001-Add-more-DG2-Device-IDs.patch | 30 | ||||
-rw-r--r-- | recipes-graphics/gmmlib/files/0001-Introduce-ARL-H-support-172.patch | 42 |
2 files changed, 42 insertions, 30 deletions
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 @@ | |||
1 | From 92d702f885ae7bbfcd5b480c262db805ccc580bf Mon Sep 17 00:00:00 2001 | ||
2 | From: John Machado <john.machado@intel.com> | ||
3 | Date: Thu, 16 Nov 2023 12:25:16 +0530 | ||
4 | Subject: [PATCH] Add more DG2 Device IDs | ||
5 | |||
6 | Upstream-Status: Backport [https://github.com/intel/gmmlib/commit/92d702f885ae7bbfcd5b480c262db805ccc580bf] | ||
7 | |||
8 | Signed-off-by: Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> | ||
9 | --- | ||
10 | Source/inc/common/igfxfmid.h | 4 ++++ | ||
11 | 1 file changed, 4 insertions(+) | ||
12 | |||
13 | diff --git a/Source/inc/common/igfxfmid.h b/Source/inc/common/igfxfmid.h | ||
14 | index 2b50de2..5ef90f5 100644 | ||
15 | --- a/Source/inc/common/igfxfmid.h | ||
16 | +++ b/Source/inc/common/igfxfmid.h | ||
17 | @@ -1928,6 +1928,10 @@ typedef enum __NATIVEGTTYPE | ||
18 | #define DEV_ID_56B1 0x56B1 | ||
19 | #define DEV_ID_56B2 0x56B2 | ||
20 | #define DEV_ID_56B3 0x56B3 | ||
21 | +#define DEV_ID_56BA 0x56BA | ||
22 | +#define DEV_ID_56BB 0x56BB | ||
23 | +#define DEV_ID_56BC 0x56BC | ||
24 | +#define DEV_ID_56BD 0x56BD | ||
25 | #define DEV_ID_56C0 0x56C0 | ||
26 | #define DEV_ID_56C1 0x56C1 | ||
27 | |||
28 | -- | ||
29 | 2.40.1 | ||
30 | |||
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..ab4cb178 --- /dev/null +++ b/recipes-graphics/gmmlib/files/0001-Introduce-ARL-H-support-172.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 2b267b72d6aaa922861b120da9c1543161797046 Mon Sep 17 00:00:00 2001 | ||
2 | From: John Machado <john.machado@intel.com> | ||
3 | Date: Fri, 9 Feb 2024 13:10:18 +0530 | ||
4 | Subject: [PATCH] Introduce ARL-H support (#172) | ||
5 | |||
6 | Upstream-Status: Backport [https://github.com/intel/gmmlib/commit/544a8be6f66631e085c86c453aafd78b0e7f5179] | ||
7 | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> | ||
8 | --- | ||
9 | Source/inc/common/igfxfmid.h | 10 ++++++++++ | ||
10 | 1 file changed, 10 insertions(+) | ||
11 | |||
12 | diff --git a/Source/inc/common/igfxfmid.h b/Source/inc/common/igfxfmid.h | ||
13 | index 99fc624..19aa505 100644 | ||
14 | --- a/Source/inc/common/igfxfmid.h | ||
15 | +++ b/Source/inc/common/igfxfmid.h | ||
16 | @@ -1966,6 +1966,11 @@ typedef enum __NATIVEGTTYPE | ||
17 | // ARL-S | ||
18 | #define DEV_ID_7D67 0x7D67 | ||
19 | |||
20 | +// ARL-H | ||
21 | +#define DEV_ID_7D41 0x7D41 | ||
22 | +#define DEV_ID_7D51 0x7D51 | ||
23 | +#define DEV_ID_7DD1 0x7DD1 | ||
24 | + | ||
25 | #define MGM_HAS 0 | ||
26 | |||
27 | //#define SDG_HAS 1 //Reserve place for Springdale-G HAS | ||
28 | @@ -2012,6 +2017,11 @@ typedef enum __NATIVEGTTYPE | ||
29 | // Macro to identify ARL-S Device ID | ||
30 | #define GFX_IS_ARL_S(d) ( ( d == DEV_ID_7D67 ) ) | ||
31 | |||
32 | +// Macro to identify ARL-H Device ID | ||
33 | +#define GFX_IS_ARL_H(d) ( ( d == DEV_ID_7D41 ) || \ | ||
34 | + ( d == DEV_ID_7D51 ) || \ | ||
35 | + ( d == DEV_ID_7DD1 )) | ||
36 | + | ||
37 | //we define the highest cap and lower cap of stepping IDs | ||
38 | #define SI_REV_ID(lo,hi) (lo | hi<<16) | ||
39 | |||
40 | -- | ||
41 | 2.40.1 | ||
42 | |||