Commit Graph

11925 Commits

Author SHA1 Message Date
Lukasz Jobczyk dbc6ac2743 Set alignment for SVM_CPU properties on xe_hpc and later
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-12-02 12:35:54 +01:00
Milczarek, Slawomir 7d202c7871 Update i915 prelim headers to v2.0-rc16
Related-To: NEO-5838

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-12-02 11:37:16 +01:00
Warchulski, Jaroslaw bf6dfa6b94 Fix for '-q' option in ocloc
Related-To: NEO-6425
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-12-02 11:37:00 +01:00
Compute-Runtime-Validation 083471a158 Revert "Set alignment for SVM_CPU properties"
This reverts commit db89d2ce6b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-12-02 08:17:13 +01:00
Jim Snow ddf14290d4 Add L0 API for querying hardware raytracing capabilities.
Related-To: NEO-5580

Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2022-12-02 01:05:38 +01:00
Dunajski, Bartosz 85da0ee184 Enable flushTask path for BCS
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-12-01 20:10:21 +01:00
Jaime Arteaga 99655d34f9 Return a unique pointer for multiple calls to openIpcHandle
This to follow specification, which says:

zeMemOpenIpcHandle:

- Multiple calls to this function with the same IPC handle will return
unique pointers.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-12-01 18:42:54 +01:00
Rafal Maziejuk af82557e55 Move device caps tests to shared
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-12-01 17:57:13 +01:00
Maciej Bielski d579a63730 Add helpers and debug prints for scratch/private allocations
Replace a loop with separate helpers to explicitly show differences
between per-HW-thread allocation types.

Related-To: NEO-7398
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2022-12-01 17:54:03 +01:00
Compute-Runtime-Validation da3a5046fc Revert "Download all allocations when event is ready"
This reverts commit d97dcc80b2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-12-01 15:27:56 +01:00
Dunajski, Bartosz 6f283d7bf5 Debug flag to override fence start value
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-12-01 14:58:05 +01:00
Artur Harasimiuk 03e19abbe5 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-12-01 13:26:17 +01:00
Lukasz Jobczyk db89d2ce6b Set alignment for SVM_CPU properties
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-12-01 10:45:47 +01:00
Mayank Raghuwanshi 69e6c8b1c6 Add support for retrieving max b/w for DG2
Related-To: LOCI-3425

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-12-01 10:45:32 +01:00
Krystian Chmielewski d4fe9298bf fix(debug zebin): handle misaligned access
Handle misaligned access when aplying debug relocations in zebin.
Debug relocations entries have offsets which are not of natural
alignment, and need to be specificialy handled.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-12-01 10:45:17 +01:00
Bellekallu Rajkiran 6806a0fb36 Fix memory error counter reporting issue
Buffer allocation of less size to retrieve memory error
count result in failure to get error count.

Add support to igsc interface to get information related to buffer
allocation.

Related-To: LOCI-3667

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-12-01 07:21:08 +01:00
Spruit, Neil R d81b0b14a1 L0 Virtual Memory Reservation support
- Enable support for L0 Virtual Memory reservation on Linux and Windows.
- Excludes support for Linux to allow pStart option

Related-To: LOCI-3397, LOCI-1543

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-12-01 00:55:19 +01:00
Matias Cabral 467119931c Add SIP version check
Make SLM access a single template function

Resolves: NEO-7335

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2022-12-01 00:55:04 +01:00
Jaime Arteaga 4dfdbd612d Fail when handle cannot be obtain for an allocation
If a handle cannot be obtained, like PRIME_HANDLE_TO_FD, then
properly check for the error and propagate it upwards.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-11-30 20:59:02 +01:00
ocldev ddd5dd99ef igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-11-30 19:25:53 +01:00
Lukasz Jobczyk 7ea11f9e44 Remove 2MB alignment from host part of shared allocation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-11-30 17:04:24 +01:00
Kamil Kopryk 8fb4aff41b Remove IGDRCL_SRCS from shared cmake code
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-11-30 15:00:58 +01:00
Warchulski, Jaroslaw dfa65bd358 Cleanup includes 9
Related-to: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-11-30 14:48:50 +01:00
Kamil Kopryk cf544115ee HwInfoConfigTests cleanup
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>

