summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/gmmlib/files/0001-Introduce-ARL-H-support-172.patch
blob: ab4cb1783ce0cecae2ccb443074c276c7d0ebd59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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