Added the ADL-S device ID's and phyAddr support

Change-Id: Ifcd86a7cbbd73aefe0529b9f8c9d5e64583ba335
This commit is contained in:
John Machado
2020-09-04 07:59:42 +05:30
committed by gbsbuild
parent f6c91364b0
commit 2072b0d1e8
2 changed files with 19 additions and 0 deletions

View File

@ -257,6 +257,11 @@ FCRECTALIGN(TILE_YS_2D_128bpe, 128, 32, 32, 16, 16);
// clang-format on
Data.NoOfBitsSupported = 39;
Data.HighestAcceptablePhysicalAddress = GFX_MASK_LARGE(0, 38);
if(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_S)
{
Data.NoOfBitsSupported = 46;
Data.HighestAcceptablePhysicalAddress = GFX_MASK_LARGE(0, 45);
}
}
void GmmLib::PlatformInfoGen12::ApplyExtendedTexAlign(uint32_t CCSMode, ALIGNMENT &UnitAlign)

View File

@ -68,6 +68,7 @@ typedef enum {
IGFX_TIGERLAKE_LP,
IGFX_ROCKETLAKE,
IGFX_ALDERLAKE_S,
IGFX_DG1 = 1210,
@ -97,6 +98,7 @@ typedef enum {
PCH_CMP_H, // CML Halo PCH
PCH_CMP_V, // CML V PCH
PCH_JSP_N, // JSL N PCH Device IDs for JSL+ Rev02
PCH_ADL_S, // ADL_S PCH
PCH_PRODUCT_FAMILY_FORCE_ULONG = 0x7fffffff
} PCH_PRODUCT_FAMILY;
@ -1235,6 +1237,18 @@ typedef enum __NATIVEGTTYPE
#define DEV_ID_4E71 0x4E71
#define DEV_ID_4E55 0x4E55
//ADL-S PCH Device IDs
#define DEV_ID_4680 0x4680
#define DEV_ID_4681 0x4681
#define DEV_ID_4682 0x4682
#define DEV_ID_4683 0x4683
#define DEV_ID_4690 0x4690
#define DEV_ID_4691 0x4691
#define DEV_ID_4692 0x4692
#define DEV_ID_4693 0x4693
#define DEV_ID_4698 0x4698
#define DEV_ID_4699 0x4699
//ICL PCH LP Device IDs
#define ICP_LP_RESERVED_FUSE_ID 0x3480
#define ICP_LP_U_SUPER_SKU_ID 0x3481