Commit Graph

9 Commits

Author SHA1 Message Date
johnbasha shaik a09c68fd32 Add Pagetable manager and auxtable support.
Change-Id: I429b52a70c77fc304c65d28d42b18f99b01116d5
2019-09-14 08:02:31 +05:30
drprajap a5f2391315 GmmLib shared/static library packaging
- 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
2018-06-22 13:12:37 -08:00
shankarp aaaf72ffd0 GmmLib only DLL integration
- 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
2018-03-14 13:13:34 -07:00
shankarp 4155f0604e Enable unified gmmlib target
- These changes are for enabling unified GMM lib target. Unified GMM lib target will not have any clients specific build macros.
- Addition of GMM Old API Translation Layer for backward compatibilty for all GMM APIs across ALL UMD clients.
- Creation of Global Client Context handle only for backward compatible clients. This shall be replaced by client handle by clients moving to new API.
- Add new definitions for GMM Device Callbacks structure.
- Add new definitions for KMDaf related macros only for GMM to be used bu unified GMM lib.
- Makes ClientContext class member of Resinfo class
- GmmLib cmake change to add new igfxgmmumd unified static lib project

Change-Id: I913192e0879e565fb369c364fcba573a18b3fe13
2018-02-21 15:30:15 -08:00
drprajap f7b5da59be Revert "Add new target to unify gmmlib"
This reverts commit d6c3b56745.

Change-Id: I55a7c86f0d9a834f546e497324c6d2d7f464ba87
2018-02-07 23:36:09 -08:00
shankarp d6c3b56745 Add new target to unify gmmlib
- Makes ClientContext class member of Resinfo and PageTableMgr class
- Addition of OCL Translation Layer
- GmmLib cmake change to add new igfxgmmumd unified static lib project

Change-Id: If155bafad29086ab5309c24f1f8a1862f92eb654
2018-01-29 12:03:41 -08:00
drprajap b1451bbe4c Add ClientContext class
Special MOCS handling

Remove client specific definitions for GMM_ASSERT and GMM_DEBUG macros

Change-Id: I8360f07277678a67a68c311061fde3400726a874
2018-01-11 13:55:42 -08:00
drprajap afc3466ce8 GmmLib WIN types cleanup
Change-Id: Ib38192027947da95bdec170ae236881cd8cd728d
2017-12-15 11:52:21 -08:00
drprajap 7a1ec78c0b Initial open source release for media-driver
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2017-12-01 10:44:37 -08:00