Commit Graph

2189 Commits

Author SHA1 Message Date
Mateusz Jablonski 8daae7e8ae fix: reduce preemption surface size in aub tests
Related-To: NEO-12648

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-10 15:36:49 +02:00
Wojciech Konior 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
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
Andrzej Koska dad53a13c3 fix: set stackSizePerRay appropriately for release
Related-to: NEO-12816

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-10-09 11:33:42 +02:00
Mateusz Jablonski 1f801f412f fix: don't program mid thread preemption for pre-Xe2 platforms
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-08 14:16:14 +02:00
Lukasz Jobczyk 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
Compute-Runtime-Validation 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
Katarzyna Cencelewska 42ca656edb fix: change logic to calculate available thread count
don't use magic number, value depend on grf size

Related-To: HSD-18039369782
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-10-07 15:46:33 +02:00
Zbigniew Zdanowicz 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
Maciej Plewka 73e4b6ae7c fix: remove w/a which disables wmtp in kernels with ray tracing
Related-To: NEO-12872
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-10-07 14:28:08 +02:00
Zbigniew Zdanowicz 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
Andrzej Koska 490b474ce7 fix: using releaseHelper to determine MSAA enablement
Related-To: NEO-12587

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-10-07 11:26:12 +02:00
Damian Tomczak 314c899d66 fix: correct stateless kernel compilation for PVC+ products
Related-to: NEO-11859

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-10-04 12:51:33 +02:00
Zbigniew Zdanowicz 8687a88d06 refactor: unify programming of preferred slm size 2/n
- add interface that will provide all preferred slm sizes for all releases

Related-To: NEO-12639

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-10-04 11:50:44 +02:00
Compute-Runtime-Validation 43cf7abf65 Revert "fix: reduce preemption surface size in aub tests"
This reverts commit e56b2b257f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-04 02:45:42 +02:00
Brandon Yates 013c49db02 fix: change getBindlessDebugSipKernel to also get heapless sip
Rename function to getDebugSipKernel and select either bindless
or heapless depending on mode

Related-to: NEO-8396

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-10-03 20:47:40 +02:00
Mateusz Jablonski 0e2b400554 test: fix clang-tidy issues
- don't use out of scope enum values
- ensure std::string is not created from nullptr

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-03 18:52:15 +02:00
Compute-Runtime-Validation 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
Compute-Runtime-Validation 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
Mateusz Jablonski e56b2b257f fix: reduce preemption surface size in aub tests
Related-To: NEO-12648

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-03 08:29:45 +02:00
Bartosz Dunajski 0564a41919 feature: debug flag to control direct submission semaphore mode
Related-To: HSD-18039521047

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-02 21:06:53 +02:00
Dominik Dabek 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
Andrzej Koska 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
Mateusz Jablonski 9819b1e2e4 refactor: remove not needed flag ftrGpGpuMidThreadLevelPreempt
the flag was used for mid thread preemption support on pre-gen12 platforms

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-01 12:52:12 +02:00
Szymon Morek b2fd1972a4 fix: add cpu alloc to eviction list only once
Related-To: NEO-12572

Also, before migration to GPU domain, remove it from this list

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-10-01 11:47:32 +02:00
Mateusz Jablonski 9db83b8231 refactor: unify isMidThreadPreemptionSupported function
mid thread preemption can be enabled only by ftrWalkerMTP flag
pre-Xe2 devices doesn't support MTP

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-01 11:26:04 +02:00
Lukasz Jobczyk f87c3b57bb refactor: Add AIL infrastructure to disable 256B Prefetch
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-10-01 11:19:04 +02:00
Mateusz Jablonski 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
Mateusz Jablonski c7ae732a2a test: enable global mock sip in tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-30 18:19:57 +02:00
Bartosz Dunajski 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
Compute-Runtime-Validation f03550487f Revert "fix: add cpu alloc to eviction list only once"
This reverts commit dfc863c7c1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-28 11:50:36 +02:00
Compute-Runtime-Validation 4f96b6132f Revert "feature: capture multiple cpu pagefault handler"
This reverts commit 4b3a6e9cfe.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-28 07:53:30 +02:00
Young Jin Yoon 4b3a6e9cfe feature: capture multiple cpu pagefault handler
Recorded multiple page fault handlers by using vector in
cpu_page_fault_manager_linux.

Added a static handlerIndex in order to track the depth of
handler logic to call appropriate previous handlers.

Related-To: NEO-11563
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-09-27 00:34:45 +02:00
Szymon Morek dfc863c7c1 fix: add cpu alloc to eviction list only once
Related-To: NEO-12572

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-09-26 19:49:59 +02:00
Damian Tomczak 2b9942b853 test: stateful and stateless matchers
Related-to: NEO-11859

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-09-25 10:25:47 +02:00
Maciej Plewka 80f75ceace fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-09-23 14:43:59 +02:00
Kamil Kopryk 4ab60311c4 test: add makeResident counter for ult csr
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-20 15:30:57 +02:00
Mateusz Hoppe 4a068c8eab fix: correclty program StateBaseAddress in global bindless mode
- prepare bindful ssh when kernel requires ssh heap and
SurfaceStateBaseAddress
- remove lastAppendedKernelBindlesMode - local ssh heap may be needed
for bindless kernels with scratch or misaligned buffer args
- use ssh heap gpu address to program SurfaceStateBaseAddress, global base is
used for BindlessSurfaceState and DynamicState

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-20 11:57:05 +02:00
Michal Mrozek 363aca782f refactor: remove not needed code.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-09-19 18:50:16 +02:00
Lukasz Jobczyk a890ed5648 performance: Ensure hostptrs removed before creating new one
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-09-19 14:34:19 +02:00
Compute-Runtime-Validation e4d2f16632 Revert "performance: Ensure hostptrs removed before creating new one"
This reverts commit ac1d203555.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-18 19:31:34 +02:00
Lukasz Jobczyk ac1d203555 performance: Ensure hostptrs removed before creating new one
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-09-18 14:23:16 +02:00
Filip Hazubski ebc19b4a70 feature: Add logic to disable bindless addressing via AIL
Add mockable Device functions to get ReleaseHelper and AILConfiguration.

Resolves: NEO-12699

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-09-18 13:49:51 +02:00
Kamil Kopryk ec5beaf616 refactor: reduce csr class size
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-18 13:33:55 +02:00
Jitendra Sharma 25f2504bf5 fix: set eudebug extension property when debugging enabled
In order to debug on XE, XE_EXEC_QUEUE_SET_PROPERTY_EUDEBUG
needs to be set up.

Related-To: NEO-12691
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-18 08:32:03 +02:00
Mateusz Jablonski 86a088e13f feature: move L3 bank query from xe-prelim to xe-nonprelim path
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 18:14:17 +02:00
Mateusz Jablonski 7e218a5f70 test: simplify IsAtLeastGen12lp and IsAtMostGen12lp matchers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 13:42:19 +02:00
Mateusz Jablonski 5912b43841 refactor: remove dead code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 13:41:50 +02:00
Mateusz Jablonski 3cc50f6861 test: remove deprecated matchers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 09:54:12 +02:00
Artur Harasimiuk 73382b9b6c refactor: remove legacy code
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-16 19:04:13 +02:00