Commit Graph

16633 Commits

Author SHA1 Message Date
Compute-Runtime-Validation
2116808b8d Revert "fix: correct number of slices based on GuC info"
This reverts commit b6a56bcdde.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-23 17:22:31 +02:00
Zbigniew Zdanowicz
1c1e437d4b refactor: split kernel residency into internal and argument containers
Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-23 17:22:16 +02:00
Compute-Runtime-Validation
ae68df3832 Revert "fix: unblock xekmd recoverable pagefaults vmbind"
This reverts commit 8f4472a26c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-23 16:48:15 +02:00
Dominik Dabek
9b3ccf73b7 refactor: host usm recycle
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-07-23 16:20:21 +02:00
Fabian Zwoliński
e65451e582 fix: adjust tests to enabled global allocator 6/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-23 15:54:35 +02:00
Bartosz Dunajski
18c4f0b54f fix: dont reset cpu ptr in tbx mode during virtual map
Related-To: HSD-18038484849

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-23 15:32:05 +02:00
Mateusz Hoppe
8a7923c6ee fix: allow fork() after zeInit()
- do not release resources derived from parent process
- zeInit() in child should initilize new driver

Related-To: NEO-11761

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-23 15:31:50 +02:00
Kamil Kopryk
bdb60afa2b refactor: remove not needed function
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-23 15:01:14 +02:00
Bartosz Dunajski
c3312f21f7 feature: dont initialize in-order TS nodes
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-23 13:31:23 +02:00
Naklicki, Mateusz
8f4472a26c fix: unblock xekmd recoverable pagefaults vmbind
Related-To: HSD-13011898606
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-07-23 12:00:25 +02:00
Jack Myers
020cbf6116 fix: correct stype enum value for queue copy offload hint
When collating stype enum values,
ZEX_INTEL_STRUCTURE_TYPE_QUEUE_COPY_OPERATIONS_OFFLOAD_HINT_EXP_PROPERTIES
was incorrectly set. This corrects the definition statement to
match the original value before collating.

Related-To: NEO-11754
Signed-off-by: Jack Myers <jack.myers@intel.com>
2024-07-23 09:59:16 +02:00
Mateusz Hoppe
0800ab54f5 refactor: remove redundant getPid()
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-22 22:51:47 +02:00
Mateusz Jablonski
899bda3263 fix: use stateless copy kernel when append memory copy on PVC and Xe2 platforms
Related-To: NEO-6075
Resolves: NEO-12027


Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-22 22:51:32 +02:00
Zbigniew Zdanowicz
f61ab615e7 refactor: do not add bindless heaps to kernel residency
Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-22 22:44:30 +02:00
Szymon Morek
a7fbc90ebd fix: re-enable staging buffer copy when ccs is busy
Related-To: NEO-11501

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-22 18:14:46 +02:00
Mateusz Jablonski
720108a12e test: don't compile test exclude when test is not compiled
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-22 16:14:10 +02:00
Szymon Morek
0e6729062a performance: enable compression on shared USM
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-22 15:36:37 +02:00
Szymon Morek
39ec7facee performance: use BCS for transfers if CCS is busy
Related-To: NEO-11501

Also, if device is iGPU, don't use staging buffers
in that case.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-22 15:36:26 +02:00
Kamil Kopryk
17380dcbf3 test: use find walker type function
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-22 15:36:12 +02:00
ocldev
8ceddb45fb build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-22 12:45:36 +02:00
Bartosz Dunajski
df846fc992 refactor: remove not used helper method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-22 12:27:29 +02:00
Elaine, Wang
28fa434541 feature: support pci path contains card0
Some OpenCL application need to render libva surface
with drm display and use the same libva surface as
OpenCL kernel output. Such applicatoins need to
use /dev/dri/card0 instead of /dev/dri/renderD128
for getting the display fd.

Related-To: NEO-11714

Signed-off-by: Elaine, Wang <elaine.wang@intel.com>
2024-07-22 11:28:18 +02:00
Young Jin Yoon
c01a5c45c7 fix: wait on userfence when VM immediate is used
Removed if condition when calling vm_bind in order to
reflect changed in KMD.
Specifically, dii-4347 to dii-4349 include changes on
strict fence ordering on vm_bind, where user fence has
to be inserted regardless of using pagefault or explicit
residency.

