Unused MOCS Default Programming(L3+LLC)

Mark Unused MOCS Indices to L3,LLC Cacheable

Change-Id: Ie7905e8670a898380a674cd68ebccbc2496a5573
This commit is contained in:
johnbasha shaik 2020-03-12 17:47:55 +05:30 committed by gbsbuild
parent 3ec6a0cd4e
commit 8b73947540
2 changed files with 11 additions and 0 deletions

View File

@ -314,6 +314,11 @@ void GmmLib::GmmGen11CachePolicy::SetUpMOCSTable()
// clang-format off
//Default MOCS Table
for(int index = 0; index < GMM_MAX_NUMBER_MOCS_INDEXES; index++)
{ // Index ESC SCC L3CC LeCC TC LRUM DAoM ERSC SCC PFM SCF CoS SSE
GMM_DEFINE_MOCS(index , 0 , 0 , 3 , 3 , 1 , 3 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )
}
// Explicit MOCS Table
// Index ESC SCC L3CC LeCC TC LRUM DAoM ERSC SCC PFM SCF CoS SSE
GMM_DEFINE_MOCS( 0 , 0 , 0 , 1 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )

View File

@ -634,6 +634,12 @@ void GmmLib::GmmGen12CachePolicy::SetUpMOCSTable()
// clang-format off
//Default MOCS Table
for(int index = 0; index < GMM_MAX_NUMBER_MOCS_INDEXES; index++)
{ // Index ES SCC L3CC LeCC TC LRUM DAoM ERSC SCC PFM SCF CoS SSE HDCL1
GMM_DEFINE_MOCS( index , 0 , 0 , 3 , 3 , 1 , 3 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )
}
// Fixed MOCS Table
// Index ESC SCC L3CC LeCC TC LRUM DAoM ERSC SCC PFM SCF CoS SSE HDCL1
GMM_DEFINE_MOCS( 0 , 0 , 0 , 1 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )