This commit adds the following changes:
* Add METEORLAKE platform support to the Library
* Bump up MINOR_NUMBER from 2 to 3, changing Lib tag version 22.2.1 to 22.3.0
* Phase 1: As part of global and static code removal- GMM policy, plaformInfo and texture class updated to have pGmmGlobal contextas part of it
* Updating the GMM #define to make sure it uses parameterized GMMlib Context
* Replace pGmmGlobalContext with member variable with pGmmLibContext in all GMM cache policy files
* Replace pGmmGlobalContext with pGmmLibContext in all Platform Class related API
* Remove any remaining use of pGmmGlobalContext
* Phase 2: Update Macros to use pGmmLibContext (local) instead of global pGmmGlobalContext
* Replace pGmmGlobalContext with pGmmUMDLibContext/pGmmKMDLibContext in GMM_RESOURCE_INFO class and its member functions
* All KMD level pGmmGlobalContext global variable is removed and replaced with pGmmLibContext
* Phase 3: Add support for Multi-Adapter in GMM UMD Library and replace pGmmGloContext to pGmmLibContext
* Make GMM UMD DLL Initialize and Destroy APIs backward compatible for SingleAdapter use case
* Phase 4: Enable and add support for Multi-Adapter ULT for GMM UMD DLL in GMM ULT
* Update the Entry-Level Init and destroy APIs
* Phase 5: Remove the pGmmGlobalContext Global and its dependencies
* Initial cleanup of KMD code
* Updating variable data type and License Info
Avoid inlining of exported member functions in Client’s code in DLL mode, this is to eliminate exposing internal members in exported APIs causing linker issues.
Change-Id: Ia982002eb43f4816099f3de181f11bb1e25e5872
Signed-off-by: johnbash <johnbasha.shaik@intel.com>
- Add make install for shared and static library
- package public interface headers
- Add support for pkg-config via igdgmm.pc config file
Change-Id: I80f23dac0511b456de6d8e41827436be8587ee28
- Add GMM lib DLL project in Cmake file.
- All code changes needed to make GMM lib DLL are under GMM_LIB_DLL macro.
- Add ProcessSingleton elements in DLL context.
- Establish a link between DLL singleton Data and Process Singleton data in ProcessContext in KMD for ProcessSingleton elements. This is needed when GMM lib exists in both static and DLL mode.
- Overloaded Create and Destroy GMM objects member fucntions of ClientContext to take memory Allocators and Deallocators from Clients. This is needed for Clients like VK.
Change-Id: Iab4e596723a0fa0eede262bdb26436ba8a7d5cc1