Commit Graph

13720 Commits

Author SHA1 Message Date
Mateusz Hoppe
7f9abfe9ef test: extend kernel image tests
- run tests on all platforms with images

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-21 12:26:15 +02:00
Michal Mrozek
a0ba92a202 fix: fix indirect allocation handling during ipc import.
Allocation counter was not update which resulted in residency being skipped.
Resolves: NEO-8198
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2023-07-21 06:44:36 +02:00
Lukasz Jobczyk
bc4d9290d1 refactor: Prepare to enable ULLS per OS
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-07-20 17:11:51 +02:00
Lukasz Jobczyk
bbe7d051e3 fix: Restore ULLS sfence on integrated devices
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-07-20 17:02:44 +02:00
Dunajski, Bartosz
87579e9bcf feature: signaling in-order dependency counter on skl_and_later platforms
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-20 16:56:12 +02:00
Puneeth Kumar Reddy, Devarinti
ff6f64d9be feature(sysman): add debug logs to ras module for zesInit
Related-To: LOCI-3880

Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-20 15:17:24 +02:00
Zhang, Winston
2a41ace67e feature: Add hang detection support for zeDeviceGetStatus
Added hang detection for zeDeviceGetStatus API.
Added ULT for hang detection for zeDeviceGetStatus API.

Related-To: LOCI-1558

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-07-20 15:09:10 +02:00
Dominik Dabek
0a4d0917d4 performance(ocl): skip dcFlush on no event
Skip dcFlush on waitForBarrier without event by default.

Related-To: NEO-8147

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-07-20 14:57:37 +02:00
Lukasz Jobczyk
b06f605895 fix: Correctly flush DC when reuse heap
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-07-20 14:50:37 +02:00
Grzegorz Choinski
7cea7122c2 ci: infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-07-20 14:28:23 +02:00
Dunajski, Bartosz
31d351cd53 refactor: unify and simplify Drm CSR methods
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-20 11:42:21 +02:00
Compute-Runtime-Validation
8c155a2e89 Revert "performance: Memory handling improvements"
This reverts commit 5b80bd4d7c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-20 11:37:09 +02:00
Artur Harasimiuk
1434872427 refactor: remove unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-20 11:09:55 +02:00
Mayank Raghuwanshi
af6798f257 feature: Add support for 64 bit memory counters for zesInit
Related-To: LOCI-4613, LOCI-4612

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-20 11:04:24 +02:00
Dunajski, Bartosz
c3ca3ff119 refactor: use qword memcpy for Events with qword packet size
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-20 07:29:45 +02:00
Compute-Runtime-Validation
5c60b4d973 Revert "feature: Add support for Media frequncy Domain on linux"
This reverts commit 085293b230.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-20 03:04:52 +02:00
Neil R Spruit
8efd8853fb feature: L0 Device Hierarchy support for Composite & Flat modes
Related-To: LOCI-4615

- Added Support for users to set ZE_FLAT_DEVICE_HIERARCHY to either FLAT
or COMPOSITE to change how devices are returned in zeDeviceGet and
clGetDeviceIDs.
- COMPOSITE is default behavior that exists today.
- FLAT returns all sub devices which have no sub devices and all root
devices that have no sub devices in zeDeviceGet ie with all devices
flattened out in order.
- Added zeDeviceGetRootDevice for one to retrieve the Root Device for
any SubDevice.

Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2023-07-20 01:00:54 +02:00
Filip Hazubski
5b80bd4d7c performance: Memory handling improvements
By default prefer allocating memory first by KMD, instead of malloc first.

By default prefer not caching allocations on MTL devices. This results
in allocations being handled with non-coherent pat index.

For integrated devices when caching is not preferred do not allow
direct memory access in CPU domain. For map/unmap operations create
a dedicated memory allocation for CPU access, instead of accessing it
directly, reusing the same logic as when mapping/unmapping local memory.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-07-19 19:21:44 +02:00
Artur Harasimiuk
1d07d999c8 ci: infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-19 17:07:03 +02:00
Mayank Raghuwanshi
085293b230 feature: Add support for Media frequncy Domain on linux
Related-To: LOCI-4552

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-19 16:43:27 +02:00
Mateusz Jablonski
46007dde5b test: move wddm memory manager tests from OCL to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-19 16:09:22 +02:00
Artur Harasimiuk
c8d26bec02 test: handle SEGV and ABRT in L0 ults
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-19 15:46:34 +02:00
Mateusz Hoppe
6835875653 build(ocl): rename platform tests files
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-19 15:39:58 +02:00
Zbigniew Zdanowicz
0374a66d97 performance: enable command list primary batch buffer on gen platforms
Related-To: NEO-7807

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-07-19 14:25:18 +02:00
Compute-Runtime-Validation
6c4ea7b6b9 Revert "build: igc revision update"
This reverts commit 58043ed42b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-19 13:47:14 +02:00
Wilma, Pawel
39b25abf0e feature: debug flag to enable/disable AIL
Related-to: NEO-8049

