Filip Hazubski
8dd23f4b4d
feature: Add logic around cpu side allocations
...
Group allocation types related to cpu side allocations in function to
query gmm usage type. These types will have caching enabled even if
CPU caching is not preferred by GPU.
Add logic to query whether the cpu access is allowed for an allocation
(in cases when it is not preffered by GPU).
Related-To: NEO-7194
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-07-28 21:04:24 +02:00
Jaroslaw Chodor
023fe38448
fix: Use correct dimensions for UV plane
...
For image view mapped directly to UV plane,
the dimensions should 2 times smaller than
dimensions of the source image.
(1 raw UV pair maps to 2x2 block of original image)
Related-To: NEO-7936
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2023-06-28 23:34:50 +02:00
Cencelewska, Katarzyna
d2436a8231
fix: add limitations for setting gmm flag Cacheable
...
- move isCachingOnCpuAvailable to product helper
- isCachingOnCpuAvailable should return false on mtl
- if wsl, skip checking method from product helper
Related-To: NEO-7194
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-05-30 17:04:57 +02:00
Cencelewska, Katarzyna
5f22e9eaca
fix: don't set Cacheable on xe_hp and later
...
Related-To: NEO-7194
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-05-18 09:17:32 +02:00
Katarzyna Cencelewska
004a3d875c
fix: Remove default setting of gmm flag Cacheable to true
...
- add debug flag EnableCpuCacheForResources to be able to allow coherency when
resources could be cacheable
Resolves: NEO-7194
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-05-16 09:17:29 +02:00
Mateusz Jablonski
425a2a6fa2
fix: set NotLockable flag when resource does not need to be lockable
...
disable compression preference when resource is lockable
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-05-15 16:47:21 +02:00
Compute-Runtime-Validation
57851a5d29
Revert "fix: set NotLockable flag when resource does not need to be lockable"
...
This reverts commit c597b03a33
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-05-14 04:55:30 +02:00
Mateusz Jablonski
c597b03a33
fix: set NotLockable flag when resource does not need to be lockable
...
disable compression preference when resource is lockable
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-05-12 13:15:50 +02:00
Compute-Runtime-Validation
9bf472839d
Revert "fix: set NotLockable flag when resource does not need to be lockable"
...
This reverts commit 50c67a759e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-05-11 18:23:55 +02:00
Mateusz Jablonski
50c67a759e
fix: set NotLockable flag when resource does not need to be lockable
...
disable compression preference when resource is lockable
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-05-11 13:47:15 +02:00
Filip Hazubski
c4a80e193a
Revert "fix: set NotLockable flag when resource doesn't need to be lockable"
...
This reverts commit 7b2af39fd6
.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-05-11 09:17:34 +02:00
Mateusz Jablonski
7b2af39fd6
fix: set NotLockable flag when resource doesn't need to be lockable
...
disable compression preference when resource is lockable
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-05-10 10:16:24 +02:00
Fabian Zwolinski
e351a90f81
refactor: Rename member variables to camelCase 2/n
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-27 20:39:22 +02:00
Kamil Kopryk
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-02-01 19:37:51 +01:00
Kamil Kopryk
a72cae15fe
refactor: don't use global ProductHelper getter 9/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-25 11:04:40 +01:00
Mateusz Jablonski
1d6c3b0e04
Store root device environment reference in gmm helper
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-19 19:50:16 +01:00
Kamil Kopryk
03b687881f
Rename HwHelper -> GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-09 10:29:06 +01:00
Kamil Kopryk
5a3746df76
Cleanup includes 2/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-27 12:01:36 +02:00
Katarzyna Cencelewska
0d42fdf38c
Fix setting flag Cacheable in gmm resource params base on resource usage
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-06-30 19:37:21 +02:00
Bartosz Dunajski
39c1c4d530
Remove virtual padding support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-08 12:42:44 +02:00
Fabian Zwolinski
7bb3bcbc05
Read resource info from internal represenation for WSL
...
Related-To: LOCI-3037
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-05-11 11:57:23 +02:00
Krzysztof Gibala
d18e89e439
Create getGmmHelper function in Gmm
...
Add get function in order to provide access on GmmHelper object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-10 11:34:19 +02:00
Krzysztof Gibala
9b778863b4
Store GmmHelper in Gmm class
...
Store GmmHelper in Gmm class instead of GmmClientContext
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 15:45:49 +02:00
Igor Venevtsev
086a70ca52
Add ForceAllResourcesUncached debug variable
...
Resolves: NEO-6563
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-02-23 09:43:48 +01:00
Bartosz Dunajski
71f48c89c8
CacheSettingsHelper - timestamp allocations
...
Related-To: NEO-6664
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-09 19:32:39 +01:00
Bartosz Dunajski
61ca84e94b
Pass memory placement info to StorageInfo
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-09 16:55:32 +01:00
Bartosz Dunajski
a95198521e
Initial implementation of CacheSettingsHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 16:18:06 +01:00
Bartosz Dunajski
c88fce0def
Gmm construction cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 10:20:24 +01:00
Kamil Diedrich
d2fbcc1960
Updating wsl compute helper tokens and enbaling local memory
...
Adding tokens needed for DG2 local mem enabling in WSL
Enabling local memory for DG2 for WSL
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-27 14:26:24 +01:00
Kamil Diedrich
7604a15abd
Enable local memory for images for DG2 + WSL
...
Change GMM resource info params, so that buffers
remain in system memory while images are being
routed to local memory additionally, fixes single
sku builds
Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-11 20:06:53 +01:00
Kamil Diedrich
8ec74558ea
Temporarily disabling local memory for DG2 in WSL
...
Forcing system memory pool for all allocations in WSL for DG2
while local memory support is being implemented
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-06 11:15:25 +01:00
Bartosz Dunajski
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-03 18:09:02 +01:00
Bartosz Dunajski
7b55d38e34
Refactor [1/n]: Make compression preference allocation property
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-02 15:24:35 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 16:05:57 +01:00
Dominik Dabek
65e00abea6
Enable new DriverProtection interface for MapGpuVa
...
Related-To: NEO-6096
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-08-17 18:02:26 +02:00
Jaroslaw Chodor
78499ca48d
Mitigation for WDDM_LINUX allocation size limits
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-07-16 03:36:19 +02:00
Bartosz Dunajski
f293b409ff
Set extra GMM memory flags
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-15 21:13:26 +02:00
Bartosz Dunajski
b5d4732169
Add compression flags for Images
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-30 19:46:47 +02:00
Szymon Morek
3ed0f074af
Add method to set compression flag
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-06-10 12:27:24 +02:00
Daria Hinz
9c34b7ef59
Add applyAppResource function
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-06-07 12:57:44 +02:00
Szymon Morek
d55afceb8b
Additional method to disable compression
...
Resolves: NEO-5828
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-05-19 16:53:07 +02:00
Compute-Runtime-Validation
b415cbae23
Revert "Additional method to disable compression"
...
This reverts commit 058679b5c2
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-05-17 17:19:56 +02:00
Szymon Morek
058679b5c2
Additional method to disable compression
...
Resolves: NEO-5828
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-05-17 12:15:06 +02:00
Maciej Dziuban
5f9dbef401
Pass alignment to Gmm
...
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-13 13:40:43 +02:00
Katarzyna Cencelewska
e060536a32
Add check in allocateGraphicsMemory64kb to not use cpuPtr
...
when isRenderCompressed
Related-To: NEO-4532
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-11-06 17:14:07 +01:00
kamdiedrich
f93072ddf5
Refactor image formats
...
Change-Id: I01eaf33e4c31437f3a820655cda21f3e2cf6d6df
2020-04-23 15:35:30 +02:00
Jobczyk, Lukasz
1d44699adb
Enable hw path in the memory manager multi device test
...
Resolves: NEO-4136
Change-Id: I95b1de2804b61516bda9d6eb76d30ea9752d0771
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-14 21:53:02 +01:00
Mateusz Jablonski
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 23:49:12 +01:00
kamdiedrich
e072275ae6
Reorganization directory structure [3/n]
...
Change-Id: If3dfa3f6007f8810a6a1ae1a4f0c7da38544648d
2020-02-23 23:48:28 +01:00