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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Mateusz Jablonski
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
Mateusz Jablonski
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
Szymon Morek
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
Mateusz Hoppe
96c9956d50
refactor: remove debug break
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-04 11:00:54 +02:00
Maciej Bielski
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
Compute-Runtime-Validation
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
Lukasz Jobczyk
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
Mateusz Hoppe
b40ec06256
fix: ocloc - do not create /dev/null directory
...
Related-To: NEO-11500
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-03 16:54:55 +02:00
Mateusz Jablonski
0db66bb708
feature: add new flag to StateComputeModeProperties
...
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-03 14:05:02 +02:00
Mateusz Jablonski
f171a22c0a
refactor: include reg_configs_common using full path
...
add missing register offset value
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-03 13:30:46 +02:00
Bartosz Dunajski
bb21d25ed0
feature: initial support for creating media context
...
Related-To: NEO-11386
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-07-03 12:23:31 +02:00