9a2fa1dcb1
fix: Override prefer no cpu access for dc flush mitigation
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-05 10:26:45 +02:00
a9269939f6
fix: Defer MOCS to PAT
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-05-27 10:26:26 +02:00
ce0ccacef6
Revert "fix: Defer MOCS to PAT"
...
This reverts commit 6c75ec3116
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-25 06:22:22 +02:00
6c75ec3116
fix: Defer MOCS to PAT
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-05-24 15:30:49 +02:00
12d1bce6b9
fix: change gmm resource for externalHostPtr
...
Resolves: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-05-22 16:50:17 +02:00
94a4bbac57
Revert "fix: change gmm resource for externalHostPtr"
...
This reverts commit 63843862df
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-21 07:43:53 +02:00
63843862df
fix: change gmm resource for externalHostPtr
...
Resolves: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-05-21 00:43:29 +02:00
a230c762e0
feature: Adjust PATs for dc flush mitigation
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-04-16 13:31:02 +02:00
8a0c425495
feature: Mark selected resources as UC when mitigating dc flush
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-04-12 12:52:13 +02:00
78a4a92b44
refactor: reorder members to reduce internal padding in structs
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-25 15:50:00 +01:00
1e1d675606
fix: disable passing FtrTile64Optimization to gmmlib
...
add debug key to control if the value should be passed
Related-To: NEO-10785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-15 17:42:53 +01:00
8ae4a3bc7a
fix: pass Sku/Wa tables for gmm without additional translations on Windows
...
Related-To: NEO-10623
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-06 14:58:58 +01:00
d0b009901c
fix: use proper gmm resource type for uncache resources
...
when new coherency model
Resolves: NEO-9657
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-31 15:26:11 +01:00
eec01e500a
fix: non-coherency issue on arl
...
Resolves: HSD-15015200338
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-26 10:26:33 +01:00
b4d2170a6d
fix: add missing gmm type to getUsageTypeString
...
Related-To: HSD-18031172224
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-25 14:12:31 +01:00
7bbe57c671
feature: add debug info for logging pat indexes
...
Related-To: HSD-18031172224
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-23 13:34:35 +01:00
7b8abd8fff
fix: pass GMM to Drm::getPatIndex
...
Related-To: NEO-9543
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-08 09:14:14 +01:00
138fb65401
refactor: correct naming of enum class constants 11/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 14:52:57 +01:00
dd1b9d6abc
refactor: correct naming of enum class constants 8/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 08:18:18 +01:00
b182917d9d
refactor: correct naming of allocation types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-11 16:23:37 +01:00
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 13:00:59 +01:00
8f06f3f50a
performance: add override cacheable to gmm
...
add attribute to override cacheable attribute to gmm constructor
enable this override for command buffers on mtl
change command buffers back to allocation by kmd
this keeps the quicker allocation which is needed to keep enqueue times
low
Related-To: NEO-8152
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-11-16 10:00:45 +01:00
961a8d91d0
refactor: move gmm constructor flags to struct
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-11-15 09:26:13 +01:00
ac5f64f5c6
fix: fix compilation error in clang on Windows (2/n)
...
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com >
2023-10-24 15:59:06 +02:00
0592390e2b
refactor: print gmm compression settings
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-10-16 09:14:52 +02:00
72182c28e9
refactor: add NonCopyableOrMovableClass to classes that don't need copy ctors
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-05 13:11:01 +02:00
747d44f8fc
fix: add unrecoverable in case of allocation type unknown
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-04 14:02:36 +02:00
3eb98163a8
fix: define isCachingOnCpuAvailable per hw release
...
Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-13 11:13:42 +02:00
f94ed7cd28
refactor: pass root device environment to CacheSettingsHelper::preferNoCpuAccess
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-13 09:32:36 +02:00
bd8625c96a
fix: wa override pat index for uncached types on xe_lpg
...
always force pat index 2(UC) when uncached type
Related-To: NEO-7565
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-08-30 08:37:31 +02:00
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
30c5d8a681
fix: pass gmm helper to getDumpSurfaceInfo function
...
gmm may not exist for buffer allocation
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-07-03 11:59:52 +02:00
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
4e91c4b08f
fix: Use virtual map calls to gmm only for compressed formats
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-06-16 13:46:35 +02:00
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
4b6194cf0c
fix: Use Gmm to map virtual gpu addresses
...
Related-To: NEO-5842, NEO-7946
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-05-25 15:49:05 +02:00
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
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
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
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
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
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
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
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
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
b7d96314a0
fix: ensure resource info is created properly
...
the handle is not validated later, this change prevents nullptr dereference
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-05 13:08:34 +02:00
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
fa8579602f
refactor: rename product helper files n/n
...
Related-To: NEO-7703
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-03-10 13:24:38 +01:00
b485c025d0
Cleanup includes 57
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-17 11:19:59 +01:00
5ec9de90ee
Cleanup includes 52
...
Cleaned up files:
level_zero/core/source/driver/driver.h
level_zero/tools/source/sysman/fabric_port/windows/os_fabric_port_imp.h
level_zero/tools/source/sysman/pci/os_pci.h
shared/source/debug_settings/debug_settings_manager.h
shared/source/gmm_helper/page_table_mngr.h
shared/source/gmm_helper/windows/gmm_memory_base.h
shared/source/kernel/kernel_arg_metadata.h
shared/test/common/libult/linux/drm_mock.h
shared/test/unit_test/fixtures/command_container_fixture.h
shared/test/unit_test/fixtures/product_config_fixture.h
shared/test/unit_test/helpers/simd_helper_tests_pvc_and_later.inl
shared/test/unit_test/os_interface/hw_info_config_tests.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-13 11:39:34 +01:00