Commit Graph

10223 Commits

Author SHA1 Message Date
Mateusz Jablonski 268393d776 Create wrapper for drm_i915_gem_exec_object2
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-12 13:14:27 +02:00
Katarzyna Cencelewska 0b68fdbe52 Move isCooperativeEngineSupported to HwInfoConfig
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-12 12:10:23 +02:00
Zbigniew Zdanowicz fdb763aa7e Rework interface for adding kernel to command list
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-12 10:55:41 +02:00
Maciej Plewka b0d84f88d7 Return correct device name in L0
With this commit L0 driver will report the same device name as OpenCL
driver

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-05-12 10:53:33 +02:00
Lukasz Jobczyk be908f4695 Update ReturnSubDevicesAsApiDevices debug variable description
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-12 10:42:28 +02:00
Brandon Yates a358c38722 Update L0 loader to v1.8.0 (Spec v1.4)
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2022-05-11 23:19:17 +02:00
Mateusz Jablonski 145ff7cecf Fix stack-buffer-overflow issue in test
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-11 19:55:12 +02:00
Kamil Kopryk fb4b1cca4f Use internal blitter for internal memory transfers
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6621
2022-05-11 19:33:00 +02:00
Filip Hazubski c354b73761 infra update
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-11 19:06:32 +02:00
Artur Harasimiuk 9f9cccaa7a packaging: allow custom spec_file
Add SPEC_FILE variable support for .deb to allow multpile flavors to share
configs.

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 19:00:20 +02:00
Krzysztof Gibala 143694aa0a Adjust gmmHelper canonize method accessing point in Drm
Accessing canonize method as a member of GmmHelper class object

Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-11 17:35:08 +02:00
ocldev 17333a0ac0 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-05-11 17:05:21 +02:00
Lukasz Jobczyk a31a674c38 L0 support for expose sub devices as API devices
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-11 15:41:53 +02:00
Mateusz Hoppe c021e2ec5e L0 Debugger - DebugSession linux implementation
- new feature, enabled with PRELIM build
- implementation of debug session for linux
- move ResourceClass enum from Drm to drm_debug.h

