Commit Graph

5879 Commits

Author SHA1 Message Date
Lukasz Jobczyk
332340b02b refactor: Prework for release fence removal leaving acquire fence
Related-To: NEO-14642

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-30 12:01:28 +02:00
Jemale Lockett
33ca1169d0 feature: Add support for new Windows KMD APIs
Related-To: NEO-13743

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-05-30 07:52:52 +02:00
Krzysztof Sprzaczkowski
b0db130df8 fix: Add coverage for all memory types in L0 API
Related-To: NEO-12807
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-05-29 17:35:50 +02:00
Katarzyna Cencelewska
e357e7e404 fix: correct limitation for num threads per thread group
taking into account the max work group limit
when simd1 don't use the same limitation as for simd32

Resolves: NEO-14922
Related-To: NEO-11881
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-05-29 16:34:40 +02:00
Dominik Dabek
ad4d7a2ce8 fix: l0 usm pooling, ipc handling
Move getting usm pool for ptr to its own method.
Move trying to free via pooling to its own method.

Use base ptr of pool for tracking in IPCHandleMap.
Track ipc handle refcount in freeMem.
Return error when trying to use a not allocated ptr within pool.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-05-29 16:07:19 +02:00
Bartosz Dunajski
cdc725e0fe fix: flush split task count
Related-To: NEO-14641

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-29 11:30:38 +02:00
Szymon Morek
0c605f2da1 performance: remove cache flush after transfers
Related-To: NEO-15024

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-29 11:06:37 +02:00
Young Jin Yoon
2773bd8ec0 fix: estimate blitter commands for memory fill
Added getNumberOfBlitsForColorFill, getNumberofBlitsForByteFill,
and getNumberOfBlitsForFill in BlitCommandsHelper to estimate
total number of blitter command generated for
dispatchBlitMemoryColorFill, dispatchBlitMemoryByteFill, and
dispatchBlitMemoryFill, respectively.

Use getNumberOfBlitsForColorFill to determine whether
additionalTimestampNode is required for appendMemoryBlitFill.

Related-To: NEO-13003
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2025-05-29 00:21:35 +02:00
Vishnu Khanth
f2df772552 fix(sysman): Update fimrware handles discovery using igsc
Related-To: NEO-14891

Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
2025-05-28 21:01:29 +02:00
Dominik Dabek
cdb088b477 fix: bindless image from usm pooled ptr
Add handling for creating bindless image from usm pooled ptr.
Make relevant ULTs test USM device pool enabled/disabled.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-05-28 15:38:07 +02:00
Szymon Morek
ce1bcb536c performance: don't reprogram SBA when not needed
Related-To: NEO-15024

When defer to pat is enabled, all mocs are
set to 0, so no check for uncached mocs is needed

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-28 15:13:34 +02:00
Szymon Morek
556c0b64c6 performance: use RESOURCE_BARRIER as stalling barrier
Related-To: NEO-14943

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-28 12:30:01 +02:00
Maciej Plewka
e6f3ebce5d fix: add pc with stall before barrier with post sync on bmg
Related-To: NEO-14491
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-05-28 09:24:21 +02:00
Kamil Kopryk
b7681a2e7b refactor: redirect flush L3 host usm to external by default
Related-To: NEO-13163

Rename ForceL3FlushAfterPostSync to EnableL3FlushAfterPostSync
Rename DisableFlushL3ForHostUsm to RedirectFlushL3HostUsmToExternal

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-05-28 08:50:01 +02:00
Kindracki, Jakub Tomasz
d0234c0bef test: Remove resetCommandStreamReceiver from tests
Related-To: NEO-3927
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-05-27 23:58:44 +02:00
Cabral, Matias A
9831931722 refactor: correct names in calcop creation
Resolves: NEO-14512

Signed-off-by: Cabral, Matias A <matias.a.cabral@intel.com>
2025-05-27 18:40:00 +02:00
Bartosz Dunajski
9c19e9eb96 fix: enable single temporary allocations list mode 2
Related-To: NEO-14641

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-27 17:35:17 +02:00
Lukasz Jobczyk
0306b77297 performance: Always allocate l0 events in LMEM on Xe2
Resolves: NEO-13422

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-27 10:39:26 +02:00
Anvesh Bakwad
ec7956c013 feature(sysman): Add rev 3 punit PMT support for BMG Linux
Related-To: NEO-14989

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-05-27 08:56:17 +02:00
Young Jin Yoon
c46227d72c test: fix in-order ULTs for additional blit properties
Modified some of ULTs for in-order command list and copy offload
tests to make them work when useAdditionalBlitProperties is set
to true

