mirror of https://github.com/intel/gmmlib.git
Add Gmm interface for memory config
Increment Dll Version Change-Id: Ica11a2c7703eb1edf02eaf7cd758fda310f9bd17 Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
This commit is contained in:
parent
5cd8dca50b
commit
fffd5a579e
|
@ -24,11 +24,11 @@ cmake_minimum_required(VERSION 3.5)
|
|||
project(igfx_gmmumd)
|
||||
|
||||
# GmmLib Api Version used for so naming
|
||||
set(GMMLIB_API_MAJOR_VERSION 3)
|
||||
set(GMMLIB_API_MAJOR_VERSION 4)
|
||||
set(GMMLIB_API_MINOR_VERSION 0)
|
||||
|
||||
if(NOT DEFINED MAJOR_VERSION)
|
||||
set(MAJOR_VERSION 3)
|
||||
set(MAJOR_VERSION 4)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED MINOR_VERSION)
|
||||
|
|
|
@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|||
#if defined(_WIN64)
|
||||
#define GMM_UMD_DLL "igdgmm64.dll"
|
||||
#else
|
||||
#define GMM_UMD_DLL "libigdgmm.so.3"
|
||||
#define GMM_UMD_DLL "libigdgmm.so.4"
|
||||
#endif
|
||||
#else
|
||||
#define GMM_ENTRY_NAME "_OpenGmm@4"
|
||||
|
@ -40,6 +40,6 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|||
#if defined(_WIN32)
|
||||
#define GMM_UMD_DLL "igdgmm32.dll"
|
||||
#else
|
||||
#define GMM_UMD_DLL "libigdgmm.so.3"
|
||||
#define GMM_UMD_DLL "libigdgmm.so.4"
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -108,6 +108,7 @@ typedef struct GMM_RESOURCE_FLAG_REC
|
|||
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.
|
||||
uint32_t LayoutMono : 1; // Legacy, deprecated MIP layout. Used for internal debugging.
|
||||
uint32_t LayoutRight : 1; // Legacy, deprecated MIP layout.
|
||||
uint32_t LocalOnly : 1;
|
||||
uint32_t Linear : 1; // (non-)tiling preference for the allocation. (lowest priority) Y>X>W>L. See GmmLib::GmmTextureCalc::SetTileMode()
|
||||
uint32_t MediaCompressed : 1;
|
||||
uint32_t NoOptimizationPadding : 1; // don't swell size for sake of 64KB pages - FtrWddm2_1_64kbPages
|
||||
|
|
Loading…
Reference in New Issue