Commit Graph

6757 Commits

Author SHA1 Message Date
Mateusz Jablonski
06bc53fa9d fix: handle not recognized state save area header version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-22 13:40:25 +02:00
Filip Hazubski
556ba1b7c4 performance: Avoid data copy in getPciStats function
Additionally explicitly remove unused functions of Directory and
StagingBuffer classes to comply with rule of five.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-22 13:30:01 +02:00
Lukasz Jobczyk
c1a5fb089b performance: Add copy buffer rect middle builtin
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-22 10:30:17 +02:00
Lukasz Jobczyk
ff4a653c2e fix: Remove UC PAT override for shared images on BMG
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-22 10:02:15 +02:00
Compute-Runtime-Validation
df33eda6e8 Revert "fix: Remove UC PAT override for shared images on BMG"
This reverts commit 4d31ec72fd.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-22 04:47:06 +02:00
Compute-Runtime-Validation
d8ea5516b2 Revert "performance: Add copy buffer rect middle builtin"
This reverts commit bbb44c7a4d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-22 04:41:42 +02:00
Mateusz Jablonski
7ac41615cd fix: create thread with function pointer
don't create async thread in neo shared tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-21 18:02:37 +02:00
Winston Zhang
0590b34cfa feature: refactor and rewrite setErrorDescription
Related-To: NEO-8379

Signed-off-by: Winston Zhang <winston.zhang@intel.com>
2024-08-21 17:26:25 +02:00
Lukasz Jobczyk
bbb44c7a4d performance: Add copy buffer rect middle builtin
Resolves: NEO-12132

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-21 14:41:44 +02:00
Lukasz Jobczyk
9097b19c3c refactor: Remove not needed specialization
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-21 09:45:47 +02:00
Lukasz Jobczyk
43e6a3aa03 performance: Enable timestamp wait for queues on BMG
Related-To: NEO-10526

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-21 09:40:46 +02:00
Dominik Dabek
791848d441 fix: small buffer pool AIL, DG2, LNL
Related-To: HSD-15016646994

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-21 08:41:34 +02:00
Wenbin Lu
6d29e40b9d feature: add getThreadEuRatioForScratch for Xe2
Related-To: NEO-12105

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-08-21 08:18:42 +02:00
Compute-Runtime-Validation
ef2ae9e1b7 Revert "feature: New forward-compatibility model for zeinfo"
This reverts commit f1815f941d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-21 00:27:42 +02:00
Chodor, Jaroslaw
f1815f941d feature: New forward-compatibility model for zeinfo
Up till now, NEO ignored uknown attributes in zeinfo
which could lead to undefined behavior. With this change
NEO will emit an error whenever an unknown attribute is
encountered.

Note : old behavior can be restored using new
IgnoreZebinUnknownAttributes debug environment variable

Resolves: NEO-11762

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-08-20 23:08:04 +02:00
Mateusz Hoppe
8b1bedd1f6 fix: call processFlushResidency on aub operations handler
- in Os with AubDump mode

Related-To: NEO-11719

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-20 21:13:10 +02:00
Mateusz Jablonski
f617093a6a fix: add missing nullptr check before accessing ail helper
Fixes: #755
Fixes: #754
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-20 16:58:53 +02:00
Lukasz Jobczyk
d1c354d5bf fix: Init device with first submission when metrics enabled
Resolves: NEO-7642

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-20 14:34:16 +02:00
Lukasz Jobczyk
9e66844a27 fix: Add AIL for Zoom and aomhost64
Resolves: NEO-12193

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-20 13:36:22 +02:00
Mateusz Jablonski
51d03ba130 refactor: remove not needed check
OsLibrary::load already checks if library is loaded

