Commit Graph

2341 Commits

Author SHA1 Message Date
a5a11f4a0e feature: add debug key to set MaxSubSlicesSupported
Related-To: HSD-16025421624
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-10-21 13:34:43 +02:00
8a647f6a39 Revert "performance: Ensure hostptrs removed before creating new one"
This reverts commit 5b2f2f3d83.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-10-21 10:36:06 +02:00
e7b3a40aa7 performance: Add CCS Optimization
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-10-21 09:59:14 +02:00
46f3d27339 feature: initialize regionCount
Related-To: NEO-12138

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2024-10-18 13:33:14 +02:00
4154e6666b fix: correct loading L0 loader functions
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function

Related-To: GSD-10147

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-17 15:39:20 +02:00
c982981dde feature: add number of rt stacks to capability table
Related-To: NEO-12138

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2024-10-17 14:46:19 +02:00
f117b5fb68 Revert "fix: correct loading L0 loader functions"
This reverts commit 9c7b3c5e19.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-17 08:20:19 +02:00
9c7b3c5e19 fix: correct loading L0 loader functions
on Windows use getModuleHandleA with proper module name
don't load ze_loader.dll from file system

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-16 19:53:05 +02:00
bf6d9fc416 feature: read new params from blob
Related-To: NEO-12138

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2024-10-16 10:29:22 +02:00
10f67bcd1a feature: finalizes 2d block load/store query
Finalized the implementation of the 2d block
load/store extension query. Namely, this adds
the extension info to the `DriverHandleImp`.

Also fixed support matrix in the current
implementation that incorrectly includes
MTL and ARL in the supported products. ULTs
and the implementation have both been changed
to match the true support matrix.

Related-To: NEO-11592
Signed-off-by: Jack Myers <jack.myers@intel.com>
2024-10-16 02:19:22 +02:00
2ce3022030 refactor: remove not needed code
Related-To: NEO-12949
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-15 15:33:12 +02:00
ec66d9e82d feature: Add getter to query drm about device node
Related-To: NEO-11817

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2024-10-14 17:58:24 +02:00
f430279d62 fix: change doorbell type
Related-To: NEO-12870

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-14 14:58:11 +02:00
7f2b806413 fix: Override timestamp width from KMD
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-10-14 13:38:33 +02:00
8527779778 fix: running Blender with SYSMAN enabled on Linux
Related-To: NEO-11618

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2024-10-14 12:36:08 +02:00
a55a846284 Revert "fix: update slm size based on gt system info in wddm path"
This reverts commit d433fd585a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-11 03:43:37 +02:00
94d662a9a9 Revert "fix: update slm size based on gt system info in drm path"
This reverts commit 6a8a5bca3b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-11 03:20:29 +02:00
1260023efa fix: add missing NOLINT to forward declarations
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-10-10 13:46:14 +02:00
d433fd585a fix: update slm size based on gt system info in wddm path
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-10 11:29:19 +02:00
6a8a5bca3b fix: update slm size based on gt system info in drm path
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-10 11:25:24 +02:00
6b40f9bc5a refactor: engineInstancedType removed
Related-To: NEO-12594

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2024-10-09 16:30:48 +02:00
834f00d48b fix: dont query timestamp if debug flag is disabled
Related-To: NEO-12907

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-09 16:08:04 +02:00
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
5b2f2f3d83 performance: Ensure hostptrs removed before creating new one
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-10-08 13:04:56 +02:00
60afb83b3b Revert "performance: Ensure hostptrs removed before creating new one"
This reverts commit a890ed5648.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-08 07:45:55 +02:00
068ceee8bd performance: improve iterating over residency allocations
Related-To: NEO-12698,NEO-12746,NEO-12729

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-10-07 16:12:22 +02:00
6d6c4267b3 performance: enable indirect detection
Platforms other than PVC require detection version >= 4
Vector compiler kernels require >= 6