Use HwInfoConfigTest fixture
2022-11-30 13:11:00 +01:00
Cetnerowski, Adam 26f7452fe5 Documentation: Release cadence update
Update the information about release cadence.
Move from weekly posting, to monthly posting off dedicated release branch.

Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2022-11-30 12:58:29 +01:00
Rafal Maziejuk 811db4d575 Move engine node helper tests to shared
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-11-30 12:58:13 +01:00
ocldev 4a2a6a15c2 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-11-30 12:57:56 +01:00
Andrzej Koska f1a38cbe49 Add AIL for Davinci Resolve
This AIL allows the Davinci Resolve to use overlapping buffers
outside of the specification

Related-To: NEO-5871
Signed-off-by: Andrzej Koska andrzej.koska@intel.com
2022-11-30 11:50:44 +01:00
Aravind Gopalakrishnan c22be9427d Fix markdown format syntax for extension doc
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-11-30 00:52:31 +01:00
Dunajski, Bartosz 20b6c76298 RelaxedOrdering: Disable feature for BCS
Related-To: NEO-7458

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-29 17:45:40 +01:00
Kacper Nowak e268b46df1 Update ZEInfo version to 1.26
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-11-29 17:26:33 +01:00
Mateusz Jablonski f7c11e8a94 Fix typos
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-29 17:12:10 +01:00
Rafal Maziejuk f7cb924d2d Move HwHelper tests to shared
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-11-29 17:06:41 +01:00
Zbigniew Zdanowicz 5d6caa6b79 initialize local variables
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-29 16:35:02 +01:00
ocldev b380688d26 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-11-29 15:14:42 +01:00
Compute-Runtime-Validation c322bc3578 Revert "fix(ocl zebin): do not expose functions as kernel"
This reverts commit 359b9278b8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-29 13:51:50 +01:00
Rafal Maziejuk 3fe394ecbe Delete redundant getDefaultRevisionId method from HwHelper
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-11-29 13:35:12 +01:00
Dunajski, Bartosz 2c08f2ca8c RelaxedOrdering: Optimize return ptr programming
Related-To: NEO-7458

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-29 13:22:25 +01:00
Zbigniew Zdanowicz 50e43069ba Add level zero sandbox black box test
This test was created to quickly recreate failing conditions in more complex
test.
Sandbox is modular and easy to add any test scenario with future use.
Every test scenario might be executed by default.
Test might just be code reference for future implementation or any other test
executed that checks and validates any scenario.

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-29 12:54:49 +01:00
Dominik Dabek 408a2e3e92 Add asserts to timestamp ults
Add asserts to avoid OOB array accesses when no semaphores are used

Related-To: NEO-7321

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-11-29 12:32:50 +01:00
Szymon Morek bb55d2259e Enable CPU memcpy on DG2
Resolves: NEO-7553

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-11-29 12:24:18 +01:00
Maciej Plewka c39cd23f87 Change task count type to uint64_t
Related-To: NEO-7105

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-11-29 12:05:22 +01:00
Mateusz Jablonski d7e4117dcf Compile builtins and test kernels per product family
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-29 11:52:21 +01:00
Joshua Santosh Ranjan fb8aa01a01 Metrics: Use physical subdevice index when using affinity mask
Related-To: LOCI-2975

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-11-29 07:48:39 +01:00
Zbigniew Zdanowicz d97dcc80b2 Download all allocations when event is ready
Related-To: NEO-7545

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-28 18:33:14 +01:00
Krystian Chmielewski b2051003f9 feat(zebin): support rt global buffers
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-11-28 17:25:32 +01:00
Warchulski, Jaroslaw 4100e1aa72 Cleanup includes 7
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-11-28 17:01:48 +01:00
Zbigniew Zdanowicz c0c9ce548a Validate level zero events in TBX mode
Related-To: NEO-7545

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-28 16:45:02 +01:00
Maciej Plewka 4b42b066f8 Use dedicated using type for TaskCount
Related-To: NEO-7155

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-11-28 16:44:44 +01:00
Dunajski, Bartosz 3f962bf3e8 RelaxedOrdering: Improve dependencies tracking
Avoid not needed scheduler programming
Related-To: NEO-7458

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-28 16:00:21 +01:00