Commit Graph

5675 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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 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
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
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
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
Michal Mrozek 61e08ef4ff performance: add debug flag to allow non zero for compressed
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-16 12:46:10 +02:00
Mateusz Jablonski 585caab757 refactor: extract common logic from wddm and drm product helpers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-16 11:17:18 +02:00
Szymon Morek 432ecbc8f4 fix: disable compression for exported allocations
Related-To: NEO-12021

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-16 05:41:14 +02:00
Mateusz Jablonski 80afda1ac9 refactor: extract common logic of setting kmd notify properties
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-15 17:58:34 +02:00
Mateusz Jablonski a2fb4da91d fix: correct fallback path when creating topology map in Wddm
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-15 16:52:47 +02:00
Mateusz Jablonski 789a008470 fix: setup proper preemption surface size when forcing builtin SIP
when getting SIP kernel from IGC, setup related surface size based on IGC data

Related-To: NEO-8188
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-15 15:56:24 +02:00
Kozlowski, Marek bd8fc07bb7 fix: Replace printf with current logging practice
* add missing stdout flush

Signed-off-by: Kozlowski, Marek <marek.kozlowski@intel.com>
2024-07-15 14:22:04 +02:00
Compute-Runtime-Validation 9a6403f3bc Revert "refactor: Add dc flush mitigation infrastructure"
This reverts commit d6076941a8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-15 11:47:30 +02:00
Szymon Morek 09cbbc2625 fix: don't evict always resident allocations
Related-To: NEO-12008

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-15 11:39:00 +02:00
Mateusz Jablonski 64f2312aa0 refactor: setup engine capabilities in drm specifc code
once drm specific code queries engine info, caps are stored in drm-agnostic form

Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-15 11:00:15 +02:00
Joshua Santosh Ranjan 2e5bf8d24d fix: remove perf open from the initialization path
Related-To: NEO-11975

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-07-15 10:17:53 +02:00
Jemale Lockett 7c42c255b9 fix: Make debug area resident for subdevices
Resolves: NEO-9455

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-07-15 09:12:33 +02:00
shubham kumar e78c8edcf3 refactor: prework for adding eu stall support on windows
Related-To: NEO-9492

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-07-12 16:27:24 +02:00
Lukasz Jobczyk d6076941a8 refactor: Add dc flush mitigation infrastructure
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-12 14:45:51 +02:00
Compute-Runtime-Validation 1929e54e91 Revert "feature: temporarily enable scratch page on pvc"
This reverts commit e3b97e3716.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-12 09:55:25 +02:00
Fabian Zwoliński d469d551fb feature: enable bindless mode in L0 on dg2
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-11 17:33:10 +02:00
Mateusz Jablonski 3f65f75cc3 refactor: unify EngineInfo ctors
remove redundant constructor
create helper struct for numbers of engines
adjust test scopes

Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-11 17:08:15 +02:00
Lukasz Jobczyk 7657498c53 fix: Override UC PAT to cacheable for shared images on BMG
Temporary WA for UC PAT index in GMM from shared image

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-11 14:45:32 +02:00
Mateusz Hoppe 0d5d960e30 refactor: use releaseHelper when checking global allocator enabled
Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-11 13:50:13 +02:00
Brandon Yates df5588a633 feature: Allocate fifo for debugger
Related-to: NEO-7980

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-11 11:11:41 +02:00
Michal Mrozek 05eb4e7a0d performance: add debug flag to disable l1 flush
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-11 10:09:46 +02:00