Related-To: NEO-12491

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-10-07 14:38:22 +02:00
cb3b2134ab refactor: unify programming of preferred slm size 4/n
- remove xe hpg encode preferred slm size
- add dg2/mtl/arl release helper preferred slm array
- drop dg2 preproduction stepping values for preferred slm size
- remove obsolete product helper method

Related-To: NEO-12639

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-10-07 14:28:23 +02:00
d6016e1b91 refactor: unify programming of preferred slm size 3/n
- add shared implementation to encode preferred slm size
- add pvc release helper preferred slm array
- drop pvc preproduction steppings values for preferred slm size
- remove obsolete product helper method

Related-To: NEO-12639

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-10-07 12:10:27 +02:00
9a280892f8 refactor: add timestamps to xe logs
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-07 11:42:55 +02:00
a915ef4b7b fix: Don't program redundant paging fence semaphores
Related-To: NEO-12197

Don't program semaphore to wait for paging fence if it was
already programmed with the same value

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-10-07 11:42:06 +02:00
e73e865b61 fix: If dummy exec failed call evict from outside the lock
Related-To: NEO-12849, HSD-18040201135
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-10-07 10:17:16 +02:00
bbffbd16a0 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-04 11:59:45 +02:00
e5658e5327 fix: fix freeing allocations in aub mode
- free in operations handler with aub dump must be called to evict
allocations from residentAllocations list
- prior to this change - stale allocations where in the container
leading to crash in aub modes

Related-To: NEO-12869

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-10-03 17:14:07 +02:00
31618d9e18 Revert "fix: add workaround for incorrect DRM system info"
This reverts commit 7ac991fa3f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-03 15:22:21 +02:00
41df1a6f47 Revert "feature: support SVM heap in reserveVirtualMem"
This reverts commit bfaeeb01d6.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-03 14:53:50 +02:00
74432a3626 fix: use correct memoryBanks when makeResident is called in aub mode
Related-To: NEO-12869

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-10-03 12:02:18 +02:00
ac8dcdb298 fix: do not unregister shared allocation
Allocations imported from shared handle are not using registerAlloc in drm
manager but on free, unregister was called.

This could lead to problems with allocation size tracking.

This change will skip the unregisterAllocation call if allocation is
imported from shared handle.

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-10-02 16:32:24 +02:00
516e502b8c fix: remove obsolete workaround about memory locking
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-10-02 15:55:50 +02:00
22505ca3ed refactor: cleanup coding style
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-10-02 12:42:39 +02:00
6abc5eb1a1 fix: using releaseHelper to determine MTP enablement
Related-To: NEO-12466

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-10-01 15:06:07 +02:00
e4be88dff0 refactor: correct location of ioctl helper files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-01 14:48:12 +02:00
da8ce85f0a fix: correct preemption surface size when getting wmtp sip from igc
when SIP kernel is taken from IGC then state save area header
describes preemption surface size required for the SIP kernel

Related-To: NEO-12826
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-01 11:06:58 +02:00
b8fd1bda36 feature: use sysInfo helper to detect memory type
Related-To: NEO-12807

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-30 18:19:42 +02:00
9b7ac3a71e fix: correct querying number of slices in xe path
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-25 19:16:41 +02:00
d3432c6b2b fix: respect max subslice count when parsing subslice info in xe path
don't parse more data than max subslice count
setup slice count based on slice indices size
unify get topology map and get topology data methods to reduce
loop iterations

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-25 17:01:05 +02:00
468e309e11 fix: call evict under lock
Related-To: NEO-12657

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-09-25 10:26:01 +02:00
f8e77d5f43 fix: remove check for xe vmbind flags support
bind immediate and readonly flags are already available in upstream

Related-To: NEO-12774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-24 14:33:31 +02:00
658a0667d4 fix: add missing command buffer header translation for WSL in WDDM2.3 case
Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-24 13:40:17 +02:00
ede98e3d2c refactor: define product helper method once
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-09-24 12:18:26 +02:00