Commit Graph

13350 Commits

Author SHA1 Message Date
Katarzyna Cencelewska
6e93dd8068 fix: add check for igc compatibility without checking icbe
Related-To: NEO-7904
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-05-29 10:52:21 +02:00
Dunajski, Bartosz
814de81aca feature: replace in-order sync allocation with TimestampPacket
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-05-29 09:32:35 +02:00
Mateusz Hoppe
f8b375cae5 fix: stop parsing printf buffer after invalid string index
- IGC stores invalid string index at the end of printf buffer,
invalid index is equal to (int32_t)-1 extended to (char*)
- printKernelOutput() should not parse buffer after invalid index was
found to avoid invalid string pointer dereference

Related-To: NEO-5753

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-05-29 09:22:08 +02:00
Artur Harasimiuk
1bbaffc31b ci: infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-05-29 01:51:04 +02:00
Cencelewska, Katarzyna
424db8aff8 fix: use helper to calculate gpu timestamp in ns
Resolves: GSD-4385
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-05-26 19:23:54 +02:00
Spruit, Neil R
b589e32c4b fix: Force Close of IPC handles at memFree
Related-To: LOCI-4455

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-05-26 17:09:47 +02:00
Compute-Runtime-Validation
e08c1716bf Revert "build: igc revision update"
This reverts commit 3c35ca5f20.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-05-26 16:41:46 +02:00
Maciej Plewka
a3de4a1d1d fix: Rediscribe Plane property in image
Related-To: NEO-7946

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-05-26 15:02:07 +02:00
Artur Harasimiuk
14483f799e build: move clang-format to manifest
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-05-26 14:42:21 +02:00
Kacper Nowak
d05fee8087 fix(ocl): Use GPU address of SVM alloc. when using builtins
Use GPU address of SVM allocation instead of CPU one. It fixes a bug
visible on platforms, where potentially GPU VA does not have to match
CPU VA.

Related-To: NEO-7970
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-05-26 13:39:14 +02:00
ocldev
3c35ca5f20 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-05-26 09:28:13 +02:00
Jitendra Sharma
e800cae7f9 fix: Restrict sysman usage without initializing it
This change is to tacke situation when user tries to invoke
zesDriverGet without successfully calling zesInit.

Related-To: LOCI-4447

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-05-25 17:04:59 +02:00
Maciej Plewka
4b6194cf0c fix: Use Gmm to map virtual gpu addresses
Related-To: NEO-5842, NEO-7946

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-05-25 15:49:05 +02:00
Kamil Kopryk
ab1b4681cc Revert "fix: call isPrefetchDisablingRequired directly from release helper"
This reverts commit 4ecff31c26.

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-25 15:11:20 +02:00
Zbigniew Zdanowicz
cefef2d404 test: exclude xe hpg family from debugger aub test
Related-To: NEO-7807

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-05-25 11:17:48 +02:00
Compute-Runtime-Validation
59c8e8f019 Revert "fix: Force Close of IPC handles at memFree"
This reverts commit e1c3cb5ecd.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-05-25 10:15:00 +02:00
Joshua Santosh Ranjan
29682a4f8d feature: print global timestamp
Related-To: LOCI-4285

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-05-25 09:45:13 +02:00
Mayank Raghuwanshi
d0d5a03be7 feature: Add support for Experimental zexSysmanMemoryGetBandwidth
Related-To: LOCI-3838

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-05-25 00:46:07 +02:00
Spruit, Neil R
e1c3cb5ecd fix: Force Close of IPC handles at memFree
Related-To: LOCI-4455

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-05-24 21:12:10 +02:00
Jaime Arteaga
37ed03a15c feature: Propagate error from makeResident to caller
Have makeResident return error to the caller, instead of always
SUCCESS. This will allow interfaces like zeContextMakeMemoryResident
to fail properly.

Additionally, change the parsing of MemoryOperationsStatus from
ZE_RESULT_ERROR_OUT_OF_HOST_MEMORY to
ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY, since when making resources
resident, it is the device running out of memory, instead of the
host.

Related-To: LOCI-4443

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-05-24 21:08:27 +02:00
Neil R Spruit
ded9d7bff2 feature: Get Peer Allocation with specified base Pointer
Related-To: LOCI-4176

