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
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
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
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
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
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
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
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
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
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
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
bba4a1d30c
fix: disable wmtp on xe2 platforms
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-10 16:00:58 +02:00
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
19b6f5a258
refactor: remove unused file
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-10 15:21:18 +02:00
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
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
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
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
5d09dd8273
test: optimize test excludes
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-09 19:30:12 +02:00
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
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
90d1a210d8
refactor: remove not needed check
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-07-09 16:11:33 +02:00
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
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
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
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
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
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
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
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
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
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
9ea6b0322e
refactor: add missing PrintBOCreateDestroyResult prints
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-07-08 15:35:11 +02:00
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
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
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
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
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
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
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
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
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
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
4f4b8fed15
refactor: remove not needed code related to deprecated device ip version
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-05 09:54:48 +02:00
30fac27508
fix: setup slm size in hw info based on device blob
...
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-04 15:25:13 +02:00
e8ee91a694
fix: iterate over each indirect allocation
...
Related-To: GSD-9450
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-04 12:01:46 +02:00
96c9956d50
refactor: remove debug break
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-04 11:00:54 +02:00
bfaf2309e8
refactor: cleanup setupHardwareInfo
...
Use only `usDeviceID` and `usRevId` (known to be correct) instead of
declaring `hwInfo` pointer until the type of the latter is completely
initialized.
Put initialization of all `hwInfo` fields into `setupHardwareInfo()` for
consistency and make overrides explicit.
Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-07-04 08:54:57 +02:00
38872b7e1b
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit 1cba900ad9
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-04 08:20:18 +02:00
a96f2ea13a
performance: disable blit enqueue on LNL
...
Resolves: NEO-11471
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-07-04 05:41:31 +02:00