Michal Mrozek
b4ad6e011f
Restore assert.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-12-16 13:37:26 +01:00
Lukasz Jobczyk
1f0c58d0bf
Refactor timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-16 13:22:19 +01:00
Artur Harasimiuk
9d063f29d2
refactor support of other architectures
...
- cmake refactor to disable ld.gold and ld.lld usage when cross-compiling
- skip some ULTs when CPU feature is not available
Related-To: NEO-6017
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-12-16 12:54:51 +01:00
Michal Mrozek
dc44b13b53
Optimize getRootDeviceIndex.
...
Virtual functions are not easily optimizable by compiler,
so making this normal function.
This function is called heavily so it needs to be highly optimized.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-12-16 11:53:12 +01:00
Szymon Morek
5baf25163f
Update I915 headers
...
Source location of updated i915 headers:
https://github.com/intel-gpu/drm-uapi-helper/tree/master/drm-uapi
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-16 10:34:36 +01:00
Artur Harasimiuk
7add30aa9b
refactor RHEL support
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-12-16 10:10:29 +01:00
Bartosz Dunajski
8b4a7dac8f
Respect Uncompressed hint when allocating L0 Image
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-16 00:51:38 +01:00
Mateusz Jablonski
3e862d1fbc
Add test matcher for at least Skylake platform
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 19:52:00 +01:00
Dominik Dabek
4f71b9ea61
Add flag forcing 2dimage as array in surface state
...
Workaround for a hw bug causing invalid texture address request
Related-To: NEO-5653
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-15 19:47:17 +01:00
Mateusz Jablonski
723ce5d373
Remove test for not used state base address field
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 17:47:47 +01:00
Bartosz Dunajski
175d4d332f
L0 compression hints parsing support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-15 16:51:29 +01:00
Mateusz Jablonski
cdfbf6b65d
Remove test.h from .clang-format file
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 16:22:38 +01:00
Szymon Morek
242b08d72b
Add advise for atomic and preferred location
...
If supported, allow atomic and preferred location
advises. Hide this logic under IoctlHelper.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-15 16:02:19 +01:00
Mateusz Jablonski
ee18008750
Remove duplicated test.h header
...
use full path to include test.h
add missing headers to source list
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 15:34:45 +01:00
Mateusz Jablonski
ad184642a6
Use full path to include test.h 3/n
...
fix files in level_zero
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 13:42:33 +01:00
Mateusz Jablonski
527806b3ed
Use full path to include test.h 2/n
...
fix files in shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 13:09:50 +01:00
Daria Hinz
0aeca8df22
New numerical approach to platforms in ocloc
...
For AOT feature, a new approach to passing
the -device arg to ocloc is implemented.
New character: <Major>.<Minor>.<Revision>
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-5954
2021-12-15 13:02:12 +01:00
Bartosz Dunajski
ef6f75d993
Fix typo
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-15 12:53:22 +01:00
Mateusz Jablonski
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
21.51.21973
2021-12-15 12:34:34 +01:00
Bartosz Dunajski
c13889c31b
Fix printf allocation access mode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
Use BCS if CPU access for local memory allocation is not allowed
2021-12-15 12:14:46 +01:00
Mateusz Jablonski
03e617d14f
Refactor memory object control state methods in generated commands
...
remove setters/getters for Index To Mocs Tables fields
all information contained in MOCS from gmm client context is now handled
by dedicated method set/get MemoryObjectControlState
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:01:20 +01:00
Szymon Morek
601271c92e
Fix includes
...
Add <sys/ioctl.h> include in files with prelims
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-15 11:45:19 +01:00
Zbigniew Zdanowicz
c7693650de
Fix partition count after command list reset
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-15 11:11:26 +01:00
Ranjan, Joshua Santhosh
5a2a19fa1a
Sysman Fix FirmwareUtil Cleanup
...
Fixed by avoiding library function access if library is unavailable.
Related-To: LOCI-2719
Signed-off-by: Ranjan, Joshua Santhosh <joshua.santosh.ranjan@intel.com >
2021-12-15 09:18:18 +01:00
Jim Snow
b813171797
Add unit test to verify rtDispatchGlobals is correctly patched
...
Related-To: NEO-6529
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2021-12-15 07:53:16 +01:00
Mateusz Hoppe
68dbbd7d43
Fix compilation errors
...
- add missing includes
- fix cast
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-14 19:38:25 +01:00
Szymon Morek
854a77d1cf
Move code from drm_query to drm_neo
...
Move methods to drm_neo.cpp and hide
kernel-specific implementations to IoctlHelper
Related-To: NEO-6510
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-14 19:28:16 +01:00
Filip Hazubski
d707a41d60
Correct variable declaration in tests
...
This issue is visible with clang-11 on single sku builds
of xe_hp_sdv and later platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-14 17:45:18 +01:00
Bartosz Dunajski
8288fa76cb
Initial support for compressed L0 Images
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-14 17:29:24 +01:00
Filip Hazubski
6e7515a12b
Split test_l0_debugger file
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-14 17:22:00 +01:00
Filip Hazubski
e182aa6055
Unify program thread abitration logic for gen9 and gen11
...
Use single call for programming thread arbitration logic in flushTask.
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-14 17:10:26 +01:00
Mateusz Jablonski
5700619f24
Refactor test.h header
...
move platform/core specific definitions to separated files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-14 16:44:58 +01:00
Kacper Nowak
80ed37faf6
Return debug ZeBin on getDebugInfo in Level Zero
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2021-12-14 16:29:42 +01:00
Artur Harasimiuk
59bf2e02ff
infra update
...
Related-To: NEO-6512
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-12-14 15:50:03 +01:00
Igor Venevtsev
fe250d99b1
Disable L3 caches for debug on ATS and DG2
...
Resolves: NEO-6320
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-12-14 13:59:09 +01:00
Milczarek, Slawomir
21f6e7e17c
Remove mock function to check for page fault support
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-12-14 12:50:12 +01:00
Artur Harasimiuk
513ea8379e
Do not call ioctl from OS in Linux DLL ULTs
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-12-14 12:25:39 +01:00
Bartosz Dunajski
fe8cb190bc
Remove deprecated code
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-14 11:36:10 +01:00
Bellekallu Rajkiran
4ae2f6e111
Sysman: Add support for device level energy counters
...
Related-To: LOCI-2724
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2021-12-14 01:33:59 +01:00
Zbigniew Zdanowicz
01348451db
Add multi tile barrier to marker command on multi tile device
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-13 18:14:39 +01:00
Mateusz Hoppe
d8ea439dab
Store non canonical SBA addresses
...
- fixes reading SBA addresses error
Related-To: NEO-6221
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-13 16:33:48 +01:00
Krystian Chmielewski
7e08e56d50
Zebin: allow undef symbols
...
Skip undefined symbols when decoding ELF symbol table
instead of treating them as error in zebin path in
order to support dynamic linking scenarios.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-12-13 15:31:56 +01:00
Lukasz Jobczyk
616580637b
Reuse command buffers in L0 command list
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-13 14:52:45 +01:00
Filip Hazubski
64aec8dc4e
Rename functions
...
Rename getEngines to getAllEngines
Rename engines to allEngines
Rename getEngineGroups to getRegularEngineGroups
Rename engineGroups to regularEngineGroups
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-13 14:27:02 +01:00
Lukasz Jobczyk
3fd938a124
Destroy allocations list when reset device
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-13 13:16:14 +01:00
ocldev
02120c5b50
igc revision update
...
Signed-off-by: ocldev <ocldev@intel.com >
2021-12-13 11:33:37 +01:00
Aleksei Keisel
1e2a57d533
Update MDAPI headers
...
Resolves: LOCI-2692
Signed-off-by: Aleksei Keisel aleksei.keisel@intel.com
2021-12-10 21:17:33 +01:00
ocldev
378157df09
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com >
21.50.21939
2021-12-10 18:53:30 +01:00
Zbigniew Zdanowicz
56bef79733
Add multi tile support for OCL post sync barrier
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-10 17:33:12 +01:00
Bartosz Dunajski
4b589bffd3
Enable PVC on Windows in Cmake
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-10 17:02:45 +01:00