Commit Graph

36 Commits

Author SHA1 Message Date
John Machado e2a8b80fb1
Fail if pTextureCalc is NULL (#196) 2024-05-30 15:06:59 +05:30
John Machado 29da856483
Add support for UnifiedAux+Depth+HiZ w/o CCS 2023-06-06 11:52:05 +05:30
John Machado cead236f11
Enable Tile64Optimization on all Tile64 supported platforms 2023-06-02 18:04:42 +05:30
John Machado a9f752c954
Replace WaDefaultTile4 with a feature flag 2023-06-02 17:37:54 +05:30
John Machado df21d752fc
Refactor boolean false type 2023-04-24 10:41:28 +05:30
John Machado 1f4fe32455
Tile4 for YCrCb surface format 2023-03-09 19:09:51 +05:30
John Machado 73b00c2905
Remove RGBP/BGRP formats from Tile64 path as it uses Tile4 2023-03-09 18:45:54 +05:30
John Machado 330fef0082
Add forceful fallback to support Tile4 using an Ftr flag 2023-03-08 18:15:13 +05:30
Manish7093 8bbf366eb1
Align SURFTYPE_3D surfaces 2022-12-02 16:36:15 +05:30
Manish7093 8a49418020
Fix Tiling Selection 2022-12-02 15:41:10 +05:30
johnmach 9290546f49
Add resource flag for DG2 and align standard allocation (#88) 2022-01-24 21:05:11 +05:30
johnmach 2d5f77a6a3
Adding Support for DG2 (#74) 2021-12-04 17:44:40 +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
johnmach 1c975c5263
Generic fixes for Linear tiling selection (#65) 2021-09-07 15:29:33 +05:30
johnmach 11ce561802
Tiling format restriction addition for displayable surfaces (#54) 2021-06-17 14:06:07 +05:30
johnbash cac1a15c98
Xe_HP_SDV Unembargoed. (#43) 2021-04-21 20:06:34 +05:30
johnbasha shaik bb42a5e9dc DG1 Upstream
First patch for DG1 Unembargoed

Change-Id: I43b4f47bba2b6c672af920e13bcd58a4c18ac22b
2020-06-18 21:16:28 +05:30
johnbasha shaik 41a3dc984d Fix for resource creation failure.
Change-Id: Id2e2f397eec8f67fba687591cbf2301597bddb0b
2019-11-14 17:07:22 +05:30
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
johnbash bcac3f3833 Refactoring GMM internal Classes
Description: Refactoring GmmResourceInfo, PlatformInfo and TextureCalc
Classes.

Change-Id: Ic86a3c982737d2774ea481d1cb7977daceb21d3a
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2019-01-29 14:32:40 -08:00
drprajap 3e602a84dc Adding GMM interface for unified cp surface tracking
Bump up Major Version as new interface is added

Change-Id: I49081391db15652d37a1c055510407b830d0777c
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2018-10-18 10:01:57 -07:00
kmvadsar e3f34698be Refactor the legacy TileY/Yf/Ys code under FtrTileY
Change-Id: I3b5c2d8367f79ab9b3f12ee6469fd4a204166bba
2018-10-10 23:21:46 -07:00
drprajap 481063acbb Add Gen11 support
Change-Id: I9ab7c98cb98d8fba514b6559c59b158f89957367
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
2018-06-26 16:39:31 -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
vipuldas 944b2528fa Add missing compression formats
Change-Id: I5c5d02ac964f8a0918cc084aef0614c4e4e365a6
2018-04-05 13:29:06 -07:00
lpriyank 1ec7feaa55 Add Linear Buffer compression
Change-Id: Ib15a2bf0774bb03d3af098e4ba2cd92e1689c81d
2018-04-05 11:38:30 -07:00
drprajap 31bfdee666 cleanup stale code
Change-Id: I0eef6f76af8085b7ab7f33e40135c251cdfc28e7
2018-03-14 09:51:58 -08:00
lpriyank ef89a06770 Fix double allocation of depth, with HiZ disabled
Change-Id: I57d6c8aabfa7bcf33565ea4076a1666f44c9ca59
2018-02-22 13:44:59 -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
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
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