Skip to content

Commit 2864421

Browse files
authored
Introducing ARL-S Support
1 parent b060af3 commit 2864421

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

Source/GmmLib/GlobalInfo/GmmInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ GMM_CACHE_POLICY *GMM_STDCALL GmmLib::Context::CreateCachePolicyCommon()
10751075
return GetCachePolicyObj();
10761076
}
10771077

1078-
if((GFX_GET_CURRENT_PRODUCT(GetPlatformInfo().Platform) == IGFX_METEORLAKE))
1078+
if((GFX_GET_CURRENT_PRODUCT(GetPlatformInfo().Platform) == IGFX_METEORLAKE) || (GFX_GET_CURRENT_PRODUCT(GetPlatformInfo().Platform) == IGFX_ARROWLAKE))
10791079
{
10801080
pGmmCachePolicy = new GmmLib::GmmXe_LPGCachePolicy(CachePolicy, this);
10811081
}

Source/inc/common/igfxfmid.h

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ typedef enum {
7676
IGFX_DG2 = 1270,
7777
IGFX_PVC = 1271,
7878
IGFX_METEORLAKE = 1272,
79+
IGFX_ARROWLAKE = 1273,
7980

8081
IGFX_MAX_PRODUCT,
8182
IGFX_GENNEXT = 0x7ffffffe,
@@ -108,6 +109,8 @@ typedef enum {
108109
PCH_TGL_H, // TGL H PCH
109110
PCH_ADL_N, // ADL_N PCHDL
110111
PCH_MTL, // MTL PCH
112+
PCH_ARL, // ARL PCH
113+
111114
PCH_PRODUCT_FAMILY_FORCE_ULONG = 0x7fffffff
112115
} PCH_PRODUCT_FAMILY;
113116

@@ -1831,6 +1834,40 @@ typedef enum __NATIVEGTTYPE
18311834
#define PCH_DEV_ID_AE1E 0xAE1E
18321835
#define PCH_DEV_ID_AE1F 0xAE1F
18331836

1837+
// ARL PCH Dev IDs
1838+
#define PCH_DEV_ID_7700 0x7700
1839+
#define PCH_DEV_ID_7701 0x7701
1840+
#define PCH_DEV_ID_7702 0x7702
1841+
#define PCH_DEV_ID_7703 0x7703
1842+
#define PCH_DEV_ID_7704 0x7704
1843+
#define PCH_DEV_ID_7705 0x7705
1844+
#define PCH_DEV_ID_7706 0x7706
1845+
#define PCH_DEV_ID_7707 0x7707
1846+
#define PCH_DEV_ID_7708 0x7708
1847+
#define PCH_DEV_ID_7709 0x7709
1848+
#define PCH_DEV_ID_770A 0x770A
1849+
#define PCH_DEV_ID_770B 0x770B
1850+
#define PCH_DEV_ID_770C 0x770C
1851+
#define PCH_DEV_ID_770D 0x770D
1852+
#define PCH_DEV_ID_770E 0x770E
1853+
#define PCH_DEV_ID_770F 0x770F
1854+
#define PCH_DEV_ID_7710 0x7710
1855+
#define PCH_DEV_ID_7711 0x7711
1856+
#define PCH_DEV_ID_7712 0x7712
1857+
#define PCH_DEV_ID_7713 0x7713
1858+
#define PCH_DEV_ID_7714 0x7714
1859+
#define PCH_DEV_ID_7715 0x7715
1860+
#define PCH_DEV_ID_7716 0x7716
1861+
#define PCH_DEV_ID_7717 0x7717
1862+
#define PCH_DEV_ID_7718 0x7718
1863+
#define PCH_DEV_ID_7719 0x7719
1864+
#define PCH_DEV_ID_771A 0x771A
1865+
#define PCH_DEV_ID_771B 0x771B
1866+
#define PCH_DEV_ID_771C 0x771C
1867+
#define PCH_DEV_ID_771D 0x771D
1868+
#define PCH_DEV_ID_771E 0x771E
1869+
#define PCH_DEV_ID_771F 0x771F
1870+
18341871
//PVC Device ID
18351872
#define DEV_ID_0BD0 0x0BD0
18361873
#define DEV_ID_0BD5 0x0BD5
@@ -1908,6 +1945,9 @@ typedef enum __NATIVEGTTYPE
19081945
#define DEV_ID_7DD5 0x7DD5
19091946
#define DEV_ID_7DD7 0x7DD7
19101947

1948+
// ARL-S
1949+
#define DEV_ID_7D67 0x7D67
1950+
19111951
#define MGM_HAS 0
19121952

19131953
//#define SDG_HAS 1 //Reserve place for Springdale-G HAS
@@ -1947,6 +1987,9 @@ typedef enum __NATIVEGTTYPE
19471987
( d == DEV_ID_56B2 ) || \
19481988
( d == DEV_ID_56B3 ))
19491989

1990+
// Macro to identify ARL-S Device ID
1991+
#define GFX_IS_ARL_S(d) ( ( d == DEV_ID_7D67 ) )
1992+
19501993
//we define the highest cap and lower cap of stepping IDs
19511994
#define SI_REV_ID(lo,hi) (lo | hi<<16)
19521995

0 commit comments

Comments
 (0)