Commit Graph

17159 Commits

Author SHA1 Message Date
Pawel Cieslak 88b5f0f8b9 ci: infra revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2024-09-06 23:13:31 +02:00
Mateusz Jablonski 54bda0e986 fix: In Linux CL/GL sharing
- always issue flush request before export

Apparently it's expected to flush the object (which might convert them
from one format to another for export, or remove aux buffer uses or
anything not supported by export).

- use modifier to select tiling mode

Previously we just assumed that whatever tiling mode was picked by mesa
will match the one picked by GMMLIB but that's not always the case
and in particular on Arc and Xe it doesn't work ... Mesa picks Tile4
and GMMLIB picks Tile64 ...

Fixes: #761
Fixes: #736

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-06 21:40:18 +02:00
Mateusz Hoppe 9d5f8eb587 refactor: save hpCopyEngine in Device
- remove loop iteration to get hpCopyEngine

Related-To: NEO-11983

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-06 17:56:53 +02:00
Mateusz Jablonski 53e02bc615 build: add option to build with xe drm prelim headers
Xe drm prelim headers are taken from xe branch at
https://github.com/intel-gpu/drm-uapi-helper

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-06 16:17:55 +02:00
Pawel Cieslak 97f0358431 ci: infra revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2024-09-06 15:26:01 +02:00
Zbigniew Zdanowicz 0f5d9fbb65 performance: replace method calls with constexpr function
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-09-06 15:21:42 +02:00
Bartosz Dunajski ba1f506c29 feature: add new region count param
Related-To: NEO-12138

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-06 15:14:59 +02:00
Mateusz Jablonski 5d802748e3 refactor: move drm-uapi-helper headers to branch specific dir
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-06 14:52:13 +02:00
ocldev 393a17a232 build: level_zero revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-09-06 14:28:12 +02:00
Fabian Zwoliński 38e1614f4a fix: create and use new allocation type for syncBuffer
Related-To: NEO-11533
Related-To: HSD-18039788811
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-09-06 14:11:33 +02:00
Artur Harasimiuk d11d61d229 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-06 13:29:05 +02:00
Lukasz Jobczyk 03690e9b83 fix: Set special queue after its setup
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-09-06 12:05:24 +02:00
Kamil Kopryk b73d956285 test: correct expectations in level zero tests if heapless enabled 4/4
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-06 11:45:54 +02:00
Artur Harasimiuk 5159e57db9 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-06 09:47:53 +02:00
Anvesh Bakwad 6afe6da4b6 feature(sysman): Add support for zesMemoryGetBandwidth API in BMG Linux
- Added implementation for getMemoryBandwidth() in BMG product file
- Additionally corrected Tempearature offsets for BMG OOBMSM rev 15

Related-to: NEO-11295

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-09-06 09:34:28 +02:00
Lukasz Jobczyk a54a3bf624 performance: Optimize heap handling when mitigate dc flush
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-09-06 04:33:41 +02:00
Artur Harasimiuk 915ff42566 ci: lint revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-05 18:41:12 +02:00
Artur Harasimiuk e4d1a32fa3 ci: update commit classification data
Related-To: NEO-6527
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-05 18:24:01 +02:00
Jemale Lockett efeee0018f fix: Set debugger supported on arl
Resolves: NEO-12136

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-09-05 18:23:47 +02:00
Artur Harasimiuk e87acab116 ci: update lint config
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-05 17:43:21 +02:00
Artur Harasimiuk 9c06150b15 ci: reviewers config update for folder .github
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-05 17:11:43 +02:00
Kamil Kopryk 95b035a071 fix: global stateless heap creation in heapless path
Related-To: NEO-10681
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-05 16:56:00 +02:00
Mateusz Jablonski b2004979ce build: handle loader header location
in git repo it is in include/loader
in devel/sdk package it is in include/level_zero/loader

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-05 16:24:41 +02:00
Andrzej Koska b0e7a11e9a refactor: Improving information transfer about the copy engine
Related-To: NEO-11934

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-09-05 16:11:52 +02:00
Slawomir Milczarek bf5953c091 feature: Add ioctl helper function to set external context
Related-To: NEO-11817

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2024-09-05 15:21:26 +02:00
Artur Harasimiuk 41a89ac26f ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-05 14:07:33 +02:00
Szymon Morek 80ef56ef4a fix: Fix residency handling when out-of-memory occurs
Related-To: NEO-12434 , NEO-11755