Related-To: NEO-12273
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-20 13:30:00 +02:00
Alicja Lukaszewicz
f45a229802 fix: add dependency on previous binary outputs
Related-To: NEO-11916

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2024-08-20 12:45:39 +02:00
Lukasz Jobczyk
4d31ec72fd fix: Remove UC PAT override for shared images on BMG
Related-To: NEO-12326

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-20 11:55:32 +02:00
Mateusz Hoppe
4c3a0d8344 fix: add missing sba capture when debug enabled
- In global bindless mode SBA may be programmed for scratch allocation,
missing sba capturing caused issues for kernels with scratch.
- this fix adds SBA capturing after SBA command

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-20 09:32:17 +02:00
Mateusz Jablonski
579af57161 refactor: don't call OsLibrary::load directly, use function pointer
this allows mocking this call in ULT

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-20 08:59:26 +02:00
Compute-Runtime-Validation
006285105d Revert "fix: allow using recoverable pagefaults on xekmd"
This reverts commit 4404d0c6b8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-20 05:38:00 +02:00
Bartosz Dunajski
4748283cfd test: reduce object scope to avoid mock destructor prints
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-19 19:27:23 +02:00
Bartosz Dunajski
ce0ecf5939 fix: download L0 Event TBX allocation on related subdevice if needed
Related-To: HSD-18038498579

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-19 18:34:58 +02:00
Jitendra Sharma
6df6e4bbb0 feature: Add SW FIFO implementation
Related-To: NEO-7990
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-08-19 16:38:34 +02:00
Naklicki, Mateusz
4404d0c6b8 fix: allow using recoverable pagefaults on xekmd
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-08-19 15:56:55 +02:00
Jaroslaw Warchulski
5c6f3e7d2b fix: Remove patchtokens fallback AIL for DaVinci Resolve for XE2+
For other platforms, this AIL will be removed in the next change.

Resolves: NEO-12358
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-08-19 15:05:02 +02:00
Aravind Gopalakrishnan
cb8063f71d feature: Append recorded command list into immediate (3/N)
- Use correct stream for dispatch
- Add capability to append signal event
- Check available space globally in immediate append call

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-08-16 17:40:28 +02:00
Kamil Kopryk
a9e23130d1 refactor: correct typo
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-16 15:44:54 +02:00
Bartosz Dunajski
85a42162f8 refactor: debug flag to print DirectSubmission semaphore usage
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-16 13:10:34 +02:00
Mateusz Jablonski
efb8240a00 refactor: rename OsLibrary::load function to distinguish functionality
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-16 01:35:41 +02:00
Compute-Runtime-Validation
9b652f4a34 Revert "feature: Improving information transfer about the copy engine"
This reverts commit 17ffdff4f1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-15 22:06:31 +02:00
Mateusz Jablonski
90015a584b fix(ocloc): disable ocloc output if former ocloc was used
in case of fallback to former ocloc, the former ocloc setups outputs

Related-To: NEO-12273
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-14 15:49:14 +02:00
Andrzej Koska
17ffdff4f1 feature: Improving information transfer about the copy engine
Related-To: NEO-11934

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-08-14 11:28:29 +02:00
Mateusz Jablonski
922edfd68d fix(ocloc): correct ocloc name in supported devices query
previous approach was to version ocloc library but it was deprecated
right now there will be 2 known libraries:
- libocloc.so - for mainstream
- libocloc-legacy1.so for legacy platforms

Related-To: NEO-12273, NEO-9630
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-14 11:05:28 +02:00
Kamil Kopryk
b063c3c62b test: add getInlineDataSize helper function
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 10:57:18 +02:00
Naklicki, Mateusz
1317aa539b fix: unblock xekmd recoverable pagefaults vmbind
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-08-14 10:46:45 +02:00
Kamil Kopryk
fbf84c4077 test: add getWalkerPartitionEstimateSpaceRequiredInCommandBuffer helper
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 10:45:29 +02:00
Kamil Kopryk
0d5b6003e2 test: correct isAtomicDeviceSignalling expectation
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 10:04:21 +02:00
Kamil Kopryk
d191f8f6a2 test: add getWalkerSize helper function
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 10:00:57 +02:00
Mateusz Jablonski
d963318cad fix: add fallback to former ocloc in case of invalid device error
Related-To: NEO-12273
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-14 09:30:57 +02:00
Fabian Zwoliński
f4ad45eafd fix: initialize engine in AubMemoryOperationsHandler::makeResident
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-08-13 20:57:57 +02:00
Mateusz Jablonski
a32bb4d9a4 refactor: extract logic of calling former ocloc to separate function
Related-To: NEO-12273
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-13 17:24:48 +02:00
Compute-Runtime-Validation
1cca5e24c1 Revert "performance: disable dispatch task count update when direct submissio...
This reverts commit 6d486459fe.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-13 16:37:31 +02:00
Mateusz Jablonski
0eec0cdf57 refactor: define ocloc current and former names in shared ocloc file
ensure both names are different

Related-To: NEO-12273
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-13 14:40:55 +02:00
Zbigniew Zdanowicz
6d486459fe performance: disable dispatch task count update when direct submission active
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-08-13 13:19:26 +02:00
Ben Ashbaugh
32f80e1131 feature: add support for the cl_khr_extended_bit_ops extension
Related-To: NEO-10337

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2024-08-12 17:44:31 +02:00