Skip to content

Commit c882f72

Browse files
committed
Upstream Rocket Lake platform.
Change-Id: Icfbd8accf992332846dec67ace76ab64057de0d6
1 parent b5f2603 commit c882f72

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

Source/GmmLib/CachePolicy/GmmGen12CachePolicy.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,8 @@ void GmmLib::GmmGen12CachePolicy::SetUpMOCSTable()
676676
GMM_DEFINE_MOCS( 63 , 0 , 0 , 1 , 3 , 1 , 3 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )
677677

678678

679-
if(!pGmmGlobalContext->GetSkuTable().FtrLLCBypass)
679+
if(!pGmmGlobalContext->GetSkuTable().FtrLLCBypass ||
680+
GFX_GET_CURRENT_PRODUCT(pGmmGlobalContext->GetPlatformInfo().Platform) == IGFX_ROCKETLAKE)
680681
{
681682
GMM_DEFINE_MOCS( 16 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )
682683
GMM_DEFINE_MOCS( 17 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )

Source/inc/common/igfxfmid.h

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,13 @@ typedef enum {
6565
IGFX_LAKEFIELD,
6666
IGFX_JASPERLAKE,
6767
IGFX_ELKHARTLAKE =IGFX_JASPERLAKE,
68+
6869
IGFX_TIGERLAKE_LP,
69-
IGFX_DG1 = 1210,
70-
IGFX_MAX_PRODUCT,
70+
IGFX_ROCKETLAKE,
7171

72+
IGFX_DG1 = 1210,
7273

74+
IGFX_MAX_PRODUCT,
7375
IGFX_GENNEXT = 0x7ffffffe,
7476
PRODUCT_FAMILY_FORCE_ULONG = 0x7fffffff
7577
} PRODUCT_FAMILY;
@@ -1192,6 +1194,14 @@ typedef enum __NATIVEGTTYPE
11921194

11931195
#define DEV_ID_4905 0x4905
11941196

1197+
// Rocketlake
1198+
#define DEV_ID_4C80 0x4C80
1199+
#define DEV_ID_4C8A 0x4C8A
1200+
#define DEV_ID_4C8B 0x4C8B
1201+
#define DEV_ID_4C8C 0x4C8C
1202+
#define DEV_ID_4C90 0x4C90
1203+
#define DEV_ID_4C9A 0x4C9A
1204+
11951205
//LKF
11961206
#define ILKF_1x8x8_DESK_DEVICE_F0_ID 0x9840
11971207
#define ILKF_GT0_DESK_DEVICE_A0_ID 0x9850

0 commit comments

Comments
 (0)