Commit Graph

13865 Commits

Author SHA1 Message Date
Kacper Nowak
1afaf37f78 refactor: Unify GTPin initialization logic between APIs
Add support for new GTPin loading logic in OCL path, similar to existing
in L0 - invoking exposed, dedicated API call (OpenGTPinOCL).
- Move logic to shared, including unit tests
- Check whether instrumentation is required on
  context creation and if yes,
  make a call to OpenGTPinOCL function.
  Handle potential errors gracefully without exiting.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-08-09 17:15:24 +02:00
Mateusz Hoppe
c43b827702 feature(debugger): allocate per-context SIP kernels with contextID
- optimize allocating SIP kernels for context - use cached binary
- parse SIP binary to find patch location
- patch SIP binary with Offline dump context id

Related-To: NEO-7630

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-09 16:22:20 +02:00
Dunajski, Bartosz
d5565a68e2 refactor: unify immediate cmd list wait methods
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-09 16:13:45 +02:00
Pawel Cieslak
77319f886a ci: infra revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-08-09 15:11:49 +02:00
Lukasz Jobczyk
d66da494d4 fix: Align svm cpu to alignment passed to properties
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-08-09 11:52:21 +02:00
Lukasz Jobczyk
4d5b4ef4f1 feature: Enable dispatch monitor fence from wait
Resolves: NEO-8240
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-08-09 09:43:47 +02:00
Dunajski, Bartosz
3d1400f8dc feature: ZE_COMMAND_LIST_FLAG_IN_ORDER flag support
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-09 09:11:31 +02:00
Compute-Runtime-Validation
f974aff680 Revert "build: igc revision update"
This reverts commit 65a1cfcbd7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-09 03:07:23 +02:00
John Falkowski
59b0cb4eaa fix: remove print from ults
Disable PrintBOPrefetchingResult for ULTs.

Related-To:  NEO-8066

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-08 18:26:25 +02:00
Dunajski, Bartosz
b09357470a feature: extend in order execution support on regular command lists
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-08 16:50:58 +02:00
Lukasz Jobczyk
fc1f45b630 feature: Dispatch monitor fence from wait
Resolves: NEO-8240
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-08-08 16:42:27 +02:00
Milczarek, Slawomir
f3f623900a fix: memory prefetch for kmd migrated shared alloc to check for invalid usm ptr
Fix for SIGSEGV in SYCL_CTSO0Debug-usm_api_prefetch_handler_no_events_l0
./run_l0.sh usm_api_prefetch_handler_no_events test_usm

Related-To: LOCI-4742

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2023-08-08 11:29:14 +02:00
ocldev
65a1cfcbd7 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-08-08 11:01:32 +02:00
Dunajski, Bartosz
d5d43ead7c feature: initial support of in-order regular cmd lists
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-08 10:41:25 +02:00
Compute-Runtime-Validation
8e989fa333 Revert "fix: limit ccs number to 1 on dg2"
This reverts commit d2ec766bf1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-08 04:43:31 +02:00
ocldev
6e9bb7e1ac feature: brand string update
Related-To: NEO-7929

Updating device brand strings
Based on public support in Windows driver 31.0.101.4578
https://www.intel.com/content/www/us/en/download/729157/

Signed-off-by: ocldev <ocldev@intel.com>
2023-08-07 21:29:19 +02:00
Spruit, Neil R
51670abc29 feature: Add Support for Making Memory Resident on P2P capable devices
Related-To: LOCI-4583

- Provide support for allowing a user to make memory resident on a peer
to peer connected device.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-08-07 19:38:26 +02:00
Kamil Kopryk
ffac216ab2 fix: use decanonize from gmm helper in xe
Related-To: NEO-7996
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-08-07 17:45:03 +02:00
Dunajski, Bartosz
bdcc1bfc86 fix: dont pass Queue flags as CL flags when creating immediate CL
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-07 12:45:11 +02:00
Lukasz Jobczyk
6beebaf428 fix: invalidate texture cache when dispatch monitor fence
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-08-07 11:32:36 +02:00
Katarzyna Cencelewska
6d8ff6399c feature: add possibility to force device id on Windows
Related-To: HSD-18031930757
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-08-07 11:25:11 +02:00
Zbigniew Zdanowicz
f0d793979e refactor: reposition of implementations of level zero helper methods
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-07 11:15:08 +02:00
Maciej Plewka
d2ec766bf1 fix: limit ccs number to 1 on dg2
Related-To: NEO-7863, HSD-14019186972

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-08-07 10:50:45 +02:00
Compute-Runtime-Validation
65df34bbc7 Revert "refactor: Unify GTPin initialization logic between APIs"
This reverts commit 68a5108e05.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-07 04:31:52 +02:00
Kacper Nowak
68a5108e05 refactor: Unify GTPin initialization logic between APIs
Add support for new GTPin loading logic in OCL path, similar to existing
in L0 - invoking exposed, dedicated API call (OpenGTPinOCL).
- Move logic to shared, including unit tests
- Check whether instrumentation is required on
  clGetPlatformIDs API call, and if yes,
  make a call to OpenGTPinOCL function.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-08-05 18:22:08 +02:00