When OOM was triggered from KMD then reiterate
over allocations again since allocations which
should be resident could be evicted during trim process.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-09-05 13:23:37 +02:00
Compute-Runtime-Validation a8be06b92e Revert "performance: enable indirect detection, xe hpg"
This reverts commit a7c4256e65.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-05 03:35:23 +02:00
Compute-Runtime-Validation d842f65cf1 Revert "fix: submit dummy exec to pin memory during zeContextMakeMemoryReside...
This reverts commit f9b87d53e6.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-05 03:28:03 +02:00
ocldev 19dd63ba1c build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-09-04 17:30:39 +02:00
Mateusz Jablonski 14fd9f3f24 fix: correct using L0 loader functions
use zelLoaderTranslateHandle for translating handle to internal handle
get pointer to zelSetDriverTeardown during global ctor
don't load loader library by name
get loader function pointers directly from current process

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-04 17:30:25 +02:00
Dominik Dabek a7c4256e65 performance: enable indirect detection, xe hpg
Enable for xe hpg and lpg.

Related-To: NEO-12491

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-09-04 16:57:54 +02:00
Artur Harasimiuk af367082f4 ci: update commit classification data
Related-To: NEO-6527
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-04 15:07:34 +02:00
Maciej Plewka f9b87d53e6 fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>

Related-To: NEO-11879
2024-09-04 14:07:29 +02:00
Mateusz Hoppe 32fb476f6d refactor: debugbreak in simulation on memcopy to multi bank allocation
- if allocation has multiple banks, memcpy cannot write different data
for multiple banks

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-04 12:27:20 +02:00
Tomasz Biernacik c5e174da00 refactor: remove queue extended methods and files
Related-To: NEO-12103

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2024-09-04 11:11:33 +02:00
Artur Harasimiuk 7984e23807 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-04 10:27:23 +02:00
Kamil Kopryk 06b9ebe57d test: correct expectations in opencl tests if heapless enabled 3/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-04 10:10:42 +02:00
Naklicki, Mateusz 2db6955296 performance: remove excessive ioctl call
Related-to: HSD-18039694684
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-09-04 10:07:56 +02:00
ocldev 8fab22f74b build: metrics-discovery revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-09-04 09:39:45 +02:00
Jitendra Sharma 1b54c8958f fix: allow debug when heapless mode without per context VMs
Related-To: NEO-11791
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-04 08:56:29 +02:00
Zbigniew Zdanowicz 11405af267 performance: use simple if operation instead of std max
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-09-04 08:31:13 +02:00
Compute-Runtime-Validation a4f68c57bb Revert "refactor: debugbreak in simulation on memcopy to multi bank allocation"
This reverts commit 1c51734642.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-04 05:48:55 +02:00
Mateusz Hoppe 1c51734642 refactor: debugbreak in simulation on memcopy to multi bank allocation
- if allocation has multiple banks, memcpy cannot write different data
for multiple banks

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-03 20:47:50 +02:00
ocldev 84409e4844 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-09-03 20:41:29 +02:00
Mateusz Jablonski 383d786f31 fix: correct including compiler product helper definition
inl file should be included only in enabler cpp files

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-03 20:20:39 +02:00
Compute-Runtime-Validation 99f62ac866 Revert "feature: support SVM heap in reserveVirtualMem"
This reverts commit 93cde3ee12.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-03 20:20:25 +02:00
Mateusz Hoppe 37b7caa137 fix: correct program header generation for shared isa allocation
- when kernels share single allocation, LOAD address in program headers
should point to correct virtual address including kernel offset

Related-To: NEO-7788, GSD-9836

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-03 17:50:29 +02:00
Mateusz Jablonski 43e3957e66 fix: add nullptr check in cache reservation API
in case of AUB/TBX mode there is no os interface

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-03 15:43:35 +02:00
Kamil Kopryk 6d7e2760dc refactor: correct expectations in level zero tests if heapless enabled 3/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-03 15:11:59 +02:00