Related-To: NEO-11966
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-07-22 10:52:00 +02:00
ocldev
4f3201b2ce build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-22 10:51:45 +02:00
Kamil Kopryk
b984510228 test: add additional check if npstates are expected
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-22 10:51:29 +02:00
Bartosz Dunajski
3758e99cbf feature: initial support for standalone CB Events Timestamps allocator
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-22 10:13:55 +02:00
Brandon Yates
4513e42ddb build: Update to latest eudebug xe uapi
Remove implementation of some unused and removed
uapis

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-22 10:01:44 +02:00
Filip Hazubski
8b99cbe48b refactor: Add getProductConfigFromHwInfoAdditionalArl helper function
Move ARL device IDs to a separate file.

Explicitly define XE_LPG platform in cmake.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-07-22 09:49:42 +02:00
ocldev
401a83d98e build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-20 14:53:00 +02:00
Jack Myers
9dba608932 refactor: collate ze_structure_type_t macros
Collated all ze_structure_type_t `#define`
macros into a single header. By doing so,
all hex values associated with L0 extensions
are in one file. The two new headers are
included in the API headers shared among
extension implementations, making the
in-use hex values and types easy to find
for extension developers.

Related-To: NEO-11754
Signed-off-by: Jack Myers <jack.myers@intel.com>
2024-07-19 23:17:42 +02:00
Compute-Runtime-Validation
9625f88d02 Revert "feature: add support for cache reservation"
This reverts commit b8eabdd4ce.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-19 20:58:43 +02:00
Dominik Dabek
a479afdbc8 performance: device usm sets localOnlyRequired
Device USM allocations should not be allowed to migrate to host memory

Related-To: NEO-11843

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-07-19 18:58:02 +02:00
Fabian Zwoliński
9128635311 fix: adjust tests to enabled global allocator 5/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-19 14:08:56 +02:00
Szymon Morek
6a11e8a077 fix: revert changes around zero-copy
Related-To: NEO-12018

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-19 12:29:18 +02:00
Mateusz Hoppe
b6299b8a21 feature: add support for HP copy engine context
- add support for contect group with HP copy engine
- choose HP copy engine when available

Related-To: NEO-11983

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-19 12:23:03 +02:00
Bartosz Dunajski
4fc37f9afd fix: set correct initial DirectSubmission fence value
Related-To: HSD-18039278676

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-19 09:52:17 +02:00
Falkowski, John
85c8c09990 fix: correct latestSentTaskCount in flushBcsTask
Resolves: NEO-12075

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-07-19 09:43:31 +02:00
Filip Hazubski
f8867ac3ac fix: Minor code improvements
Add explicit pointer checks to CommandQueue::blitEnqueueAllowed.

Explicitly check result of getDeviceArgValueIdx during ocloc compile.

Explicitly remove unused StagingBufferManager functions.
Move chunkCopyFunc by reference.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-07-19 09:24:37 +02:00
ocldev
eecf34cbc2 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-19 05:46:27 +02:00
Compute-Runtime-Validation
0cb2a22c55 Revert "fix: correct number of slice count in configureHwInfoDrm"
This reverts commit b597f47a70.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-19 04:35:03 +02:00
Compute-Runtime-Validation
7ad15639fc Revert "feature: add support for HP copy engine context"
This reverts commit 3fbcbcaef2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-18 21:02:14 +02:00
Szymon Morek
33ab962121 fix: adjust compression hint usage for ocl buffers
Related-To: NEO-11989

Also, use zero-copy on lnl

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-18 18:24:48 +02:00
Mateusz Jablonski
b597f47a70 fix: correct number of slice count in configureHwInfoDrm
adjust slice count to proper value based on previously calculated
max slices and max subslice counts

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-18 16:54:51 +02:00
ocldev
a06cb54737 build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-18 16:14:40 +02:00
Michal Mrozek
20d6910b66 performance: move usm pool init to first alloc call
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-18 16:07:22 +02:00
Mateusz Hoppe
3fbcbcaef2 feature: add support for HP copy engine context
- add support for contect group with HP copy engine
- choose HP copy engine when available

Related-To: NEO-11983

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-18 16:07:07 +02:00
Grzegorz Choinski
ce6e7f63af ci: infra revision update
Related-To: NEO-10748
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2024-07-18 15:39:59 +02:00
Grzegorz Choinski
46f2568902 build: fixes for windows clang with -m32
Related-To: NEO-10748
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2024-07-18 14:49:56 +02:00
Kamil Kopryk
4008ccea05 fix: add scratch ptr in implicit args patching for L0 regular cmdlists
Related-To: NEO-11874
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-18 14:07:07 +02:00
Katarzyna Cencelewska
153cda9a9f feature: add debug flag to force gmm system memory resource type
Related-To: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-07-18 14:05:16 +02:00