Commit Graph

16 Commits

Author SHA1 Message Date
John Machado 416ee5042f
Assert if Tilemode exceeds maximum index 2022-10-21 19:13:09 +05:30
johnmach ffd91d07b7
GMM Global Context removal (#62)
* 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
2021-12-03 21:57:13 +05:30
johnbash cac1a15c98
Xe_HP_SDV Unembargoed. (#43) 2021-04-21 20:06:34 +05:30
johnmach 73fbd50441
Planar Surface Redescription and pitch adjustment. (#31) 2021-03-08 17:47:23 +05:30
johnmach 395401fe31
Revert "Planar Surface Redescription: GMM existing path removal + pitch adjustment (#6)" (#10)
This reverts commit 8057a638c1.
2020-12-15 19:02:29 +05:30
johnmach 8057a638c1
Planar Surface Redescription: GMM existing path removal + pitch adjustment (#6) 2020-12-04 17:05:52 +05:30
johnbasha shaik cff49a8270 Add new media P216 format.
Change-Id: I5d18b98d6fb5cada123dbb0ac8010c86c1cdf1fb
2020-06-17 16:41:01 +05:30
johnbasha shaik 3f1ff2303d RGBP Linear Tile Keep Resource Offset non aligned and for other Tiles to be 16bit aligned(Legacy)
Change-Id: Ie2acce84f51ec88d9cc959388bbe7a0654188513
2020-06-11 05:22:11 -07:00
johnbasha shaik b136069616 Add TGL_LP support
Change-Id: I522eeb8ea285eb900890ecf454ee12ed30f867f2
2019-09-13 22:48:13 -07:00
drprjap 8bee050d28 Adding Lakefield support
Refactoring internal classes

Change-Id: Ifd38919c99e6414b0b63fb8c26ccb84c32e062de
Signed-off-by: drprjap <dimpalben.r.prajapati@intel.com>
2019-02-14 10:58:49 -08:00
kmvadsar e3f34698be Refactor the legacy TileY/Yf/Ys code under FtrTileY
Change-Id: I3b5c2d8367f79ab9b3f12ee6469fd4a204166bba
2018-10-10 23:21:46 -07:00
vipuldas a6c821ef69 Remove YUVShaderFriendlyLayout, update GetQpitchPlanar to return QPitch in rows
Fix GetQpitchPlanar function to return Qpitch in rows and not in bytes (UMDs do not have to perform any additional calculations, GMM returns Qpitch that can be programmed directly)

Change-Id: Ice2e5baf1153a108807f3eae7be57d7cecd05bac
2018-05-21 14:59:11 -07:00
drprjap 6f565367e8 Coding style changes
Change-Id: I02149f509488243dc6a756a503603543c315acc0
2018-01-25 16:32:29 -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