Mateusz Jablonski
eb349484f1
Zero-initialize HardwareIpVersion members
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-09 12:07:03 +01:00
Szymon Morek
c9fad505d7
Replicate CONSTANT_SURFACE across tiles
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-11-08 20:35:43 +01:00
Michal Mrozek
d9762c0337
Add debug flag to control alignment.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-11-08 19:42:19 +01:00
Krystian Chmielewski
62ed04d5c1
feat(zebin): add platform compatibility check
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-08 19:05:06 +01:00
Dominik Dabek
30fe24aa79
Avoid cmpexchg due to CPU Hardware limitation
...
Limit the amount of times compare_exchange_weak is called,
to avoid issues with contention when multiple cpu cores request
the same address.
Related-To: NEO-7030
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-08 17:11:52 +01:00
Krystian Chmielewski
7be9881758
Fix 32b elf symbols
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-08 15:30:21 +01:00
Mateusz Jablonski
67e1da1c07
Reorder members of Hardware Info to achieve optimal struct padding
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-08 14:54:18 +01:00
Dunajski, Bartosz
918d7b1da4
Helper for MI_SET_PREDICATE programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-08 14:20:01 +01:00
Kamil Kopryk
c027d2c494
Remove not needed isL3Configurable helper function
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Remove isL3Configurable function from
- HwHelper
- PreambleHelper
2022-11-08 14:11:23 +01:00
Kacper Nowak
a12251d464
feat(zebin): code improvements
...
- Set initial value for ArgIndexT index in
KernelArgMiscInfoT struct
- Add check for arg index in extended metadata in order to avoid OOB
accesses
- Fix missing: populating ArgTypeTraits + refactor ULTs in order to
check it
- Add missing ULTs for Program::callPopulateZebinExtendedArgsMetadataOnce
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-08 14:10:55 +01:00
Katarzyna Cencelewska
2d229f3fea
Set as default use of device based timestamps
...
Related-To: NEO-7042
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-08 13:34:58 +01:00
Daria Hinz
60a8bcb3d7
Use device ID from ProductConfigHelper
...
This commit switches the device ID logic from the deprecated
to the new one, so that if the user passes a hex value to the -device
parameter, ocloc will use the new implementation in the product config
helper.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7487
2022-11-08 12:40:54 +01:00
Mateusz Hoppe
a30cc94708
Zebin - fix program headers
...
- do not add CPU segment LOAD in debug zebin
Resolves: NEO-7481
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-08 12:32:19 +01:00
Wrobel, Patryk
4c05a54c2b
Use correct heap when opening device memory IPC handle
...
This change extends the logic of opening IPC
memory handles and fills the gap between this
logic and allocation of USM device buffers.
When HEAP_EXTENDED is available, then it is
preferred.
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com >
2022-11-08 12:08:04 +01:00
Kamil Kopryk
eafea5e2fe
Move HwInfoConfig ownership to RootDeviceEnvironment 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
- Added HwInfoConfig getter in RootDeviceEnvironment,
which temporarily takes HwInfoConfig from the global array
- use HwInfoConfig from RootDeviceEnvironment to
call ConfigureHardwareCustom function
- Added getHwInfoConfig in DeviceFixture
- ConfigureHardwareCustom function and few others changed to const
- Small code cleanup
2022-11-08 10:52:08 +01:00
Kamil Kopryk
0b02e7a48b
Remove not needed HwHelper functions
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Remove not needed HwHelper functions
- getBindingTableStateSurfaceStatePointer
- getBindingTableStateSize
- getBindingTableStateAlignement
2022-11-08 09:16:28 +01:00
Cetnerowski, Adam
b579bf645b
Debug variable documentation cleanup (1/n)
...
- Apply common style
- Clarify definition
- Clarify usage
Related-to: NEO-6968
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com >
2022-11-08 09:13:13 +01:00
Daria Hinz
0b3edc662e
Remove unnecessary platform name translation
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-11-08 00:33:39 +01:00
Jim Snow
48ba0554db
Allocate RTDispatchGlobals as array-of-structures.
...
This fixes several bugs in previous (reverted) implementation.
We use correct RTStack pointer offset, and a larger RTStack size.
Related-To: LOCI-2966
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-11-07 21:25:32 +01:00
Mateusz Jablonski
5b11a4a5fa
Return submission status from flushHandler function
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-07 15:09:33 +01:00
Warchulski, Jaroslaw
6cbb3cfb05
Cleanup includes 3
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 14:52:31 +01:00
Dunajski, Bartosz
67af920281
Unify programming of ending commands in direct submission path
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-07 10:56:36 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 10:36:50 +01:00
Bellekallu Rajkiran
2c71df0957
Fix urecoverable abort upon detach event
...
Unrecoverable abort will be invoked when drm ioctls fail during
device destruction.
Remove abort for case where i915 is unbinded.
Related-To: LOCI-3139
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-11-07 08:39:00 +01:00
Compute-Runtime-Validation
ddbaa5e8c9
Revert "Cleanup MediaInterfaceDescriptorLoad logic in command encoder"
...
This reverts commit 349af0bd5e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-07 02:20:27 +01:00
Tratnack, Geoffrey
349af0bd5e
Cleanup MediaInterfaceDescriptorLoad logic in command encoder
...
Add a patch to command encoder for samplers when DSH is dirty.
Signed-off-by: Tratnack, Geoffrey <geoffrey.tratnack@intel.com >
Related-To: LOCI-3365
2022-11-06 03:27:23 +01:00
Katarzyna Cencelewska
5cfb59c27e
Disable timestamp shift for gen9
...
also move hwhelper tests from opencl to shared folder
Related-To: HSD-18025130857
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-05 11:58:14 +01:00
Compute-Runtime-Validation
d91d22d1fe
Revert "Replicate CONSTANT_SURFACE across tiles"
...
This reverts commit 9a4467f368 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-05 07:16:15 +01:00
Mateusz Jablonski
33e1b3a717
Command stream receiver: handle flush method failure when flushing BCS task
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 18:38:32 +01:00
Zbigniew Zdanowicz
27d042107a
Add feature to estimate number of event packets
...
Related-To: NEO-7469
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-04 18:38:17 +01:00
Warchulski, Jaroslaw
ef95bfb45e
Cleanup includes
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-04 18:04:13 +01:00
Mateusz Jablonski
1c3d5c3892
Prepare mechanism for returning GPU execution error on OCL API
...
translate task count value to OCL error
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 15:54:19 +01:00
Mateusz Jablonski
930ca001a1
Add a layer to translate exec buffer error to SubmissionStatus value
...
handle errors: EWOULDBLOCK, ENOSPC, ENOMEM, ENXIO
Related-To: NEO-7144, NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 10:32:54 +01:00
Brandon Yates
76ef0bfb0a
L0debug - Canonize SBA in single address space mode
...
Signed-off-by: Brandon Yates<brandon.yates@intel.com >
2022-11-03 21:58:06 +01:00
Szymon Morek
9a4467f368
Replicate CONSTANT_SURFACE across tiles
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-11-03 18:36:18 +01:00
Luzynski, Sebastian Jozef
91c69e0fe7
Patch global variables and constants once
...
This change replaces mechanism of patching global constants and
variables in kernel per relocation to patching them only once. This
would improve linking time performance for kernels with multiple global
symbols.
Signed-off-by: Luzynski, Sebastian Jozef <sebastian.jozef.luzynski@intel.com >
2022-11-03 17:45:09 +01:00
Maciej Plewka
9fa6f1075e
Use globalMemSize from deviceInfo to compare private/scratch size
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-03 16:13:05 +01:00
Zbigniew Zdanowicz
6a6ab80113
Add option to compact event L3 flush packet
...
Related-To: NEO-7434
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-03 14:23:42 +01:00
Kacper Nowak
709e322a4a
feat(zebin): get extended args metadata on clGetKernelArgInfo API call
...
This commit adds support for retrieving extended args metadata passed in
.kernel_misc_info zeInfo's section on clGetKernelArgInfo call.
Related-To: NEO-7372
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-03 13:15:09 +01:00
Mateusz Jablonski
8ddc889c1d
Store hardware IP version in hardware info
...
Query HW IP version using ioctl helper prelim
Related-To: NEO-7457
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-03 09:57:08 +01:00
Compute-Runtime-Validation
49c828e481
Revert "L0debug - Canonize SBA in single address space mode"
...
This reverts commit f067145137 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-03 09:41:50 +01:00
Mateusz Jablonski
d45d62ef0e
Add debug flag to force nonblocking exec buffer calls when using prelim kernel
...
Related-To: NEO-7144
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-03 09:10:31 +01:00
Aravind Gopalakrishnan
3b4695460a
Fix misaligned pointer returned in heap allocator
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-11-03 00:23:24 +01:00
Krystian Chmielewski
69bef975f0
OCL cache per thread data
...
Add caching mechanism for local ids in OCL.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:07:29 +01:00
Dominik Dabek
4f9498476d
Re-enable tg dispatch size heuristic
...
Related-To: NEO-6989
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-02 14:12:46 +01:00
Cencelewska, Katarzyna
a094a9bafe
Fix convert timestamp to use double values
...
to avoid division by 0
Resolves: HSD-18025033373
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2022-11-02 13:02:45 +01:00
Maciej Plewka
7f38c5e633
Revert "Return error code for unsuported image arg in gen12lp"
...
This reverts commit bbc31e6aac
Signed-off-by: Maciej Plewka maciej.plewka@intel.com
2022-11-02 12:57:16 +01:00
Lukasz Jobczyk
0353116964
Do not flush dc when encode compute mode on tgl and later
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-11-02 12:57:00 +01:00
Maciej Plewka
ff01b9361e
Return error code when there is no space for scratch/private
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-02 11:55:18 +01:00
Mateusz Jablonski
1131a6a4c1
Update i915 prelim headers to v2.0-rc15
...
https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc15
Related-To: NEO-7457
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-02 11:30:54 +01:00