mirror of https://github.com/intel/gmmlib.git
Unused MOCS Default Programming(L3+LLC)
Mark Unused MOCS Indices to L3,LLC Cacheable Change-Id: Ie7905e8670a898380a674cd68ebccbc2496a5573
This commit is contained in:
parent
3ec6a0cd4e
commit
8b73947540
|
@ -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 )
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue