Commit Graph

4888 Commits

Author SHA1 Message Date
Kamil Kopryk db703fd335 test: use walkerVariant in ults 4/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-26 15:40:59 +02:00
Kamil Kopryk 720bf5fc7c test: use walkerVariant in ults 3/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-26 13:53:01 +02:00
Mateusz Jablonski 0cdfa882eb fix: correct setting hw info in drm flow
firstly, setup hw info using product specific functions
secondly, query system info from GuC to setup max values
then, query memory info
then, query engine info as it depends on memory info
then, query topology as it depends on engine info

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-26 12:20:40 +02:00
Bartosz Dunajski ebcbbcf8fe fix: add missing api exports
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-26 12:15:28 +02:00
Mateusz Jablonski e24acc6155 fix: ensure memory info is queried before querying engine info
initialization of engine info relies on memory info data

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-26 09:28:50 +02:00
Compute-Runtime-Validation d3f4b5b280 Revert "fix: use stateless kernel when append memory fill on XeHpc and later"
This reverts commit e233cf5127.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-26 05:52:42 +02:00
Zbigniew Zdanowicz ff993feb74 feature: add skiping kernel internal allocations to cmdlist residency
Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-25 16:22:42 +02:00
Maciej Bielski 45f3767997 refactor: readability - start struct name with uppercase
Related-To: NEO-7849
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-25 11:47:38 +02:00
Kamil Kopryk 1e2eca16c7 test: use walkerVariant in ults 1/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-25 11:39:21 +02:00
Maciej Plewka 1cd00b5b89 fix: use per product cache line size to align heaps
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-07-24 17:29:20 +02:00
Kamil Kopryk e233cf5127 fix: use stateless kernel when append memory fill on XeHpc and later
Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-24 17:29:06 +02:00
Zbigniew Zdanowicz 42bf58a800 refactor: do not add all mapped physical allocations to kernel residency
Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-24 15:43:48 +02:00
Kamil Kopryk 8996c47664 refactor: correct typo
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-24 14:56:40 +02:00
Maciej Plewka afee8814ef refactor: get ioh alignment from static function
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-07-24 14:43:31 +02:00
Aleksander Czerwionka 1d3d3e9a79 fix: adjust indexes in zello bindless kernel to prevent out of bounds
Related-To: NEO-10534

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2024-07-24 14:28:35 +02:00
Kamil Kopryk e72d787d96 test: add new find all walkers method
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-24 12:17:42 +02:00
Maciej Bielski 2165154530 feature: add support for L3-cache reservation
Resolves: NEO-7849

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-24 10:10:28 +02:00
Kamil Kopryk c0b68db729 test: use findWalkerTypeCmd method
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-24 09:31:22 +02:00
Pratik Bari 0dacb78d78 refactor(sysman): Remove Pmt tile aggregator from Memory Module
The PMT tile aggregator used in the memory module has been replaced with
the wrapper functions which calls the functions from Pmt Util class.

Related-To: NEO-11992

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-07-24 08:47:17 +02:00
Wenbin Lu 357a607d22 refactor: correct the naming of some topology-related variables
Related-To: NEO-9489

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-07-24 08:39:12 +02:00
Kamil Kopryk 635f596599 refactor: add statelessBuiltinsEnabled bool to cmdlist
Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-23 17:24:44 +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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Brandon Yates 63478808a7 feature: implement new registers for debugger
Related-to: NEO-8396

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-15 09:44:46 +02:00
Fabian Zwoliński bc8d950105 fix: adjust tests to enabled global allocator 2/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-12 17:10:15 +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