Commit Graph

16792 Commits

Author SHA1 Message Date
Bartosz Dunajski
c42d0fbe49 refactor: improve xe mock engine testing
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-08 12:37:31 +02:00
Maciej Bielski
e434c5595f feature: get HW IP version from drm_xe_gt
Make use of `drm_xe_gt` members to determine HW IP version when running
with XeKMD. Fall back to current values when the respective ioctl call
does not provide relevant information.

Related-To: NEO-10773

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-08-08 12:06:54 +02:00
shubham kumar
27d378473a feature(sysman): Support for latest pmt ocode offsets in windows
Related-To: NEO-12035

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-08 11:44:47 +02:00
Mateusz Hoppe
4c172a406d fix: correct maxOsContextCount with multiple subdevices and context group
Related-To: NEO-12257

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-08 11:04:36 +02:00
Bartosz Dunajski
bca8478bd4 feature: use iotclhelper to get num media engines
Related-To: NEO-9777

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-08 09:36:28 +02:00
Kamil Kopryk
8210997f17 refactor: move csrBaseAddress cmdCast to separate file
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-08 08:32:53 +02:00
Filip Hazubski
22a382b7a2 test: Minor test fixes related to alignment
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-08 08:26:12 +02:00
Bartosz Dunajski
a04cf31110 refactor: improve engine query
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-07 18:22:26 +02:00
Compute-Runtime-Validation
ce0cbc2dca Revert "ci: infra revision update"
This reverts commit 1128f3d808.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-07 17:11:53 +02:00
Szymon Morek
556a116987 fix: make paging fence address volatile
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-08-07 15:09:34 +02:00
Artur Harasimiuk
1128f3d808 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-07 15:02:09 +02:00
Dominik Dabek
ad229377b9 fix: disable indirect detection if any stack calls
Don't know if kernels will be initialized in the order needed to check
for indirect accesses in stack calls.

Remove now unused functionPointerWithIndirectAccessExists and reading
this value from zebin.

Related-To: NEO-12235

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-07 14:48:58 +02:00
Jitendra Sharma
1fa06df956 build: Update to latest eudebug xe uapi
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-08-07 14:38:27 +02:00
Szymon Morek
d7d6996464 performance: initialize timeout params once
Currently this is done per each enqueue
which is not really needed

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-08-07 14:35:12 +02:00
Bartosz Dunajski
7fc7fbfc47 refactor: improve ulls prints
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-07 14:18:04 +02:00
Szymon Morek
0d6c506c0b performance: enable wait on paging fence on semaphore
Related-To: NEO-12197

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-08-07 10:20:03 +02:00
Kamil Kopryk
38a194eee6 fix: scratch address from implicit args in ocl
Related-To: NEO-12237
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-07 09:40:27 +02:00
Szymon Morek
d4c1631ac7 performance: don't wait for paging fence on user thread
Related-To: NEO-12197

Currently for new resources user thread must wait before submitting
actual workload. With this commit, instead of waiting on user thread,
request is sent to background ULLS controller thread and additional
semaphore is programmed. ULLS controller will perform actual wait
and signal semaphore when paging fence reaches required value.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-08-07 08:30:51 +02:00
Artur Harasimiuk
d071fd7e9a ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-06 16:03:57 +02:00
Bartosz Dunajski
24cfd203ab fix: dont download tbx allocations on heapless first device submission
Related-To: HSD-18039476929

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-06 14:03:42 +02:00
Michal Mrozek
d52ca080bd Revert "performance: improve pool handling"
This reverts commit a3c3b6533a.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-08-06 13:04:02 +02:00
Artur Harasimiuk
57e7147e7c build: update ocloc_lib installation path for runtime
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-06 12:41:26 +02:00
Filip Hazubski
f4f6bc799e fix: Move Event resource cleanup do destroy function
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-06 11:39:53 +02:00
Kamil Kopryk
d3541a8149 fix: don't abort in clearCommandsToPatch with CwImplicitArgsScratch
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>