Related-To: NEO-13003
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2025-05-23 18:25:40 +02:00
Mateusz Hoppe
c4bfe4e487 feature(zebin): add implicit_arg_buffer_used_by_code exec env support
Resolves: NEO-14667

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-05-23 17:11:14 +02:00
Bartosz Dunajski
542f47dfe6 refactor: pass extra param to isDefaultCmdListWithCopyOffloadSupported
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-23 16:57:58 +02:00
Bartosz Dunajski
6cb07b9d1c refactor: remove not needed code
Related-To: NEO-7067

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-23 15:58:06 +02:00
Mateusz Jablonski
98bf872fdd fix: return error when cannot obtain debug surface size
remove default max debug surface size
check state save area size only for debug scenarios
reduce state save area size in unit tests - rely on values from mock

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-23 14:48:08 +02:00
Bartosz Dunajski
efbf505744 refactor: pass additional flag to getDefaultCopyOffloadMode method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-23 14:26:29 +02:00
Bartosz Dunajski
46a5c266b7 feature: copy offload signaling depends on useAdditionalBlitProperties
Related-To: NEO-7067

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-23 13:19:45 +02:00
Lukasz Jobczyk
86e7d5b276 performance: Skip fence after PC when no post sync write
Related-To: NEO-14642

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-23 10:33:28 +02:00
Mateusz Hoppe
0d57dcfdf0 feature: add L0 API querying priority levels - zeDeviceGetPriorityLevels()
Related-To: NEO-14572

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-05-23 09:24:16 +02:00
Compute-Runtime-Validation
593c9e76f2 Revert "fix: correct limitation for num threads per thread group"
This reverts commit 6ad4ad41b1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-23 02:51:17 +02:00
shubham kumar
a61181f1f9 fix: use correct mask to extract IP in EUSS for all cores
Related-To: NEO-14920

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-05-22 23:37:18 +02:00
Arek G
db84fc713c performance: Disable ULLS if Power Hints are set to 100 (max)
Related-To: NEO-14763, HSD-16026432518

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
2025-05-22 16:57:17 +02:00
Chodor, Jaroslaw
a97563bf48 feature: Adding mechanism for overriding exposed device IP version
Related-To: GSD-10248

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-05-22 11:59:26 +02:00
Pratik Bari
90da066972 feature(sysman): Changes in the VF Management w.r.t Xe driver
- The Support for VF Engine Utilization has been added.
- The call to zesVFManagementGetVFCapabilitiesExp2
returns a valid error in case of failure.

Related-To: NEO-13442

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-05-22 08:59:25 +02:00
Katarzyna Cencelewska
6ad4ad41b1 fix: correct limitation for num threads per thread group
taking into account the max work group limit

Resolves: NEO-14922
Related-To: NEO-11881
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-05-22 00:06:21 +02:00
Bartosz Dunajski
91940d2a79 fix: initial support for single temporary allocations list
Related-To: NEO-14641

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-21 13:16:15 +02:00
Jakub Nowacki
4ca596c535 fix: add missing extension ults
Related-To: NEO-9988

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-05-20 16:03:18 +02:00
Mateusz Hoppe
b01ab1176d fix: store kernel in cmdlist when printf buffer is created
Resolves: NEO-14993

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-05-20 14:15:32 +02:00
Maciej Bielski
0f8ee57f98 feature: add NEO_LOCAL_MEMORY_ALLOCATION_MODE
Allow the application to force storageInfo.localOnly and get the
out-of-memory returned if not possible.

This is a windows-only feature supported on discrete platforms.

Related-To: NEO-13428
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-05-20 14:15:17 +02:00
Kamil Kopryk
4a98d513fb test: adjust l3 flush after post sync logic
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-05-20 12:18:46 +02:00
Mateusz Jablonski
b8805fa1ae build: remove invalid argument for add_custom_command command
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-19 14:43:07 +02:00
Bartosz Dunajski
7f7aa36c52 feature: allow enabling copy offload on default cmd list
Related-To: NEO-7067

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-19 13:28:46 +02:00
John Falkowski
468c62086e refactor: Gate shared system mem caps with KMD cap
If KMD not capable then set sharedSystemAllocCapabilities=0

Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-05-19 11:08:19 +02:00
Compute-Runtime-Validation
cab148a57c Revert "fix: return correct memory values for integrated platforms"
This reverts commit 766da0f4ad.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-17 07:24:36 +02:00
Compute-Runtime-Validation
8839d62c79 Revert "performance: use RESOURCE_BARRIER as stalling barrier"
This reverts commit 2a63853349.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-16 20:19:06 +02:00
Joshua Santosh Ranjan
3db2183810 feature: support metrics runtime disabling
This feature disallows metric group activation
if disabled

Related-To: NEO-14310

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-05-16 18:56:00 +02:00
Szymon Morek
2a63853349 performance: use RESOURCE_BARRIER as stalling barrier
Related-To: NEO-14943

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-16 14:12:18 +02:00
Shreyas Kunder
766da0f4ad fix: return correct memory values for integrated platforms
Related-To: NEO-14198

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-05-16 13:40:01 +02:00
Piotr Rozenfeld
8182671124 ci: update config files
Add reviewer ashwin.kumar.kulkarni@intel.com to level_zero/sysman config
Add reviewer ashwin.kumar.kulkarni@intel.com to level_zero/tools config

Signed-off-by: Piotr Rozenfeld <piotr.rozenfeld@intel.com>
2025-05-16 13:14:31 +02:00
Mateusz Jablonski
00620f07c0 test: use HWTEST_F instead of HWTEST2_F with MatchAny param
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-16 11:00:45 +02:00
Aravind Gopalakrishnan
4f77a581b9 refactor: Remove not necessary code
Related-To: NEO-13003

- remove additionalPacketsInUse as getPacketsUsed is sufficient
- simplify clearTimestampTagData to pass node to clear

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-05-16 02:52:26 +02:00