Skip to content

Commit ac68e2c

Browse files
johnbashdrprajap
authored andcommitted
Renaming Gmm flag for ApertureOnly
GMM_RESOURCE_FLAG::Info.ApertureOnly to GMM_RESOURCE_FLAG::Info.NonLocalOnly Clients should use NonLocalOnly flag, ApertureOnly will be removed once all clients switch to using new flag Change-Id: I387a44dae87b111bb6aea8af3638909e8d6b92d3
1 parent 8bee050 commit ac68e2c

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Source/GmmLib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ cmake_minimum_required(VERSION 3.5)
2424
project(igfx_gmmumd)
2525

2626
# GmmLib Api Version used for so naming
27-
set(GMMLIB_API_MAJOR_VERSION 7)
27+
set(GMMLIB_API_MAJOR_VERSION 8)
2828
set(GMMLIB_API_MINOR_VERSION 0)
2929

3030
if(NOT DEFINED MAJOR_VERSION)
31-
set(MAJOR_VERSION 7)
31+
set(MAJOR_VERSION 8)
3232
endif()
3333

3434
if(NOT DEFINED MINOR_VERSION)

Source/GmmLib/inc/External/Common/GmmLibDllName.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
2929
#if defined(_WIN64)
3030
#define GMM_UMD_DLL "igdgmm64.dll"
3131
#else
32-
#define GMM_UMD_DLL "libigdgmm.so.7"
32+
#define GMM_UMD_DLL "libigdgmm.so.8"
3333
#endif
3434
#else
3535
#define GMM_ENTRY_NAME "_OpenGmm@4"
@@ -40,6 +40,6 @@ OTHER DEALINGS IN THE SOFTWARE.
4040
#if defined(_WIN32)
4141
#define GMM_UMD_DLL "igdgmm32.dll"
4242
#else
43-
#define GMM_UMD_DLL "libigdgmm.so.7"
43+
#define GMM_UMD_DLL "libigdgmm.so.8"
4444
#endif
4545
#endif

Source/GmmLib/inc/External/Common/GmmResourceFlags.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ typedef struct GMM_RESOURCE_FLAG_REC
9494
struct
9595
{
9696
uint32_t AllowVirtualPadding : 1;
97-
uint32_t ApertureOnly : 1;
97+
uint32_t ApertureOnly : 1; // Renaming ApertureOnly to NonLocalOnly, Will remove once all clients are moved to NonLocalOnly.
9898
uint32_t BigPage : 1;
9999
uint32_t Cacheable : 1;
100100
uint32_t ContigPhysMemoryForiDART : 1; // iDART clients only; resource allocation must be physically contiguous.
@@ -103,7 +103,7 @@ typedef struct GMM_RESOURCE_FLAG_REC
103103
uint32_t ForceResidency : 1; // (SVM Only) Forces CPU/GPU residency of the allocation's backing pages at creation.
104104
uint32_t Gfdt : 1;
105105
uint32_t GttMapType : 5;
106-
uint32_t HardwareProtected : 1;
106+
uint32_t HardwareProtected : 1;
107107
uint32_t KernelModeMapped : 1; // Sets up pGmmBlock->pKernelModeMapping to allow kernel-mode mapping of the backing memory
108108
uint32_t LayoutBelow : 1; // Indicates the orientation of MIP data in the buffer. This is the surviving option and may be inferred as the default.
109109
uint32_t LayoutMono : 1; // Legacy, deprecated MIP layout. Used for internal debugging.
@@ -114,6 +114,7 @@ typedef struct GMM_RESOURCE_FLAG_REC
114114
uint32_t NoOptimizationPadding : 1; // don't swell size for sake of 64KB pages - FtrWddm2_1_64kbPages
115115
uint32_t NoPhysMemory : 1; // KMD Gfx Client Submission. Client miniport drivers may want to map their physical pages to Gfx memory space instead of allocating Gfx physical memory.
116116
uint32_t NotLockable : 1; // Resource is GPU-exclusive and shall not be reference by the CPU. Relevant to memory allocation components as an optimisation opportunity for mapping buffers in CPU-side.
117+
uint32_t NonLocalOnly : 1;
117118
uint32_t StdSwizzle : 1; // Standard Swizzle (YS) support on SKL+
118119
uint32_t PseudoStdSwizzle : 1; // Only applicable to D3D12+ UMD's, for special-case of limited Standard Swizzle (YS) support on HSW/BDW/CHV.
119120
uint32_t Undefined64KBSwizzle : 1; // Only applicable if system doesn't support StdSwizzle (i.e. Pre-Gen9). If set, surface is using one of the INTEL_64KB_UNDEFINED_* swizzles.

0 commit comments

Comments
 (0)