Skip to content

Commit 2072b0d

Browse files
johnmachgfxbot
authored andcommitted
Added the ADL-S device ID's and phyAddr support
Change-Id: Ifcd86a7cbbd73aefe0529b9f8c9d5e64583ba335
1 parent f6c9136 commit 2072b0d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

Source/GmmLib/Platform/GmmGen12Platform.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,11 @@ FCRECTALIGN(TILE_YS_2D_128bpe, 128, 32, 32, 16, 16);
257257
// clang-format on
258258
Data.NoOfBitsSupported = 39;
259259
Data.HighestAcceptablePhysicalAddress = GFX_MASK_LARGE(0, 38);
260+
if(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_S)
261+
{
262+
Data.NoOfBitsSupported = 46;
263+
Data.HighestAcceptablePhysicalAddress = GFX_MASK_LARGE(0, 45);
264+
}
260265
}
261266

262267
void GmmLib::PlatformInfoGen12::ApplyExtendedTexAlign(uint32_t CCSMode, ALIGNMENT &UnitAlign)

Source/inc/common/igfxfmid.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ typedef enum {
6868

6969
IGFX_TIGERLAKE_LP,
7070
IGFX_ROCKETLAKE,
71+
IGFX_ALDERLAKE_S,
7172

7273
IGFX_DG1 = 1210,
7374

@@ -97,6 +98,7 @@ typedef enum {
9798
PCH_CMP_H, // CML Halo PCH
9899
PCH_CMP_V, // CML V PCH
99100
PCH_JSP_N, // JSL N PCH Device IDs for JSL+ Rev02
101+
PCH_ADL_S, // ADL_S PCH
100102
PCH_PRODUCT_FAMILY_FORCE_ULONG = 0x7fffffff
101103
} PCH_PRODUCT_FAMILY;
102104

@@ -1235,6 +1237,18 @@ typedef enum __NATIVEGTTYPE
12351237
#define DEV_ID_4E71 0x4E71
12361238
#define DEV_ID_4E55 0x4E55
12371239

1240+
//ADL-S PCH Device IDs
1241+
#define DEV_ID_4680 0x4680
1242+
#define DEV_ID_4681 0x4681
1243+
#define DEV_ID_4682 0x4682
1244+
#define DEV_ID_4683 0x4683
1245+
#define DEV_ID_4690 0x4690
1246+
#define DEV_ID_4691 0x4691
1247+
#define DEV_ID_4692 0x4692
1248+
#define DEV_ID_4693 0x4693
1249+
#define DEV_ID_4698 0x4698
1250+
#define DEV_ID_4699 0x4699
1251+
12381252
//ICL PCH LP Device IDs
12391253
#define ICP_LP_RESERVED_FUSE_ID 0x3480
12401254
#define ICP_LP_U_SUPER_SKU_ID 0x3481

0 commit comments

Comments
 (0)