Signed-off-by: Wilma, Pawel <pawel.wilma@intel.com>
2023-07-19 12:10:05 +02:00
Artur Harasimiuk
9524b65b51 refactor: remove unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-19 12:00:40 +02:00
Mateusz Jablonski
33261d36bc refactor: rename ocl test files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-18 16:46:33 +02:00
Mateusz Jablonski
01990e8bd7 feature(internal): add debug flag to control preferred allocation method on Wddm
Related-To: NEO-7194
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-18 16:46:17 +02:00
Bari, Pratik
16b56b9a6f feature(sysman): New shared directory in the sysman code.
The files containing the new 'SysmanKmdInterface' has been moved into
the new 'shared' directory in the existing sysman directory. More files
are to be added in this directory which will be used by all the sysman
modules in the sysman and tools directories.

Related-To: LOCI-4649

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-07-18 16:06:31 +02:00
Dominik Dabek
622a3ed89c performance(ocl): flag to not dcFlush on no event
If waitForBarrier is not passed outEvent then do
dcFlush on the next synchronize call.

Related-To: NEO-8147

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-07-18 15:38:54 +02:00
Artur Harasimiuk
faa8907344 refactor: remove unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-18 14:52:43 +02:00
ocldev
3652aeb059 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-07-18 14:27:01 +02:00
Mateusz Hoppe
776917159d feature: cl_khr_external_memory - return platform info
- return supported memory handle types when querying
CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR

Related-To: NEO-6757

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-18 14:21:20 +02:00
Maciej Plewka
18ead77e78 fix: Add mutex for ulls controller initializer
Resolves: NEO-7925

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-07-18 12:16:12 +02:00
Mateusz Jablonski
33e0eabe91 performance(ocl): verify tracingInProgress after checking for tracing support
Related-To: NEO-7958
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-18 11:42:30 +02:00
Artur Harasimiuk
260003caa8 refactor: remove unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-18 11:00:25 +02:00
Artur Harasimiuk
3585314928 ci: infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-18 09:57:02 +02:00
Katarzyna Cencelewska
33a5dd486b refactor: remove not needed arguments in adjustGpuPtrToHostAddressSpace
- add also tests to confirm that proper alignment is applied

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-07-18 08:41:59 +02:00
Mateusz Hoppe
8e07dd30cb performance(debugger): optimize ATT handling - minimize mem allocs
- do not allocate state save area every time attention event
is handled
- keep allocated memory for subsequent events
- remove not needed DBEUG_BREAK

Related-To: NEO-8183

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-18 08:37:04 +02:00
Zbigniew Zdanowicz
6d458cd002 fix: modify tests for primary batch buffer in command lists
Related-To: NEO-7807

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-07-18 08:36:47 +02:00
Lukasz Jobczyk
2407658376 performance: Flush constant cache only if any ULLS enabled
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-07-17 16:13:55 +02:00
Bellekallu Rajkiran
461ecc9b3b fix(sysman): Align board number string sequence
Related-To: LOCI-4631

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-07-17 16:07:43 +02:00
Mateusz Hoppe
3070fed574 test: run zello_bindless_kernel with external SSH allocator
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-17 15:13:55 +02:00
Mateusz Jablonski
0c6d2ebaf3 refactor: remove default argument in SettingsFileReader ctor
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-17 15:06:36 +02:00
Mateusz Jablonski
f363463e2d test: move memory manager tests from OCL to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-17 14:53:16 +02:00
ocldev
58043ed42b build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-07-17 14:48:03 +02:00
Dunajski, Bartosz
ec9afc5450 feature: ZE_COMMAND_QUEUE_FLAG_IN_ORDER flag support
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-17 12:02:56 +02:00
Mateusz Hoppe
9a53f20e6c performance(debugger): optimize ATT event handling
- check threads with attention state before reading SR_IDENT
- memory read is costly, for threads already in stopped state
there is no need to read sr_ident and check thread state again
- single stepping one thread performance is substantially improved,
by the factor of 6x

Related-To: NEO-8183

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-17 10:42:34 +02:00
Compute-Runtime-Validation
204e5fd306 Revert "fix: Remove tlb flush from DG2 and MTL"
This reverts commit 8ef4629e50.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-15 04:53:37 +02:00