Resolves: NEO-6814


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-11 15:30:32 +02:00
Baj, Tomasz 4e4560fe91 Add cl_device_uuid_khr to getDeviceInfo.
Related-To: NEO-5681

Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-05-11 14:59:20 +02:00
Lukasz Jobczyk d63a044e60 Add infrastructure to request ULLS restart
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-11 14:33:30 +02:00
Artur Harasimiuk e9be9b64c6 clang-tidy configuration cleanup
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Zbigniew Zdanowicz 910871a706 add multi-tile support for completion diagnostic
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-11 13:37:32 +02:00
Mateusz Jablonski db178a9604 Remove not needed i915_drm.h includes
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-11 13:08:21 +02:00
Krzysztof Gibala 2fcda0a528 Refactor: Change decanonize method accessing point
Accessing decanonize method as a member of GmmHelper class object

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-11 12:57:02 +02:00
Fabian Zwolinski 7bb3bcbc05 Read resource info from internal represenation for WSL
Related-To: LOCI-3037
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-05-11 11:57:23 +02:00
sairamud 2578a988c5
Implement WddmFanImp::setDefaultMode to enable zesFanSetDefaultMode feature (#11623)
* Implement WddmFanImp::setDefaultMode to enable zesFanSetDefaultMode feature

Signed-off-by: sairamud <sairam.udaya.janardhana.muttavarapu@intel.com>

* Implement WddmFanImp::setDefaultMode to enable zesFanSetDefaultMode feature

Signed-off-by: sairamud <sairam.udaya.janardhana.muttavarapu@intel.com>

* Implement WddmFanImp::setDefaultMode to enable zesFanSetDefaultMode feature

Signed-off-by: sairamud <sairam.udaya.janardhana.muttavarapu@intel.com>
2022-05-11 03:50:09 +02:00
Joshua Santosh Ranjan a38a3ce730 Improve zello Metrics
1. Added command line handling
1.1 Replaced device/sub-device specific test
with single test with input argument
2. Added verbose levels
3. Added support to run all tests sequentially
4. Replace zetMetricGroupCalculateMetricValues
with zetMetricGroupCalculateMetricValuesExp

Related-To: LOCI-3078

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-05-10 19:34:38 +02:00
Mateusz Jablonski d935815d74 Move residency data from WddmAllocation to GraphicsAllocation
Related-To: NEO-6848

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-10 18:16:42 +02:00
Bartosz Dunajski f89c731a11 AsyncEventHander: Track regular Events completion
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-05-10 18:04:49 +02:00
ocldev 888250fabd dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-05-10 17:52:46 +02:00
Bartosz Dunajski c4fcd7ed9b Capability to set low scheduling priority for Wddm context
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-05-10 16:44:25 +02:00
Compute-Runtime-Validation 5507633d15 Revert "Enable update task count from wait on DG2"
This reverts commit 99c424b6ff.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-10 14:26:24 +02:00
Lukasz Jobczyk 17aac9d1bf Add debug flag to expose each subdevice as a separate cl device
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-10 14:04:26 +02:00
Mateusz Jablonski 943ad0e1eb style: skip redundant unique_ptr::get function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-10 13:22:40 +02:00
Krzysztof Gibala d18e89e439 Create getGmmHelper function in Gmm
Add get function in order to provide access on GmmHelper object

Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-10 11:34:19 +02:00
Bartosz Dunajski f9a5f8a86e Defer Event destruction if command is not completed
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-05-10 11:22:58 +02:00
Filip Hazubski f6ee9c8ba0 Move ULTs to reduce object size
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-09 19:14:53 +02:00
Daniel Chabrowski 7576af5300 Limit systolic mode to Xe family
Related-To: NEO-6624
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-09 18:01:03 +02:00
Artur Harasimiuk e338721bc7 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-09 17:08:52 +02:00
Krzysztof Gibala 4f1e01d279 Create getGmmHelper function in MemoryManager
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-09 16:51:23 +02:00
Katarzyna Cencelewska 518595dd97 Add adjustHardwareInfo method on dg2
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-09 16:36:48 +02:00
Mateusz Jablonski 77621158e0 Correct cmake files in driver model specific execution environment files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-09 15:56:58 +02:00
Krzysztof Gibala 1c366d1ec0 Refactor: Change canonize method accessing point
Accessing canonize method as a member of GmmHelper class object

Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-09 14:16:31 +02:00
Daniel Chabrowski b42a49eb4b Limit pipeline selection to Xe
Related-To: NEO-6624
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-09 13:16:43 +02:00
Artur Harasimiuk b429df1b55 fix issues reported by clang-tidy 14
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-09 12:49:01 +02:00
Maciej Plewka 27ca561482 Apply max threads w/a only for specyfic Arc devices
With this commit w/a for max thread value will be applied only for
Native 512EU devices.

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-05-09 12:43:36 +02:00
Daria Hinz 5ba56690f5 Revert "Set only base values in GT_SYSTEM_INFO for AOT"
This reverts commit b1f622d700.

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-05-09 12:42:09 +02:00
Bartosz Dunajski 206e485dfc Remove not needed DEBUG_BREAK_IF
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-05-09 11:26:16 +02:00
Joshua Santosh Ranjan 89dac126a1 Add IP Sampling Tests
1. Add OA and IP sampling metric collection tests
2. Add IP sampling multi thread tests
3. Add IP sampling multi process tests

Related-To: LOCI-2759

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-05-09 06:25:11 +02:00
Jaime Arteaga 3f26f45c10 Add support for IPC handles with implicit scaling
When using implicit scaling, device allocations may have
more than one internal allocation created internally. In that case,
a separate dma-buf handle per internal allocation needs to be
exported.

So introduced two driver experimental extensions to export and
import more than one IPC handle:

- zexMemGetIpcHandles
- zexMemOpenIpcHandles

Related-To: LOCI-2919

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-05-09 00:38:17 +02:00
Aravind Gopalakrishnan c0de4fd243 Minor fixes to immediate command list docs
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-05-07 05:04:28 +02:00
Mayank Raghuwanshi bcc543f949 Add zesMemoryGetBandwidth support for DG2 and ATS-M
Related-To: LOCI-2574
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-05-07 02:43:00 +02:00
John Falkowski f35107d3b0 fix for WSL and for sortNeoDevices
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-05-07 02:38:02 +02:00
Dominik Dabek 99c424b6ff Enable update task count from wait on DG2
Related-To: NEO-6948

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-05-06 16:01:30 +02:00