Compute-Runtime-Validation
05fb8e9c00 Revert "ci: kernel revision update to 4953"
This reverts commit c798505203.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-05 04:54:17 +02:00
John Falkowski
f652c7311d feature: Add prefetch for chunking with shared and device mem
Perform prefetching of chunks on shared and device allocations
after bind.

Related-To: NEO-8066

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Signed-off by: John Falkowski <john.falkowski@intel.com>
2023-08-05 02:17:39 +02:00
Kulkarni, Ashwin Kumar
cb2b4214b4 feature: support UUID feature for windows
Related-To: LOCI-3523

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-08-04 20:57:38 +02:00
Compute-Runtime-Validation
d93789dbab Revert "fix: use decanonize from gmm helper in xe"
This reverts commit e6b0930657.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-04 17:20:25 +02:00
Mateusz Hoppe
c44b600ec7 fix: assert message printing
- assert buffer has header that needs to be accounted for while parsing
the buffer and reading format strings. currentOffset in Printf Formatter
must not exceed size in header. The offset is relative to the beginning
of buffer, not the "begin" field in header

Resolves: NEO-8237

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-04 16:48:59 +02:00
Zbigniew Zdanowicz
53e85728cd test: add sandbox test of concurrent regular and immediate execution
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-04 16:42:28 +02:00
Mateusz Witke
c798505203 ci: kernel revision update to 4953
Signed-off-by: Mateusz Witke <mateusz.witke@intel.com>
2023-08-04 15:23:45 +02:00
Mateusz Jablonski
a1ff8d0ca0 fix: add missing initialization of hw info on ADLP
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-04 14:25:09 +02:00
Zbigniew Zdanowicz
0eb3bcaf02 performance: enable immediate flush task on xe hpg platforms
Related-To: NEO-7808

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-04 14:03:45 +02:00
Kulkarni, Ashwin Kumar
5cd39dd155 fix(sysman): supports return of correct temperature domains on igfx
Related-To: LOCI-4741

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-08-04 12:28:50 +02:00
Bellekallu Rajkiran
63fa05e776 fix: Proper update of device count that generated events
numDeviceEvents out param is not being updated in case
there are no events and device events map is not overridden
on multiple register calls result in failure.

Related-To: LOCI-4751

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-08-04 11:58:56 +02:00
Mateusz Jablonski
742bc15be9 test: reduce gpu hang check period in mock csr classes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-04 11:58:40 +02:00
Dunajski, Bartosz
a7e0594fd9 fix: add missing dependency wait for in-order appendWaitOnEvents
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-04 11:58:24 +02:00
Mateusz Jablonski
30734fa844 fix: unify hw configs for ADLP/ADLN/DG2
move them to common place

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-04 11:19:18 +02:00
Zbigniew Zdanowicz
be9d1f0589 fix: update context base address state after execution of regular command list
Related-To: NEO-7808

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-04 11:12:28 +02:00
Dunajski, Bartosz
305d4f3102 fix: add missing check in in-order compute mem copy path
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-04 11:02:13 +02:00
Lukasz Jobczyk
e89e20c013 fix: Disable timestamp wait for events on WSL
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-08-04 09:23:30 +02:00
Mateusz Jablonski
db12dc78a8 test: reduce gpu hang check period in test expecting gpu hang
this reduces test execution time by 500 ms

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-04 08:49:51 +02:00
Bari, Pratik
3f083360a2 feature(sysman): Added sysfs filenames for the memory module
- The sysfs filenames have been added in the sysfsNameToFileMap of the
SysmanKmdInterface classes.
- The functions returning the sysfs filenames have been removed from the
shared directory.
- The ULTs have been added to return the sysfs filenames.

Related-To: LOCI-4699

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-08-03 22:36:17 +02:00
Kamil Kopryk
e6b0930657 fix: use decanonize from gmm helper in xe
Related-To: NEO-7996

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-08-03 15:18:48 +02:00
Mateusz Hoppe
bcba74f839 feature: bindless global allocator with scratch
- allocate SSH in cmdContainer when scratch allocation used with
private heaps
- scratch SurfaceStates are addressed relative to
SurfaceStateBaseAddress and have to be placed on SSH
- remove not used SCRATCH_SSH heap type from bindelssHeapHelper

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-03 13:24:59 +02:00
Compute-Runtime-Validation
856e9f00f3 Revert "fix: add fallback in setting hw ip version for MTL"
This reverts commit fbac74e3c4.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-03 11:03:53 +02:00
Lukasz Jobczyk
e75499de45 fix: Enable timestamp wait for events on MTL Windows
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-08-03 10:06:55 +02:00
Compute-Runtime-Validation
6a4a14e13a Revert "fix: Enable timestamp wait for events on MTL"
This reverts commit 51a00fb4c8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-03 03:22:17 +02:00
Mateusz Jablonski
fbac74e3c4 fix: add fallback in setting hw ip version for MTL
setup hw ip version based on device id and revision id

Related-To: NEO-8231
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-02 16:09:05 +02:00