Commit Graph

281 Commits

Author SHA1 Message Date
vipuldas 953fe96ce2 Remove OS unaware S3D
Change-Id: I1c0d52185b1837c0d3945820cde2d9eb019ddaa2
2018-03-15 10:08:49 -07:00
vipuldas edb82f49e5 Fix LCU alignment for surfaces
Change-Id: I185776db51a8b0a3f4d301fc3c79e206a08afb1b
2018-03-14 14:20:15 -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
drprajap 1f6d6fac52 cleanup stale code - part 2
Change-Id: If1655af31f49fe6f536159bcfc6cdcdf2b60ab86
2018-03-14 10:52:25 -08:00
drprajap 31bfdee666 cleanup stale code
Change-Id: I0eef6f76af8085b7ab7f33e40135c251cdfc28e7
2018-03-14 09:51:58 -08:00
drprjap 8a0b89df18 Fixing SetTargetConfig in cmake to enable all builds
Change-Id: I9449bc3a785bfb968ae5cfa178b0b71480fa067d
2018-03-12 14:11:58 -07:00
pwilma b8d74ac3fc Rename LIBDRM_SRC to GMM_LIBDRM_SRC when MESA_MOCS is used
Change-Id: I1c58070c6a19c8080d6ff2a65b7fcbf69d609f02
2018-02-23 12:34:28 -08:00
lpriyank ef89a06770 Fix double allocation of depth, with HiZ disabled
Change-Id: I57d6c8aabfa7bcf33565ea4076a1666f44c9ca59
2018-02-22 13:44:59 -08: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 ccbea3e0be remove unsupported linker argument for clang
Change-Id: I6779f0abdf4bb13f34ad4b5518695a380d19a802
2018-02-20 12:28:45 -08:00
drprjap 6fb65989e4 [CM] Add Resource Usage for media
Change-Id: Ie762001595f70fea07f4c9a1873abaffa114482d
2018-02-12 23:50:51 -08:00
drprjap 12d4b159f4 Legacy features code cleanup
Change-Id: I9ce11f49b7213c192ac916fa8d971e8f3401e01f
2018-02-12 23:35:38 -08:00
drprjap 428653b5fb Increase the MaxPitch for flip chain surfaces
This issue happens only on specific panel (LG ULTRAFINE 5K DISPLAY)  on CNL
GMM doesn't need to enforce display restrictions since all allocated resources aren't always displayed on Intel hardware or through one pipe.

Change-Id: I2804f04ba63fcbe88582f827b16c21b7840d5b71
2018-02-12 23:29:57 -08:00
drprjap 79f864ced8 CNL H device id addition
Change-Id: I8ab43541d36e21b20f6e8e2842c17a683af487e5
2018-02-12 23:12:52 -08:00
drprjap cab3411f04 Cleanup Utility APIs
Change-Id: I9a3fff24a79be5d3f8f496bd2115c9e79dcbc576
2018-02-08 23:14:13 -08:00
drprjap 77b31f2df4 change in Std types for common headers
Change-Id: If2079f53a28d1326274322e9149a44300c3de14e
2018-02-08 15:35:55 -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
drprajap ae8aa03b4d Add GLK Device ids
Change-Id: I712c2cded19528578b38bf9ef207e26ed56b1dbd
2018-02-06 16:32:59 -08:00
lpriyank be40a8667e Add compression support for jpeg planar formats
Change-Id: Iabf248690404924362863bdcf3ae85fedd165ed6
2018-02-02 10:47:35 -08:00
vazad 2e295c6288 Change in macro definition
Do not need # in macro to combine two strings.

Change-Id: I80be6946f3865f0c1bcd42dae8f955ff6c2e0f39
2018-01-29 12:26:36 -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
drprjap 6f565367e8 Coding style changes
Change-Id: I02149f509488243dc6a756a503603543c315acc0
2018-01-25 16:32:29 -08:00
vipuldas 6210342326 Page aligned YUV Planar surface
Change-Id: I1e80cacb28e6271c99d6fbd352a7b196dae94a2a
2018-01-24 14:28:54 -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 0154744f9c Removal of stale code
Klockwork fix

Change-Id: I81d2bf82962744f07cd6b922ccdb5a1ed387d919
2017-12-19 16:32:12 -08:00
Artur Harasimiuk b5401ca8e7 Added missing public headers location
Change-Id: I3517a27bcc039c7fe863b0180ff5c2c2a2bd1e63
2017-12-18 23:40:12 +01:00
drprajap aa11d6ada5 Removing windef wrapper header
Change-Id: I63ca71a7d4905e9f9019a93600f294d75c805249
2017-12-18 14:17:12 -08:00
drprajap afc3466ce8 GmmLib WIN types cleanup
Change-Id: Ib38192027947da95bdec170ae236881cd8cd728d
2017-12-15 11:52:21 -08:00
drprajap 8ea5f653c4 Windows clenaup
Change-Id: I11e3ffc7484fed44b4a10ff9cbed613aec807d07
2017-12-04 10:38:22 -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
drprajap e965b7a58c Initial commit 2017-12-01 10:42:29 -08:00