Skip to content

Commit 19ab520

Browse files
committed
Fix static MOCS table for Gen9 Atom platforms
Description: Static MOCS table for Gen9 Atom platforms had a bug where it was setting LRUM/Age to 0 for MOCS index 2. This patch fixes this issue. Change-Id: I6acc9236b2ee65cded23402b2d322c72661051ee
1 parent 2d58b09 commit 19ab520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/GmmLib/CachePolicy/GmmGen9CachePolicy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ GMM_STATUS GmmLib::GmmGen9CachePolicy::InitCachePolicy()
144144
pGmmGlobalContext->GetPlatformInfo().Platform.eProductFamily == IGFX_GEMINILAKE)
145145
{
146146
UsageEle.LeCC.AOM = 0;
147-
UsageEle.LeCC.LRUM = 0;
148147
UsageEle.LeCC.Cacheability = LeCC_UNCACHEABLE; // To avoid side effects use 01b even though 01b(UC) 11b(WB) are equivalent option
149148

150149
#if defined(GMM_DYNAMIC_MOCS_TABLE)
151150
UsageEle.LeCC.TargetCache = TC_LLC; // No LLC for Broxton, but we still set it to LLC since it is needed for IA coherency cases
151+
UsageEle.LeCC.LRUM = 0;
152152
#else
153153
UsageEle.LeCC.TargetCache = TC_LLC_ELLC; // To match I915_GEN9_MOCS[0]
154154
#endif

0 commit comments

Comments
 (0)