Commit Graph

16498 Commits

Author SHA1 Message Date
Szymon Morek
dbd96372be performance: adjust staging buffer usage
Related-To: NEO-11928

Don't copy through staging buffer if dst usm allocation
was not used before and transfer would be splitted.
Also, don't use staging buffers for mapped ocl buffers.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-10 10:19:18 +02:00
Joshua Santosh Ranjan
99e8cb7b70 test: update zello_metrics for programmable apis
Related-To: NEO-11847

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-07-10 08:54:01 +02:00
Maciej Bielski
005b273b1e test: stop abusing ctors in DrmMockCustom and derived types
Calling virtual functions from within constructors is incorrect, the
virtualization mechanism does not work until a constructor completes.
So, instead of performing many operations in constructors, make them
small and use static `create()` methods to construct the object properly
and only then perform additional setup.

Mocks are a prominent example how such practice degrades the code.
A function called from a constructor is basically unmockable. Despite
being overriden by derived type (to alter the execution path as per
needs of a given test-case) the parent versions are always called.

This was making test development more and more painful as at some point
there is no hack to compensate for the lack of standard mechanism.

Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-10 08:34:09 +02:00
Ezhilsivam Shanmugam
ae49a4f1fd fix: Implemented Get Fan Config to retrieve Default Fan Table
Related-To: NEO-11667

Signed-off-by: Ezhilsivam Shanmugam <ezhilsivam.shanmugam@intel.com>
2024-07-10 08:14:58 +02:00
Michal Mrozek
4cabc9e4d2 performance: remove not needed code.
events are already created with queued state.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-10 07:35:05 +02:00
ocldev
3ec5c6d9be build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-10 05:38:49 +02:00
ocldev
2f6877156c build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-09 23:30:26 +02:00
Mateusz Hoppe
14a1bbfe12 feature: allow dynamic count of HP contexts in context group
- HP contexts may use up to half contexts in group

Related-To: NEO-7824

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-09 20:41:38 +02:00
Mateusz Jablonski
5d09dd8273 test: optimize test excludes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 19:30:12 +02:00
Dominik Dabek
bf7d99847f refactor: split pool helper methods
should be enabled on xe hpg and disabled on xe hpc

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-07-09 17:07:25 +02:00
Mateusz Jablonski
0ddabd0b21 test: add missing test, remove not needed excludes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 16:42:39 +02:00
Bartosz Dunajski
90d1a210d8 refactor: remove not needed check
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-09 16:11:33 +02:00
Mateusz Jablonski
e39994f525 fix: setup slm size based on gt system info when not set in capability table
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 15:21:35 +02:00
Mateusz Jablonski
09a2b10c48 test: remove not needed test excludes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 15:01:19 +02:00
Mateusz Jablonski
746ae5937b build: correct include directories for ocloc
Related-To: NEO-8188
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 14:58:00 +02:00
Mateusz Hoppe
c660784df2 fix: fallback path while creating drm context
- if create VM ioctl fails, fallback to query VM from created context
- in fallback path context's VM will not have flags applied

Related-To: NEO-7813

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-09 14:10:51 +02:00
Mateusz Jablonski
778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +02:00
Mateusz Jablonski
0158decb2b fix: add missing setting of slm size in KB
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 09:46:34 +02:00
Szymon Morek
7d25965a78 performance: change buffer type for new coherency model
Related-To: NEO-11882

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-09 09:33:53 +02:00
Szymon Morek
457cb005de performance: iterate over indirect allocations once
Related-To: NEO-11921

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-09 09:31:52 +02:00
Kozlowski, Marek
43c840cb29 fix: update amount of available devices
* According to L0 specification if count is greater than
the number of devices available, then the driver shall
update the value with the correct number of devices available

Signed-off-by: Kozlowski, Marek <marek.kozlowski@intel.com>
2024-07-09 08:43:21 +02:00
Compute-Runtime-Validation
02f84876e7 Revert "fix: add missing setting of slm size in KB"
This reverts commit ff519debef.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-09 06:06:49 +02:00
Compute-Runtime-Validation
991640f558 Revert "fix: update slm size in capability table based on gt system info"
This reverts commit 47e064a686.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-09 03:31:42 +02:00
ocldev
ce267cf750 build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-08 18:51:52 +02:00
Mateusz Jablonski
4f7866f9ac test: correct test scope to avoid exclude
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 17:48:50 +02:00
Mateusz Jablonski
ff519debef fix: add missing setting of slm size in KB
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 16:30:19 +02:00
Bartosz Dunajski
9ea6b0322e refactor: add missing PrintBOCreateDestroyResult prints
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-08 15:35:11 +02:00
Mateusz Jablonski
ff917f69b3 test: correct including source file with excludes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 15:23:50 +02:00
Mateusz Witke
a4493a584d ci: kernel revision update from 5582 to 5694
Signed-off-by: Mateusz Witke <mateusz.witke@intel.com>
2024-07-08 14:05:52 +02:00
Mateusz Jablonski
812ba03fab test: remove not needed test excludes in aub tests
correct namespace of excluded tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 13:13:05 +02:00
Lukasz Jobczyk
bbeb5224d8 fix: Add IOH alignment to estimation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-08 12:29:54 +02:00
Mateusz Jablonski
7ffadf0d6c test: remove not needed test excludes
correct namespace of excluded tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 12:15:48 +02:00
Mateusz Jablonski
47e064a686 fix: update slm size in capability table based on gt system info
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 09:35:25 +02:00
Mateusz Jablonski
d4a98adbe1 fix: add reading SLM size in KB in WSL scenario
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-08 08:48:35 +02:00
ocldev
770aeb7cc7 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-08 06:55:08 +02:00
ocldev
579b34c768 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-07 16:16:59 +02:00
ocldev
96cb796c30 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-07 14:45:27 +02:00
Artur Harasimiuk
fde5d83ec9 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-07-06 10:39:45 +02:00
Compute-Runtime-Validation
216c11643a Revert "fix: Make debug area resident for subdevices"
This reverts commit ac1ba09911.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-06 08:24:29 +02:00
Compute-Runtime-Validation
c679e7df30 Revert "fix: update slm size in capability table based on gt system info"
This reverts commit e624a4b0ab.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-06 03:40:49 +02:00
Artur Harasimiuk
d3013c1f64 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-07-05 22:57:25 +02:00
Mateusz Jablonski
a14d5c52cb fix: Extend scope of OverrideSlmSize debug key - apply key during initialization
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-05 18:03:45 +02:00
Kulkarni, Ashwin Kumar
a1c15371c1 feature(sysman): supports new device UUID mapping APIs
Related-To: NEO-10236

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-07-05 15:56:14 +02:00
ocldev
5d15c80fad build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-05 15:25:41 +02:00
Mateusz Jablonski
e624a4b0ab fix: update slm size in capability table based on gt system info
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-05 14:25:33 +02:00
Jemale Lockett
ac1ba09911 fix: Make debug area resident for subdevices
Resolves: NEO-9455

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-07-05 13:09:58 +02:00
Kamil Kopryk
880aaee16c fix: add scratch ptr in implicit args patching for L0 immediate cmdlists
Related-To: NEO-11874
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-05 12:05:11 +02:00
Filip Hazubski
922286633b fix: Correct debugger and SIP init logic
Initialize debugger and SIP kernel explicitly once during root-device init.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-07-05 12:04:13 +02:00
Mateusz Jablonski
783ceec1c8 test: remove not needed test excludes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-05 11:23:02 +02:00
Mateusz Jablonski
c207e3aadc test: remove not needed test excludes
correct namespace of excluded tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-05 10:27:14 +02:00