Skip to content

Commit 879c22e

Browse files
authored
Adding support for ADL-N (#85)
1 parent c76f450 commit 879c22e

File tree

2 files changed

+135
-2
lines changed

2 files changed

+135
-2
lines changed

Source/GmmLib/Platform/GmmGen12Platform.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,9 @@ FCRECTALIGN(TILE__64_2D_128bpe, 128, 32, 32, 32, 32);
313313
Data.HighestAcceptablePhysicalAddress = GFX_MASK_LARGE(0, 51);
314314
}
315315
else if(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_S ||
316-
(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_P) || (GFX_GET_CURRENT_PRODUCT(Data.Platform) >= IGFX_XE_HP_SDV))
316+
(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_P) ||
317+
(GFX_GET_CURRENT_PRODUCT(Data.Platform) == IGFX_ALDERLAKE_N) ||
318+
(GFX_GET_CURRENT_PRODUCT(Data.Platform) >= IGFX_XE_HP_SDV))
317319
{
318320
Data.NoOfBitsSupported = 46;
319321
Data.HighestAcceptablePhysicalAddress = GFX_MASK_LARGE(0, 45);

Source/inc/common/igfxfmid.h

Lines changed: 132 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ typedef enum {
7070
IGFX_ROCKETLAKE,
7171
IGFX_ALDERLAKE_S,
7272
IGFX_ALDERLAKE_P,
73-
73+
IGFX_ALDERLAKE_N,
7474
IGFX_DG1 = 1210,
7575
IGFX_XE_HP_SDV = 1250,
7676
IGFX_DG2 = 1270,
@@ -105,6 +105,7 @@ typedef enum {
105105
PCH_ADL_S, // ADL_S PCH
106106
PCH_ADL_P, // ADL_P PCH
107107
PCH_TGL_H, // TGL H PCH
108+
PCH_ADL_N, // ADL_N PCH
108109
PCH_PRODUCT_FAMILY_FORCE_ULONG = 0x7fffffff
109110
} PCH_PRODUCT_FAMILY;
110111

@@ -1641,6 +1642,131 @@ typedef enum __NATIVEGTTYPE
16411642
#define PCH_DEV_ID_519E 0x519E
16421643
#define PCH_DEV_ID_519F 0x519F
16431644

1645+
// ADL_N PCH Device ID range
1646+
#define PCH_DEV_ID_5480 0x5480
1647+
#define PCH_DEV_ID_5481 0x5481
1648+
#define PCH_DEV_ID_5482 0x5482
1649+
#define PCH_DEV_ID_5483 0x5483
1650+
#define PCH_DEV_ID_5484 0x5484
1651+
#define PCH_DEV_ID_5485 0x5485
1652+
#define PCH_DEV_ID_5486 0x5486
1653+
#define PCH_DEV_ID_5487 0x5487
1654+
#define PCH_DEV_ID_5488 0x5488
1655+
#define PCH_DEV_ID_5489 0x5489
1656+
#define PCH_DEV_ID_548A 0x548A
1657+
#define PCH_DEV_ID_548B 0x548B
1658+
#define PCH_DEV_ID_548C 0x548C
1659+
#define PCH_DEV_ID_548D 0x548D
1660+
#define PCH_DEV_ID_548E 0x548E
1661+
#define PCH_DEV_ID_548F 0x548F
1662+
#define PCH_DEV_ID_5490 0x5490
1663+
#define PCH_DEV_ID_5491 0x5491
1664+
#define PCH_DEV_ID_5492 0x5492
1665+
#define PCH_DEV_ID_5493 0x5493
1666+
#define PCH_DEV_ID_5494 0x5494
1667+
#define PCH_DEV_ID_5495 0x5495
1668+
#define PCH_DEV_ID_5496 0x5496
1669+
#define PCH_DEV_ID_5497 0x5497
1670+
#define PCH_DEV_ID_5498 0x5498
1671+
#define PCH_DEV_ID_5499 0x5499
1672+
#define PCH_DEV_ID_549A 0x549A
1673+
#define PCH_DEV_ID_549B 0x549B
1674+
#define PCH_DEV_ID_549C 0x549C
1675+
#define PCH_DEV_ID_549D 0x549D
1676+
#define PCH_DEV_ID_549E 0x549E
1677+
#define PCH_DEV_ID_549F 0x549F
1678+
#define PCH_DEV_ID_54A0 0x54A0
1679+
#define PCH_DEV_ID_54A1 0x54A1
1680+
#define PCH_DEV_ID_54A2 0x54A2
1681+
#define PCH_DEV_ID_54A3 0x54A3
1682+
#define PCH_DEV_ID_54A4 0x54A4
1683+
#define PCH_DEV_ID_15FB 0x15FB
1684+
#define PCH_DEV_ID_15FC 0x15FC
1685+
#define PCH_DEV_ID_54A6 0x54A6
1686+
#define PCH_DEV_ID_54A7 0x54A7
1687+
#define PCH_DEV_ID_54A8 0x54A8
1688+
#define PCH_DEV_ID_54A9 0x54A9
1689+
#define PCH_DEV_ID_54AA 0x54AA
1690+
#define PCH_DEV_ID_54AB 0x54AB
1691+
#define PCH_DEV_ID_54AC 0x54AC
1692+
#define PCH_DEV_ID_54AD 0x54AD
1693+
#define PCH_DEV_ID_54AE 0x54AE
1694+
#define PCH_DEV_ID_54AF 0x54AF
1695+
#define PCH_DEV_ID_54B0 0x54B0
1696+
#define PCH_DEV_ID_54B1 0x54B1
1697+
#define PCH_DEV_ID_54B2 0x54B2
1698+
#define PCH_DEV_ID_54B3 0x54B3
1699+
#define PCH_DEV_ID_54B4 0x54B4
1700+
#define PCH_DEV_ID_54B5 0x54B5
1701+
#define PCH_DEV_ID_54B6 0x54B6
1702+
#define PCH_DEV_ID_54B7 0x54B7
1703+
#define PCH_DEV_ID_54B8 0x54B8
1704+
#define PCH_DEV_ID_54B9 0x54B9
1705+
#define PCH_DEV_ID_54BA 0x54BA
1706+
#define PCH_DEV_ID_54BB 0x54BB
1707+
#define PCH_DEV_ID_54BC 0x54BC
1708+
#define PCH_DEV_ID_54BD 0x54BD
1709+
#define PCH_DEV_ID_54BE 0x54BE
1710+
#define PCH_DEV_ID_54BF 0x54BF
1711+
#define PCH_DEV_ID_54C4 0x54C4
1712+
#define PCH_DEV_ID_54C5 0x54C5
1713+
#define PCH_DEV_ID_54C6 0x54C6
1714+
#define PCH_DEV_ID_54C7 0x54C7
1715+
#define PCH_DEV_ID_54C8 0x54C8
1716+
#define PCH_DEV_ID_54C9 0x54C9
1717+
#define PCH_DEV_ID_54CA 0x54CA
1718+
#define PCH_DEV_ID_54CB 0x54CB
1719+
#define PCH_DEV_ID_54CC 0x54CC
1720+
#define PCH_DEV_ID_54CD 0x54CD
1721+
#define PCH_DEV_ID_54CE 0x54CE
1722+
#define PCH_DEV_ID_54CF 0x54CF
1723+
#define PCH_DEV_ID_54D0 0x54D0
1724+
#define PCH_DEV_ID_54D1 0x54D1
1725+
#define PCH_DEV_ID_54D2 0x54D2
1726+
#define PCH_DEV_ID_54D3 0x54D3
1727+
#define PCH_DEV_ID_54D4 0x54D4
1728+
#define PCH_DEV_ID_54D6 0x54D6
1729+
#define PCH_DEV_ID_54D7 0x54D7
1730+
#define PCH_DEV_ID_282A 0x282A
1731+
#define PCH_DEV_ID_54D8 0x54D8
1732+
#define PCH_DEV_ID_54D9 0x54D9
1733+
#define PCH_DEV_ID_54DA 0x54DA
1734+
#define PCH_DEV_ID_54DB 0x54DB
1735+
#define PCH_DEV_ID_54DC 0x54DC
1736+
#define PCH_DEV_ID_54DD 0x54DD
1737+
#define PCH_DEV_ID_54DE 0x54DE
1738+
#define PCH_DEV_ID_54DF 0x54DF
1739+
#define PCH_DEV_ID_54E0 0x54E0
1740+
#define PCH_DEV_ID_54E1 0x54E1
1741+
#define PCH_DEV_ID_54E2 0x54E2
1742+
#define PCH_DEV_ID_54E3 0x54E3
1743+
#define PCH_DEV_ID_54E4 0x54E4
1744+
#define PCH_DEV_ID_54E5 0x54E5
1745+
#define PCH_DEV_ID_54E6 0x54E6
1746+
#define PCH_DEV_ID_54E7 0x54E7
1747+
#define PCH_DEV_ID_54E8 0x54E8
1748+
#define PCH_DEV_ID_54E9 0x54E9
1749+
#define PCH_DEV_ID_54EA 0x54EA
1750+
#define PCH_DEV_ID_54EB 0x54EB
1751+
#define PCH_DEV_ID_54ED 0x54ED
1752+
#define PCH_DEV_ID_54EE 0x54EE
1753+
#define PCH_DEV_ID_54EF 0x54EF
1754+
#define PCH_DEV_ID_54F0 0x54F0
1755+
#define PCH_DEV_ID_54F1 0x54F1
1756+
#define PCH_DEV_ID_54F2 0x54F2
1757+
#define PCH_DEV_ID_54F3 0x54F3
1758+
#define PCH_DEV_ID_54F4 0x54F4
1759+
#define PCH_DEV_ID_54F5 0x54F5
1760+
#define PCH_DEV_ID_54F6 0x54F6
1761+
#define PCH_DEV_ID_54F7 0x54F7
1762+
#define PCH_DEV_ID_54F9 0x54F9
1763+
#define PCH_DEV_ID_54FA 0x54FA
1764+
#define PCH_DEV_ID_54FB 0x54FB
1765+
#define PCH_DEV_ID_54FC 0x54FC
1766+
#define PCH_DEV_ID_54FD 0x54FD
1767+
#define PCH_DEV_ID_54FE 0x54FE
1768+
#define PCH_DEV_ID_54FF 0x54FF
1769+
16441770
//PVC Device ID
16451771
#define DEV_ID_0BD0 0x0BD0
16461772
#define DEV_ID_0BD5 0x0BD5
@@ -1670,6 +1796,11 @@ typedef enum __NATIVEGTTYPE
16701796
#define DEV_ID_56B0 0x56B0
16711797
#define DEV_ID_56B1 0x56B1
16721798

1799+
// ADL-N
1800+
#define DEV_ID_46D0 0x46D0
1801+
#define DEV_ID_46D1 0x46D1
1802+
#define DEV_ID_46D2 0x46D2
1803+
16731804
#define MGM_HAS 0
16741805

16751806
//#define SDG_HAS 1 //Reserve place for Springdale-G HAS

0 commit comments

Comments
 (0)