Commit Graph

16540 Commits

Author SHA1 Message Date
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
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
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
ocldev
acdd4f99c8 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-15 06:06:30 +02:00
ocldev
c79e8967c1 build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-14 15:34:41 +02:00
ocldev
68333cc372 build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-14 13:40:16 +02:00
ocldev
c5de24a822 build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-13 01:59:48 +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
Skobejko, Milosz
e79c60a965 refactor: add_subdirectories in cmake file
Signed-off-by: Milosz Skobejko <milosz.skobejko@intel.com>
2024-07-12 16:46:30 +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
Bartosz Dunajski
c589c5d2df refactor: add L0 include dir to solution
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-12 15:34:56 +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
Bartosz Dunajski
1ce29d1a31 fix: update api token value
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-12 14:45:36 +02:00
Fabian Zwoliński
f37943e1de fix: adjust tests to enabled global allocator 1/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-12 13:12:17 +02:00
ocldev
2104306882 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-12 12:04:18 +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
ocldev
4a12413ce3 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-12 05:50:28 +02:00
Fabian Zwoliński
359f4d5b56 feature: add SUPPORTED_DEVICES query to ocloc
New query option
ocloc query SUPPORTED_DEVICE
allows to generate a YAML file containing
information about supported devices for:
- the current version of ocloc on Windows
- the current and previous versions of ocloc on Linux

Each version of ocloc build needs to set
NEO_OCLOC_CURRENT_LIB_NAME
NEO_OCLOC_FORMER_LIB_NAME
cmake defines for the ocloc to be able to
find a previous lib and query its supported devices.

Example of correct format:
NEO_OCLOC_FORMER_LIB_NAME=libocloc-1.0.so
NEO_OCLOC_CURRENT_LIB_NAME=libocloc-2.0.so

Related-To: NEO-9630
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-11 17:38:33 +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
Bartosz Dunajski
e188de2489 fix: initialize page tables before access for TSP allocation in TBX mode
Related-To: NEO-8340

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-11 16:03:19 +02:00
Mateusz Jablonski
e2dcd8909c test: remove xe debugger from test that is executed without xe debugger
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-11 15:25:34 +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
ocldev
b794932112 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-11 13:45:56 +02:00
Lukasz Jobczyk
b0a5f2cced fix: Stop direct submission before signal GL event
Related-To: NEO-10556

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-07-11 13:45:42 +02:00
Zbigniew Zdanowicz
759cc5538d refactor: add flag for ext kernel
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-11 13:45:16 +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
Dominik Dabek
bdeccab7aa fix: bcs enqueue after marker properly waits
For an example sequence of:
IOQ_1 -> enqueue copy, enqueue marker with waitlist (out event)
IOQ_2 -> enqueue marker with waitlist (event), enqueue copy

Add missing synchronization between the enqueue copies

Related-To: NEO-11694

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-07-11 10:36:18 +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
Mateusz Jablonski
51a9aa792f refactor: pass engine capabilities to all EngineInfo ctors
Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-11 09:29:17 +02:00
ocldev
ab0a2c15bd build: level_zero revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-10 19:40:02 +02:00
ocldev
839a6bb505 build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-10 16:35:21 +02:00
Mateusz Hoppe
52f5a9d6f0 refactor: remove SourceLevelDebugger from test and function name
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-10 16:32:26 +02:00
Mateusz Jablonski
bba4a1d30c fix: disable wmtp on xe2 platforms
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-10 16:00:58 +02:00
Szymon Morek
35cbbfe43a performance: Don't wait for taskCount for indirect allocs
Related-To: GSD-9385

In case of indirect allocations, we don't really know
their task count because we can't track their true usage
on GPU.
In case of non-blocking free, don't wait for latestSentTaskCount.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-10 15:51:04 +02:00
Mateusz Hoppe
19b6f5a258 refactor: remove unused file
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-10 15:21:18 +02:00
Mateusz Jablonski
b401d83110 test: add mechanism for detecting invalid test excludes
invalid test excludes are detected by default
cmake flag NEO_IGNORE_INVALID_TEST_EXCLUDES disables this validation

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-10 13:38:56 +02:00
Mateusz Jablonski
cd983d63de test: correct test matchers in multi tile aub tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-10 10:54:20 +02:00
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