Brandon Yates
635f69e54a
fix: Configure scratch pages for debugger
...
DG2 requires scratch pages on for debugger. Other platforms do not.
Related-to: NEO-13883
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-31 06:49:49 +01:00
Compute-Runtime-Validation
7cbe19c5a9
Revert "fix: Dont enable scratch pages when debugger is on"
...
This reverts commit 18d04b239e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-29 01:30:59 +01:00
Brandon Yates
18d04b239e
fix: Dont enable scratch pages when debugger is on
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-27 22:05:34 +01:00
John Falkowski
e11e7b9b94
feature: Add shared System USM Allocation in support of appendLaunchKernel
...
Related-To: NEO-12988
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2025-01-24 23:41:26 +01:00
Mateusz Hoppe
19a0a27862
refactor: adjust unit tests to work with secondary engines
...
Related-To: NEO-12952, NEO-13789
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-01-22 13:31:43 +01:00
Mateusz Jablonski
e7a8936d70
test: don't use product specific ioctl helper in generic tests
...
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 17:26:12 +01:00
Maciej Bielski
1fafd44af5
refactor: use level-specific name for CacheInfo instances
...
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-12-10 11:45:11 +01:00
Mateusz Jablonski
8fbe873e1b
build: correct setting for i915/xe prelim setting in package scripts
...
rename i915 flag to uppercase, for consistency
disable i915 / xe prelim by default in package scripts
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-09 15:55:59 +02:00
Oskar Hubert Weber
3ccab79ed8
test: dir create
...
Related-To: NEO-11500
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2024-08-05 13:58:25 +02:00
Wenbin Lu
e2f1735cc5
test: use realistic values in topology query tests
...
Related-To: NEO-9489
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-07-29 16:34:22 +02:00
Mateusz Jablonski
85df385582
fix: ensure system info is queried before querying topology
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 16:03:59 +02:00
Mateusz Jablonski
a168bf2f33
fix: ensure drm topology is queried only once
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 14:56:41 +02:00
Mateusz Jablonski
3d3dff8dc2
fix: ensure engine info is queried only once
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-25 15:49:37 +02:00
Mateusz Jablonski
ef1075a06a
fix: ensure memory info is queried only once
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-25 15:01:43 +02:00
Young Jin Yoon
2c488d9e84
fix: check reset status after completion
...
Added a logic to check the reset status after the completion to make
sure we go through the logic at least once
Related-To: GSD-8902
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-05-14 06:38:07 +02:00
Bartosz Dunajski
e5882e0d31
feature: pass GraphicsAllocation to fence wait
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-07 17:59:28 +02:00
Bartosz Dunajski
806da85ec6
refactor: prework to pass interrupt hint
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-29 11:14:53 +02:00
Bartosz Dunajski
8e5f9e72c8
refactor: simplify waiting for fence logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-25 22:36:19 +02:00
Mateusz Jablonski
420e1391b2
fix: handle not aligned gtt size reported by i915
...
when i915 reports gtt size between 47 and 48 bits we consider
it as 48 bit VA space
Related-To: GSD-8215
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-29 07:51:06 +01:00
Mateusz Jablonski
d94be09020
refactor: remove not needed check for exec softpin
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-22 17:30:49 +01:00
Mateusz Jablonski
1e343053ba
refactor: remove redundant recreating vector of engines in xe kmd path
...
make ContextParamEngine structure more generic and populate engines
by drm specific methods
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-21 17:55:39 +01:00
Neil R. Spruit
b5f8a38f19
feature: Enable Per IP euStall Functionality
...
Related-To: NEO-10220
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com >
2024-03-14 16:49:52 +01:00
Brandon Yates
76de854a69
feature: Set Debug Attach Available for Xe
...
Related-to: NEO-8402
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-24 09:04:11 +01:00
Brandon Yates
ba0db2488a
refactor: Implement Xe Resoure Registration (2/x)
...
Refactor drm_debug.cpp into IoctlHelper
Related-to: NEO-9161
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-11 08:26:29 +01:00
Young Jin Yoon
237a7f5494
fix: fix clang-tidy errors on some numa tests
...
Modified variables to address clang-tidy issues and MSVC
compilation issues.
Related-To: NEO-8276
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-01-08 21:36:39 +01:00
Young Jin Yoon
4ccae1dbb4
feature: support memory policy for GEM_CREATE
...
Modified ioctl_helper_prelim to support the extension of gem_create_ext,
i.e. prelim_drm_i915_gem_create_ext_mempolicy.
Added two debug variables to be used for the mempolicy extension.
Modified functions in memory_info and drm_memory_manager to support extension
Added numaif.h from https://github.com/numactl/numactl/tree/master ,
v2.0.14
Related-To: NEO-8276
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-01-04 23:49:10 +01:00
Mateusz Jablonski
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
Mateusz Jablonski
2eba5b35e4
refactor: correct naming of DrmParam enum values
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 15:43:46 +01:00
Mateusz Jablonski
432142c574
refactor: correct naming of enum class constants 4/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 08:08:51 +01:00
Mateusz Jablonski
cff6c81be0
refactor: correct naming of DrmIoctl enums
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-12 10:02:19 +01:00
Mateusz Jablonski
36194c4e7d
refactor: correct variable namings
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-29 23:49:03 +01:00
Compute-Runtime-Validation
fca2159430
Revert "fix: if device hierarchy is flat then getSubDevicesCount return 1u"
...
This reverts commit cb0bb57f49 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-26 15:40:29 +02:00
Baj, Tomasz
cb0bb57f49
fix: if device hierarchy is flat then getSubDevicesCount return 1u
...
Related-To: NEO-9167
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2023-10-25 15:51:52 +02:00
Dunajski, Bartosz
06a02552ce
refactor: debug flag to override PAT index for given memory type
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-10-12 15:47:28 +02:00
Mateusz Jablonski
4e464e9d6f
fix: adjust root device indices when filtering root device environments
...
Related-To: NEO-8166
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-07-11 13:12:20 +02:00
Jaime Arteaga
23eeaf816d
feature: Add debug keys for chunking allocation and size
...
Related-to: NEO-7695
New debug keys added:
EnableBOChunking is now a mask
0 = no chunking (default).
1 = shared allocations only
2 = device allocations only
3 = shared and device allocations
MinimalAllocationSizeForChunking sets the minimum allocation
size to apply chunking. Default is 2MB.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-07-07 23:39:43 +02:00
Kamil Kopryk
082d33bb7c
fix: correct query topology on xe
...
Related-To: NEO-7996
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-06-22 13:24:52 +02:00
Matias Cabral
cfa187aec6
feature: Support for metrics group exp extension
...
Support zet_metric_global_timestamps_resolution_exp_t
Resolves: LOCI-4350
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2023-06-16 07:48:32 +02:00
Mateusz Jablonski
3b981331c9
fix: correct handling ZE_ENABLE_PCI_ID_DEVICE_ORDER flag
...
- by default ZE_ENABLE_PCI_ID_DEVICE_ORDER is disabled
- by default devices are sorted by type (discrete first), then by pci order
- when ZE_ENABLE_PCI_ID_DEVICE_ORDER is enabled, devices are sorted by pci id
Related-To: LOCI-4520
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-06-14 16:27:55 +02:00
Jaime Arteaga
2efd6e547a
feature: Add support for chunking in the UMD (1/N)
...
Read if support for chunking is available in the KMD.
If available, KMD will create a BO with 1 or more chunks,
depending on the chunk size selected.
Related-To: NEO-7695
Sync to
https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc18
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-06-02 23:27:40 +02:00
Mateusz Jablonski
fd1ad7c1f0
feature: setup heap extended host size based on system memory size
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-28 15:23:01 +02:00
Fabian Zwolinski
c441e9e971
refactor: Rename member variables to camelCase
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-26 16:05:07 +02:00
Milczarek, Slawomir
c9fdeb200c
[perf] Prefetch of kmd-migrated shared allocation with initial placement on GPU
...
Related-To: NEO-7646
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-04-25 17:27:33 +02:00
Maciej Plewka
bab299ee78
Increment fenceValue only after successful bind operation
...
Related-To: NEO-7835
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-04-19 12:26:45 +02:00
Fabian Zwolinski
6fa8682c96
Switch to SingleAddressSpace in Offline Dbg Mode
...
Related-To: NEO-7630
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-12 18:07:02 +02:00
Milczarek, Slawomir
4e6995bc4c
Set VM advise with preferred location to device by default
...
Apply the KMD advise with preferred device location for KMD-migrated
shared allocation to migrate to lmem on every GPU page fault
(default KMD migration policy).
Related-To: NEO-7851
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-03-30 17:04:23 +02:00
Mateusz Hoppe
d8f99161dd
fix: create VMs with correct flags when perContextVms used
...
Related-To: NEO-7813
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-28 13:09:46 +02:00
Milczarek, Slawomir
5936734550
Add regkey to set preferred location for kmd-migrated shared allocation
...
The regkey SetVmAdvisePreferredLocation sets the KMD VM advise
with preferred location for KMD-migrated shared allocation
(default - none, 1 - system, 2 - device memory).
Related-To: NEO-7252
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-03-27 12:48:46 +02:00
Fabian Zwolinski
93a30f002b
L0 Debugger - check debug_eu entry.
...
Related-To: NEO-7790
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-15 16:14:49 +01:00
Compute-Runtime-Validation
3e1d931296
Revert "L0 Debugger - check debug_eu entry"
...
This reverts commit 9f935276a0 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-15 12:28:08 +01:00