- Given a Base Pointer passed into Get Peer Allocation, then the base
pointer is used in the map of the new allocation to the virtual memory.
- Enables users to use the same pointer for all devices in Peer To Peer.
- Currently unsupported on reserved memory due to mapped and exec
resiedency of Virtual addresses.

Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2023-05-24 20:41:20 +02:00
Dunajski, Bartosz
f98ac7098b feature: waiting for in-order dependencies with TimestampPacket
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-05-24 19:25:11 +02:00
Kamil Kopryk
223eb3e3fc Revert "refactor: move getProductMaxPreferredSlmSize to release helper"
This reverts commit 944c332371.

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-24 17:05:12 +02:00
Kamil Kopryk
f32d62970d fix: remove not needed adjustIpVersionIfNeeded function
Related-To: NEO-7786


Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-24 15:56:27 +02:00
Mateusz Hoppe
7d82b690e4 fix(debugger): use per-context fences for vm_bind operations
- vm_bind with user fence updates fence value independently for every
VM hence with per-context VMs, every context needs its unique fence
address. This prevents 2 contexts from updating value possibly
writing lower value than the one that was already stored

Resolves: NEO-8004

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-05-24 15:17:31 +02:00
Pawel Cieslak
af4fd337c5 refactor: correct libva branch in manifest.yml
Related-To: NEO-7901
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-05-24 12:39:34 +02:00
Dunajski, Bartosz
64017c8c3f feature: Introduce TimestampPacket handling for in-order CommandLists
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-05-24 09:41:57 +02:00
Zbigniew Zdanowicz
75ee7e8a3e test: extend platform list for level zero debugger aub test
Related-To: NEO-7807

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-05-23 16:39:16 +02:00
Artur Harasimiuk
11ba4636be ci: infra update
Related-To: NEO-7999
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-05-23 16:16:21 +02:00
Kamil Kopryk
915495ce28 refactor: remove not needed forward declaration
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-23 16:06:16 +02:00
Daria Hinz
331f167cfe feature: Add debug flag for setting hw ip version
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-7954
2023-05-23 15:32:46 +02:00
Kamil Kopryk
4ecff31c26 fix: call isPrefetchDisablingRequired directly from release helper
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-23 15:12:39 +02:00
Kamil Kopryk
944c332371 refactor: move getProductMaxPreferredSlmSize to release helper
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-23 13:55:17 +02:00
Kamil Kopryk
4be9b7e609 fix: setup ipVersion in linux paths
Get ipVersion from productHelper function on xe and upstream.
On prelim first try to query ipVersion from kmd,
if it fails, get ipVersion from productHelper function.

Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-23 09:27:15 +02:00
ocldev
103ad120ec build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-05-22 15:35:44 +02:00
Pawel Cieslak
1881df63f9 ci: infra update
Related-To: NEO-7901
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-05-22 15:16:44 +02:00
Fabian Zwolinski
3f92f044a3 refactor: Remove default support for DCD Debugger
Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-05-22 15:16:27 +02:00
Milczarek, Slawomir
5402e2639f feature: Enable kmd migration by default on PVC platform
Related-To: NEO-6465

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2023-05-22 15:16:08 +02:00
Lukasz Jobczyk
d030aff3f0 performance: Adjust NEO CAL config
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-05-22 12:29:10 +02:00
Lukasz Jobczyk
8e51d9ae90 fix: add missing host ptr assignment increment
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-05-22 11:54:24 +02:00
Compute-Runtime-Validation
6a3a90a83f Revert "ci: kernel revision update to 4757"
This reverts commit 16a67cf2a3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-05-22 11:01:27 +02:00
Matias Cabral
38bc7ae403 build: update i915 headers
third_party/uapi/drm - from c7c12de893f808bd7c1215fe9056262295e5203b
https://cgit.freedesktop.org/drm-tip

third_party/uapi/prelim/drm from prelim v2.0-rc17
https://github.com/intel-gpu/drm-uapi-helper

Signed-off-by:  Matias Cabral <matias.a.cabral@intel.com>
2023-05-22 10:25:00 +02:00
Kamil Kopryk
3e6c83d28a fix: initialize ipVersion in wddm paths
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-22 10:13:13 +02:00
Compute-Runtime-Validation
3afa43a890 Revert "build: igc revision update"
This reverts commit 0bdbac3c8f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-05-22 10:12:55 +02:00
Compute-Runtime-Validation
646f596057 Revert "fix: add missing host ptr assignment increment"
This reverts commit bb86dba152.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-05-22 09:19:04 +02:00
Compute-Runtime-Validation
c748fd07dc Revert "fix: initialize ipVersion in linux paths"
This reverts commit 049cd1b568.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-05-20 07:32:36 +02:00
Grzegorz Choinski
b29a88c69a ci: infra update
Related-To: NEO-7914
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-05-19 23:09:18 +02:00
Lukasz Jobczyk
bb86dba152 fix: add missing host ptr assignment increment
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-05-19 14:53:27 +02:00
Kamil Kopryk
049cd1b568 fix: initialize ipVersion in linux paths
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-19 13:49:27 +02:00
Dunajski, Bartosz
ea537a0a4d feature: optimize programming in-order wait events from previous append call
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-05-19 13:43:24 +02:00