Commit Graph

16602 Commits

Author SHA1 Message Date
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
Fabian Zwoliński
b89ede2063 fix: adjust tests to enabled global allocator 4/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-18 14:05:00 +02:00
Morek, Szymon
ed7fc9acc9 performance: use staging buffer as a pool
Related-To: NEO-11501

Currently whole staging buffer is consumed even if
size of the transfer is smaller than that buffer.
This commit changes that, so single staging buffer
might be utilized by several smaller transfers
as long as they don't exceed total size

Signed-off-by: Morek, Szymon <szymon.morek@intel.com>
2024-07-18 12:54:00 +02:00
Maciej Plewka
85e708819a fix: Add per product cache line size property
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-07-18 12:47:47 +02:00
Mateusz Jablonski
64acb65b08 fix: don't crash when getting pci path for non-render device
Related-To: NEO-11714
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-18 12:27:35 +02:00
Mateusz Jablonski
b6a56bcdde fix: correct number of slices based on GuC info
KMD exposes flat subslice info without indicating slice index
This commit calculates slice count based on total subslice count and
max subslice per slice count that we have from device blob

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-18 12:12:19 +02:00
Maciej Bielski
b8eabdd4ce feature: add support for cache reservation
Resolves: NEO-7849

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-18 12:08:58 +02:00
Lukasz Jobczyk
c0a92c87b7 fix: Override UC PAT to cacheable for shared images on LNL
Temporary WA for UC PAT index in GMM from shared image
Add flag to control WA

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-18 12:08:42 +02:00
Filip Hazubski
46f9133bf2 fix: Correct logic to select internal BCS engine
When BCS3 is not available, use last available copy engine as internal.

Related-To: HSD-18039263936

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-07-18 12:02:50 +02:00
Compute-Runtime-Validation
d7777ef163 Revert "refactor: remove redundant querying topology info"
This reverts commit 9aa7ad0fd7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-18 03:40:49 +02:00
Dominik Dabek
4fa6711025 performance(ocl): change device usm recycle to 8%
Increase threshold of device usm allocation recycling to 8% of device
memory.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-07-17 19:50:46 +02:00
Dominik Dabek
c1c9ac634b performance(ocl): enable host usm alloc recycle
Enable at threshold of 2% system memory.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-07-17 19:33:56 +02:00
ocldev
e9ba7479d6 build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-17 18:18:40 +02:00
Mateusz Jablonski
8a60742a8d fix: correct reported num subslices per slice in fused config
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-17 17:17:28 +02:00
Mateusz Jablonski
55907c853b fix: limit EU count based on subslice count and info from GuC
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-17 16:40:20 +02:00
Brandon Yates
50fcb45038 feature: Disable per context VMs with debugger in heapless mode
Related-to: NEO-11791

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-17 16:22:24 +02:00
Kamil Kopryk
ac00ca60f7 test: introduce method for testing variant of walkers
This commit adds a pattern that removes the strong dependency
on the compile-time DefaultWalkerType typename in generic unit tests.

Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-17 16:14:35 +02:00
Katarzyna Cencelewska
2d1f4e6214 fix: use WB for cpu caching only if system memory
affect xe kmd only

Related-To: NEO-11690
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-07-17 15:35:08 +02:00
Mateusz Jablonski
48d6788b3a fix: add fallback for missing eu count in topology
for xe kmd there will be new query for EU per DSS for PVC, LNL, BMG platforms
when new query is available, previous one (currently used in NEO) will be empty
To avoid integration issues this commit adds fallback to setup that value based
on max eu per dss that we get from GuC in device blob

Support for new query is in PR https://github.com/intel/compute-runtime/pull/745

Related-To: NEO-12012
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-17 14:31:29 +02:00
Mateusz Jablonski
55404fd888 refactor: move linux kernel headers to separate folders per source
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-17 11:07:34 +02:00
Mateusz Jablonski
1d7ce005d7 refactor: extract common logic from wddm and drm product helpers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-17 11:03:02 +02:00
Brandon Yates
e59fc42cbe test: Add drm tests for memory and engine query
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-17 07:57:01 +02:00
Brandon Yates
3c51cea04a test: Add test for xe debug user fence wait
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-17 07:40:35 +02:00
Mateusz Jablonski
9aa7ad0fd7 refactor: remove redundant querying topology info
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-17 07:34:27 +02:00
ocldev
5e5ea96899 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-17 05:42:01 +02:00
Compute-Runtime-Validation
e3053121cb Revert "refactor: extract common logic from wddm and drm product helpers"
This reverts commit 585caab757.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-17 04:53:28 +02:00
Fabian Zwoliński
1a6a4c39e4 feature: enable bindless mode in L0 on MTL
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-16 18:33:32 +02:00
Compute-Runtime-Validation
8f2f2136d2 Revert "fix: Make debug area resident for subdevices"
This reverts commit 7c42c255b9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-16 18:28:45 +02:00
Fabian Zwoliński
cbb112ef6d fix: adjust tests to enabled global allocator 3/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-16 17:46:02 +02:00
ocldev
7209af3f73 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-16 16:17:03 +02:00
Szymon Morek
b03ac6abd1 fix: disable usm compression on linux
Related-To: NEO-12047

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-16 14:59:33 +02:00
Grzegorz Choinski
09b41d8146 ci: infra revision update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2024-07-16 13:56:53 +02:00