File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ GmmLib::GmmCachePolicyCommon::GmmCachePolicyCommon(GMM_CACHE_POLICY_ELEMENT *pCa
31
31
{
32
32
this ->pCachePolicy = pCachePolicy;
33
33
this ->pGmmLibContext = pGmmLibContext;
34
+ NumPATRegisters = GMM_NUM_PAT_ENTRIES_LEGACY;
34
35
}
35
36
36
37
// ///////////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ OTHER DEALINGS IN THE SOFTWARE.
40
40
#define GMM_INTERNAL_RESOURCE 0 // Used for Alloc Tag Mapping
41
41
#define GMM_MAX_NUMBER_MOCS_INDEXES (64)
42
42
#define GMM_GEN9_MAX_NUMBER_MOCS_INDEXES (62) // On SKL there are 64 MOCS indexes, but the last two are reserved by h/w.
43
+ #define GMM_NUM_PAT_ENTRIES_LEGACY (8)
43
44
#define GMM_NUM_PAT_ENTRIES 8
44
45
#define GMM_NUM_MEMORY_TYPES 4
45
46
#define GMM_NUM_GFX_PAT_TYPES 6
You can’t perform that action at this time.
0 commit comments