Chodor, Jaroslaw
22fe217567
refactor: cleanup around IGC library name mocking logic
...
This patchset improves mocking of IGC library name and adds
safety mechanism to ensure that global IGC library name gets
restored before test finishes.
Related-To: NEO-12747
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2024-11-15 18:32:59 +01:00
Filip Hazubski
0689b7e8b1
fix: Enable dummy blit wa for DG2
...
Related-To: NEO-7450, HSD-14017484014, HSD-14017486547, HSD-14021460914
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-11-15 15:50:32 +01:00
Filip Hazubski
0565169fb5
fix: Disable dummy blit wa for 12.74 release
...
Related-To: NEO-7450
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-11-15 15:32:41 +01:00
Dominik Dabek
471615926f
fix: adjust limiting device usm reuse
...
if limiting, disable device usm reuse (set max size to 0)
do not reserve vector for allocation infos if reuse is disabled
Related-To: NEO-12924
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-11-15 14:37:27 +01:00
Filip Hazubski
8797c326b6
refactor: Move isDummyBlitWaRequired function to release helper
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-11-15 13:22:00 +01:00
Bartosz Dunajski
67581f57a4
refactor: unify local dispatch size query
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-11-15 10:00:53 +01:00
Zbigniew Zdanowicz
f07ee9a8cf
refactor: reorganize command encode classes 7/n
...
- add dedicated inl files
- unify setGrfInfo
- move methods for scratch data programming
- move methods for encodeEuSchedulingPolicy and appendSemaphoreCommand
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-14 15:48:53 +01:00
Slawomir Milczarek
d745f41a76
feature: Ioctl helper mmap/acquireGpuRange functions in creating usm allocation
...
Related-To: NEO-12846
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2024-11-13 16:56:13 +01:00
Zbigniew Zdanowicz
71c6bfc439
refactor: reorganize command encode classes 6/n
...
- unify programBarrierEnable
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-13 15:49:08 +01:00
Bartosz Dunajski
7bf22ed33e
feature: counter based allocation peer sharing
...
Related-To: NEO-13079
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-11-13 15:01:32 +01:00
Szymon Morek
dfc447164e
fix: disable compression on lnl linux
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-11-13 11:32:10 +01:00
Mateusz Jablonski
608c1d30c5
feature: add support for release helper 30.0/30.1
...
Related-To: NEO-12803
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-13 10:51:39 +01:00
Mateusz Jablonski
9c110b7c81
fix: allow compiling kernels for 20.1.1/20.1.4 releases
...
Related-To: NEO-13217
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-13 10:36:34 +01:00
Joshua Santosh Ranjan
d294d71f95
feature: make programmable metrics enabled by default
...
Related-To: NEO-13011
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-11-13 09:42:23 +01:00
Zbigniew Zdanowicz
d7f310dd5a
refactor: reorganize command encode classes 5/n
...
- move various methods from specialization in cpp into correct inl files
- EncodeAtomic, EncodeMiFlushDW, EncodeMemoryPrefetch, EncodeDispatchKernel
- move methods from generic inl files that are used on single platform to cpp
- EncodeMiFlushDW
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-13 09:18:30 +01:00
Jaroslaw Warchulski
72efceb8a3
fix: try to lower alignment in heap allocator when it is too big
...
Related-To: GSD-8948
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-11-13 09:14:12 +01:00
Mateusz Jablonski
1350441a72
build: fix multiple definitions issue
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-12 15:54:12 +01:00
Dominik Dabek
0a12817664
performance: flag, force zero copy for host ptr
...
When debug flag ForceZeroCopyForUseHostPtr is set, add
CL_MEM_FORCE_HOST_MEMORY_INTEL flag to buffers created with
CL_MEM_USE_HOST_PTR.
This makes the buffers use zero copy.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-11-12 15:43:17 +01:00
Mateusz Jablonski
f55ad93baf
fix: remove L3 config from release helper
...
L3 bank count should be queried from KMD
L3 bank size should be queried from device blob
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-12 14:28:36 +01:00
Lukasz Jobczyk
7f3896d05f
performance: Ensure hostptrs removed before creating new one
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-11-12 13:55:15 +01:00
Mateusz Jablonski
33d2a40cc8
fix: setup threads per EU configs based on real threads per eu count
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-12 12:53:45 +01:00
Zbigniew Zdanowicz
051648e215
refactor: reorganize command encode classes 4/n
...
- share xe hpc methods in generic way
- move gen12lp and xe hpg methods into dedicated inl
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-12 12:15:54 +01:00
Compute-Runtime-Validation
5b35887bd1
Revert "feature: enable wmtp on BMG"
...
This reverts commit f95a6339a5 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-11-10 11:21:14 +01:00
Slawomir Milczarek
a331ffcb55
feature: Add ioctl helper functions to mmap/unmap and acquire/releaseGpuRange
...
Related-To: NEO-11817
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2024-11-08 15:22:44 +01:00
Zbigniew Zdanowicz
ead001360b
refactor: reorganize command encode classes 3/n
...
- shift xe hpg inl file methods into specialization and generic inl files
- remove gen12lp specific implementation from main inl file
- remove not needed xe hpg inl file
- remove not needed compression inl files
- remove not used raytracing inl file
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-08 14:38:31 +01:00
Zbigniew Zdanowicz
eb435acb22
refactor: reorganize command encode classes 2/n
...
- add new inl files for selected platform families
- split image compression methods into correct inl files
- remove dedicated compression inl files
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-08 13:07:03 +01:00
Mateusz Jablonski
2054322041
build: update aot config header
...
stop using BMG_G21_A1 / BMG_G21_B0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-07 14:46:50 +01:00
Mateusz Jablonski
f95a6339a5
feature: enable wmtp on BMG
...
Related-To: NEO-12814
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-07 14:28:25 +01:00
Szymon Morek
1199e19df5
performance: enable image writes through staging chunks
...
Related-To: NEO-12968
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-11-07 13:43:25 +01:00
Mateusz Jablonski
fde3b36125
fix: avoid enum out of scope cast in getProductsForTargetRange function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-07 13:24:17 +01:00
Zbigniew Zdanowicz
9536510c5b
refactor: reorganize command encode classes 1/n
...
- remove obsolete file
- move methods from redundant compute mode file into dedicated platform files
- group same implementation into platform specific inl files
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-07 13:06:28 +01:00
Mateusz Jablonski
daa53cd8ca
fix: change default bmg revision to 0
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-06 18:06:40 +01:00
Szymon Morek
a25e973205
performance: write image through staging chunks
...
Related-To: NEO-12968
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-11-06 16:45:22 +01:00
Artur Harasimiuk
7c0ecf234f
build: detect IGA major version
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2024-11-06 14:27:39 +01:00
Compute-Runtime-Validation
fd1a000ae4
Revert "feature: enable recoverable pagefault"
...
This reverts commit c6c2eef063 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-11-06 07:39:04 +01:00
Mrozek, Michal
2febf0597e
fix: remove incorrect code
...
- freed pointer cannot overlap with freed chunks, therefore there is no way
to merge it with freed chunks if they overlap
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-11-05 18:58:41 +01:00
Kamil Kopryk
99238f4dee
refactor: simplify getBuiltinResourceNames
...
remove not needed lambda function,
use string_view and remove string creation with .str()
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-11-05 14:46:46 +01:00
Lukasz Jobczyk
fe82425fa9
performance: Prefer to assign new gpu va rather than reuse
...
Resolves: NEO-10734
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-11-05 10:16:03 +01:00
Tomasz Biernacik
c93d4cd3f5
test: enable drm fence completion unit tests
...
Related-To: NEO-12653
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2024-11-05 08:56:24 +01:00
Zbigniew Zdanowicz
89b40b7ec4
refactor: change additional walker fields encoder 6/n
...
- change order of members of additional walker struct
Related-To: NEO-12639
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-05 08:28:57 +01:00
Szymon Morek
5d62be2bea
performance: enable staging buffer for write image
...
Related-To: NEO-12968
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-11-05 06:06:07 +01:00
Young Jin Yoon
c6c2eef063
feature: enable recoverable pagefault
...
Enabled recoverable pagefault
Related-To: NEO-13116
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-11-04 21:44:04 +01:00
Wojciech Konior
c65b45471b
feature: support binary compatibility across multiple HW targets
...
- EnableCompatibilityMode flag added
- validateTergetDevice func modified to take into account the flag
Related-To: NEO-11568
Signed-off-by: Wojciech Konior <wojciech.konior@intel.com >
2024-11-04 16:53:57 +01:00
Szymon Morek
8aa5331bc1
fix: wait for latest known usage of indirect usm
...
Related-To: GSD-9989
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-11-04 16:24:30 +01:00
Zbigniew Zdanowicz
2e2b7a473a
refactor: change additional walker fields encoder 5/n
...
- move compute dispatch all walker into dedicated encoder
- group same implementations into single file
Related-To: NEO-12639
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-04 13:11:59 +01:00
Marcel Skierkowski
49d999abe6
fix: remove defaultProfilingTimerResolution from RuntimeCapabilityTable
...
Related-To: NEO-12275
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com >
2024-11-04 12:02:11 +01:00
Filip Hazubski
f8f1557ec7
build: Update logic around serialized builtins compilation
...
Add log to explicitly state when serialized builtins compilation is enabled.
Correct logic to properly serialize kernel builds for single product.
Add chained per product dependencies.
Remove unused function.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-11-04 10:11:48 +01:00
Zbigniew Zdanowicz
32fd00e150
refactor: change additional walker fields encoder 4/n
...
- move post sync system fence into dedicated encoder
Related-To: NEO-12639
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-10-31 14:41:55 +01:00
Naklicki, Mateusz
64061b623b
feature: xekmd vm prefetch
...
Related-To: HSD-18040382956
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-10-31 13:49:25 +01:00
Lukasz Jobczyk
b050a83242
performance: Use lock pointer copy for dc flush mitigation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-31 10:53:39 +01:00