Commit Graph

3780 Commits

Author SHA1 Message Date
Compute-Runtime-Validation 61cfedb9d3 Revert "fix: noop reset and close calls on immediate command lists"
This reverts commit 34bbd74043.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-22 05:26:25 +02:00
Zbigniew Zdanowicz 34bbd74043 fix: noop reset and close calls on immediate command lists
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-21 18:08:37 +02:00
Dunajski, Bartosz f3b2458a9c fix: Use immediate command queue instead of CSR to obtain TaskCount.
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-21 15:04:46 +02:00
Spruit, Neil R ea7b7d7009 feature: Support for Combined Device Hierarchy
Related-To: LOCI-4662

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-08-21 10:26:20 +02:00
Mateusz Hoppe 8435160db4 feature: bindless addressing for images
- program surface states for redescribed images correctly. Image copy
to/from memory are using redescribed surface states,
- refactor state base address programming - program address and size
together, set max size at the beginning due to lack of Enable flag
- set GpuBase in WddmAllocation when external heap is used
- return max ssh required size from kernelInfo or based on stateful args

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-18 15:59:20 +02:00
Dunajski, Bartosz 9d943e484e fix: stall RelaxedOrdering when submitting regular cmd list
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-18 14:20:31 +02:00
Artur Harasimiuk f6e0c0cf89 Revert "feature: Add debug/release variable prefixes"
This reverts commit ec95d9314a.

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-18 12:42:39 +02:00
Kulkarni, Ashwin Kumar 2f9a58e0ab feature(sysman): enables events module for zesInit windows
Related-To: LOCI-4195

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-08-18 08:43:31 +02:00
Compute-Runtime-Validation 73ffc56938 Revert "feature: flush task count on cmd list hostSynchronize if needed"
This reverts commit d96d092602.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-18 03:05:11 +02:00
John Falkowski 2403212dcd fix: chunking prefetch add USER_FENCE
Add USER_FENCE before PREFETCH call and after the BIND

Related-To: NEO-8098

Signed-off by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-17 21:32:47 +02:00
Maciej Bielski 93af2e9c62 refactor: split ModuleImp::initialize to facilitate testing
Extract submethods from the original method to ease mocks injection.

Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2023-08-17 14:29:25 +02:00
Dunajski, Bartosz d96d092602 feature: flush task count on cmd list hostSynchronize if needed
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-17 09:38:47 +02:00
Bellekallu Rajkiran 81d037f59b feature(sysman): Add support for fabric error counters
Related-To: LOCI-4620

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-08-16 15:05:32 +02:00
Zhang, Winston 998e0a5833 feature: zeDriverGetLastErrorDescription error messages (cmdlist)
When there is a PRINT_DEBUG_STRING message in cmdlist that is applicable
to the user, it is now also set to
Driver::zeDriverGetLastErrorDescription.

Related-To: LOCI-4652

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-08-16 00:17:29 +02:00
Zhang, Winston 8962c95000 feature: zeDriverGetLastErrorDescription error messages (module)
When there is a PRINT_DEBUG_MESSAGE message in module that is
applicable to the user, it is now also set to
Driver::zeDriverGetLastErrorDescription.
ULTs are also added to verify that setErrorDescription successfully
stores the error message.

Related-To: LOCI-4653

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-08-16 00:14:49 +02:00
Jitendra Sharma 68e1f81a83 feature: Add XE driver support for sysman processGetStateAPI
This change adds support to get information about process via
fdInfo

Related-To: LOCI-4401

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-08-14 11:05:55 +02:00
Compute-Runtime-Validation ce7b25d445 Revert "fix: use proper pointer inside appendWriteGlobalTimestamp"
This reverts commit 5a235af209.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-14 10:54:20 +02:00
Katarzyna Cencelewska 5a235af209 fix: use proper pointer inside appendWriteGlobalTimestamp
Related-To: NEO-8105
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-08-11 08:18:45 +02:00
Zbigniew Zdanowicz f9359eac1e performance: enable state base address tracking on xe hpc
Related-To: NEO-7963

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-10 14:13:30 +02:00
Maciej Plewka e4a2d10a84 fix: limit ccs number to 1 on dg2 [2nd submission]
Related-To: NEO-7863, HSD-14019186972

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-08-10 14:03:55 +02:00
John Falkowski ec95d9314a feature: Add debug/release variable prefixes
Resolves:  NEO-6357
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-10 14:01:09 +02:00
Fabian Zwolinski 6fca8ee195 refactor: Remove SourceLevelDebugger
Removed:
- SourceLevelDebugger (with tests)
- DebuggerLibrary
- DebuggerLibraryRestore
- debuggerSupported field from hwInfo.capabilityTable
- HasSourceLevelDebuggerSupport matcher
- ExperimentalEnableSourceLevelDebugger debug var
- EnableMockSourceLevelDebugger debug var
- DebuggerOptDisable debug var
- lib_names.h.in file
- third_party/source_level_debugger/igfx_debug_interchange_types.h

Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-08-10 11:14:02 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Bari, Pratik b85222b4f3 feature(sysman): Added changes for Porting Standby API
The corresponding sysfs file names used by the standby module has been
added in the sysfsNameToFileMap.
The ULTs have been added in the standby module covering the new
filename.
The base path for the sysfs filenames corresponding to the Xe driver
have been modified.

Related-To: LOCI-4406

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-08-02 16:02:47 +02:00
Bari, Pratik 64bf895cf7 feature(sysman): Create boilerplate for spec 1.7 in sysman
- Added new sysman APIs introduced in spec1.7
- Added ULTs to cover the new APIs

Related-To: LOCI-4667

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-08-02 13:51:09 +02:00
Zbigniew Zdanowicz 22ab72ed3d performance: do not flush caches when writing global timestamp
Related-To: HSD-18032167035

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-01 10:46:18 +02:00
Compute-Runtime-Validation a0dde814c9 Revert "performance: enable immediate flush task on xe hpg"
This reverts commit b184bb11fa.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-01 08:33:26 +02:00
Mateusz Jablonski 1e95ed33f9 refactor: remove redundant parameter from HardwareInfo ctor
hw ip version is queried from KMD or set based on device id and rev id

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-31 16:12:57 +02:00
Mateusz Hoppe 30426d35c8 feature(zebin): dump zebin when building module from SPIRV
- Debug key DumpZEBin should dump zebin elf for modules created from
SPIRV format

Related-To: NEO-7895

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-31 10:23:47 +02:00