Related-To: NEO-11874
Related-To: HSD-18039321798
Related-To: HSD-18039443985
Related-To: HSD-18039321794
2024-08-06 08:59:03 +02:00
shubham kumar
0002eb3fcc feature: adding eu stall support on windows
Related-To: NEO-12174


Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-06 06:47:11 +02:00
Kamil Kopryk
2a9bcdeb83 refactor: pass outImplicitArgs to patchImplicitArgs function
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-05 17:31:47 +02:00
Fabian Zwoliński
fdf7b98502 fix: adjust tests to enabled global allocator 7/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-08-05 17:31:33 +02:00
Zbigniew Zdanowicz
5f2646daa6 feature: add external required scratch space
Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-08-05 16:12:42 +02:00
Fabian Zwoliński
674c4a15ad fix: use correct gpu address when bindless heaps helper is enabled
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-08-05 15:09:57 +02:00
Dominik Dabek
619b47e3d5 fix: disable usm host alloc recycle pre xe-hpg
Related-To: NEO-12182, NEO-12207

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-05 14:50:02 +02:00
Oskar Hubert Weber
3ccab79ed8 test: dir create
Related-To: NEO-11500

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2024-08-05 13:58:25 +02:00
Artur Harasimiuk
56300f8761 ci: infra revision update
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-05 13:11:05 +02:00
Zbigniew Zdanowicz
ae022c1113 feature: add kernel command view flag at command list level
Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-08-05 12:58:35 +02:00
Dominik Dabek
e9e6cc05e3 fix: mem alloc size tracking safety
Make sure local mem alloc size atomic array is initialized with 0.
Add debug breaks to catch possible overflow on unregistering
allocations.

Related-To: NEO-11356

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-05 11:51:17 +02:00
Pawel Cieslak
a1a13475c7 ci: infra revision update
Related-To: NEO-9249

Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2024-08-05 10:06:46 +02:00
ocldev
f59ec349c1 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-08-05 06:58:34 +02:00
Filip Hazubski
db50903051 refactor: correct typo
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-04 21:12:09 +02:00
Dominik Dabek
26428d5af3 feature: track used memory by allocations
Track memory used by memory allocations. System and local per device.
Will be used for heuristics in memory pooling.

Related-To: NEO-11356

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-02 17:54:34 +02:00
Bartosz Dunajski
6103ab1dae fix: dont set needsFlush for Copy operation if its not programmed
Related-To: HSD-18039452525

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-02 17:54:19 +02:00
Kamil Kopryk
52126153fd test: disable heapless in inappropriate ults 5/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-02 15:58:09 +02:00
Mateusz Jablonski
5a339aeb2c test: define mock drm xe in cpp file
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-02 14:36:16 +02:00
ocldev
c99db0458c build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-08-02 14:21:39 +02:00
Compute-Runtime-Validation
e27efd701f Revert "fix: correct calculating max subslice space"
This reverts commit 67f2500c03.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-02 12:28:13 +02:00
Joshua Santosh Ranjan
43b81637df fix: correctly handle error return paths in getConcurrentMetricGroups
fix the size used to copy concurrent groups

Related-To: NEO-11382


Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-08-02 11:02:12 +02:00
shubham kumar
a2fdc3d3f5 feature: pmt based telemetry support on windows
Related-To: NEO-12119


Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-02 10:12:26 +02:00
Bartosz Dunajski
ec34656e0e fix: debug flag to defer first device submission
Related-To: HSD-18039343751

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-02 09:31:25 +02:00
Filip Hazubski
99d9482464 performance: Avoid data copy during SupportedDevicesHelper::deserialize
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-01 17:26:26 +02:00
Mateusz Jablonski
67f2500c03 fix: correct calculating max subslice space
computeMaxNeededSubSliceSpace is no longer needed as getHighestEnabledSubSlice
already determines maximum index from all enabled subslices

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-01 16:38:24 +02:00
Kamil Kopryk
27ba5f5089 refactor: move duplicated code to xeHpc and later
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-01 16:21:25 +02:00
Mateusz Jablonski
07a11e640f refactor: include xe header in dedicated namespace
avoid redefinition issue in case of integrating multiple xe drm versions

define mock drm xe in inl file to provide xe definitions for mock members

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-01 14:38:20 +02:00