Commit Graph

6079 Commits

Author SHA1 Message Date
c3b8727e97 Remove opencl includes from HwHelper
Resolves: NEO-3964

Change-Id: Ie891ba6a205a89b41ca2cce0fa386dc4c93a0aaa
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-23 11:10:52 +02:00
39a3e9558f igc revision update
Change-Id: Ifa0d7a12d4b664f019a078f20c31886d09269718
2020-10-23 04:42:12 +02:00
b863c90e7d Add 4-digit zero alignment of device id in device name (3)
Add missing header.

Related-To: NEO-4744

Change-Id: Ic61b864bc27a681e0a9b3804884455511d88346b
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-10-22 12:51:15 -07:00
b62a121f6f Move thread arbitration programming to command list
Thread arbitration policy can be programmed in the command list
instead of doing it in executeCommandList(), so move it there.

Related-to: NEO-5187

Change-Id: I518e19e939e0548d9d454738c6deb5e095154422
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-10-22 19:42:55 +02:00
504dfe8a50 change TdDebugControl Register to enum
change TdDebugControl Register to enum for over-riding in another
platforms

Related-To: NEO-5203

Change-Id: I17b835a1d4cb43986cfd06741e6ec9a606feb5ae
Signed-off-by: Pranav Tendulkar <pranav.tendulkar@intel.com>
2020-10-22 19:42:15 +02:00
a5a5c94097 Correct clCreateProgramWithBuiltInKernels
create program for all provided devices
move OCL specific code from shared to opencl

Related-To: NEO-5001
Change-Id: Ic352b4e907ae75426634ae4b3c7048edecaf83e7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-22 19:26:34 +02:00
8778b5c302 dependencies update
Change-Id: I92f49e83419498847e5c223b58801b609a110ec1
2020-10-22 16:49:05 +02:00
31291b1cf0 Add 4-digit zero alignment of device id in device name (2)
Unify names for OpenCL and L0

Related-To: NEO-4744

Change-Id: I5094f228f447ecbd942c25d6244abee593f3ffbf
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-10-22 15:53:20 +02:00
2f27e4dde9 ULT renaming: Gen-specific Preemption tests
Related-To: NEO-2236

Change-Id: I517ab241b219ab16ee5295e6cefbbdef5282e65f
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-22 15:05:11 +02:00
e3e8f1ddf2 Fix private surface size calculation
Change-Id: Iebbbdf2bfa76173c6181d8a26838114fabf6cbe1
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-22 13:54:13 +02:00
0f31b5cc8b Use StackVec in Buffer::create instead of std::map
Related-To: NEO-4589
Change-Id: I9aa3a5de7e4e86b85c4589901a81a5b9633fc23f
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-10-22 13:31:21 +02:00
1d74871f85 increase the debug surface size to accomodate all threads
maximum number of threads have changed and the debug surface size
changed accordindly.

Related-To: NEO-5203

Change-Id: I53626f9fb1062f8dc4e0437db80a343b148b7701
Signed-off-by: Pranav Tendulkar <pranav.tendulkar@intel.com>
2020-10-22 13:19:57 +02:00
0738ad5a82 Add ClHwHelper
Related-To: NEO-3964

Change-Id: Ib2660e8f7d92fc970172517b3e2ddfd607e09ec1
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-22 13:03:07 +02:00
b8858ee0d6 Correct clCreateProgramWithIL
store all devices from context

Related-To: NEO-5001
Change-Id: I728ba460f7c9e4cc500395706c85f7f12e175d2f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-22 12:52:57 +02:00
a977ee6c15 Remove MockProgram::setDevice
Related-To: NEO-5001
Change-Id: I42ed743311de085f365d321ad30c983f48db8bf8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-22 12:27:07 +02:00
63d5c2b42a Assign INTERNAL_FRONT_WINDOW heap for DebugModuleArea allocation
Related-To: NEO-4550

Change-Id: Ic3209a5777245f0d1c6231cb0ce22d5327372a65
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-22 11:48:37 +02:00
785c9e70ec switch internal to FETCH_HEAD
Change-Id: I4f66c93f4985482f196a333163aa407ec8a4d941
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-22 11:18:08 +02:00
6fb1d5e417 Extend timestamp blackbox test
- add example of usage zeAppendQueryKernelTimestamps

Change-Id: I28b0d2da8b7c65407239b9feaccbeea5a60c79ab
2020-10-22 08:47:40 +02:00
8afdb2d981 Correct clCreateProgramWithBinary
store proper devices
validate input devices, lengths and binary
return correct binaries

Related-To: NEO-5001
Change-Id: I3822c291a4430e64afe54f1486b0014f16de3d64
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-22 08:38:24 +02:00
4c2d92890f Opensource ADLS.
Resolves: NEO-5092

Change-Id: I544247a057a667ce6423f2e59ba4ca769e866479
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-10-21 19:07:38 +02:00
9bb8700b62 igc revision update
Change-Id: Ieee2345083556585cc838d4c8c86a437c83c4e53
2020-10-21 18:18:11 +02:00
5205d34894 Create multi graphics allocations with bo mmap
Change-Id: I97e3e3ddc8ae0f5a8ad9246befc9b2abc9c8c0f8
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-21 17:30:32 +02:00
914ace6165 Add blitter support for read/write images OpenCL
Change-Id: I5a74bcbdc5a5d7c20f55ee3c59839077649778c4
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2020-10-21 16:55:38 +02:00
4d4f73580b Update max blit width
Change-Id: I94fcc325bc9838182458973afb411dece80f57f7
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-21 16:39:56 +02:00
b539b5a3ec Enable copy engine in platforms which supports bcs
Releated-To: NEO-4870

Change-Id: I3ef4c91c2bf210d5e6f59df0e8bd347aa867cbe5
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-21 15:27:15 +02:00
96c0177250 Updating mocks for IGC::FclOclDeviceCtx<4>
Change-Id: I25b80fbfbec6c3034ed5f67480269743b80eac92
2020-10-21 14:48:10 +02:00
522249e233 ULT renaming: Gen-specific Preamble tests
Related-To: NEO-2236

Change-Id: I4d197009d61c0ce74d21571126969d6694ae0c90
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-21 14:28:42 +02:00
1926ef8319 is_simt_thread token support
Change-Id: I8cee6ff26229f0f492ba0d1e5e61d6e46e0c2486
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-21 14:14:43 +02:00
a06369230c Add debug variable to control media vfe state dss settings.
Change-Id: I7668bd50c81cc9971315e6a635d64a838465b986
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-10-21 13:49:39 +02:00
19d3fa73bd Rename flag to use32BitFrontWindow
Change-Id: I3ecffcce2586f7164577edd3ae4d473ac68a3185
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-21 12:38:33 +02:00
17db6d223e ULT renaming: Gen-specific Capabilities tests
Related-To: NEO-2236

Change-Id: Ibe9e5bdb2530db8a7992e9c7d8447e29af3ea242
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-21 12:27:41 +02:00
6cce17e9a0 Add boiler plate support for sysman event API
Change-Id: I046620abb9943b2283215a5d2d85d71dcb8b98be
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-21 10:20:00 +05:30
d0634d3090 Correct cache memory size returned
Change-Id: I1b0467b23acf8c72c42430100237d921f565c86c
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-10-20 18:06:07 +02:00
4122554b71 Fix max root device index in Program's ctor
Related-To: NEO-5001
Change-Id: If3b86a51df478222f47a30c9254466dea0710ec4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-20 17:10:14 +02:00
52feced02b Correct exposing devices from program created with source
Related-To: NEO-5001
Change-Id: I15dd7480ecd8dc5cf2e4347cd06837ea573ecd95
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-20 16:18:30 +02:00
a8a013b0c3 Implement zesRasGetState to retrieve cache errors
Change-Id: I9fbba505db6551f510cb20ea71604af53db61960
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-10-20 15:45:36 +02:00
27c281a044 Fix start and dispatch blitter commands in direct mode
Related-To: NEO-5010

Change-Id: I3d03ef39325adb2beba26a989906381f5eccc4ff
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-20 14:12:22 +02:00
5d9467b753 Make the EnableVaLibCalls debug key tri-state (-1/0/1)
Related-To: NEO-5110

Change-Id: I56b709e266a091fca68b55ff136690d673773734
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-20 13:58:46 +02:00
9f08a60a20 KernelInfo Refactor
Using kernelDescriptor.kernelMetadata.kernelName instead of
kernelInfo.name

Change-Id: I11f5721d8072a3beccb573cec4bea56cf14cf0f9
2020-10-20 13:18:09 +02:00
7e45c396a2 Fix profiling in copy engine scenarios.
- We need to wait till completion prior to obtaining timestamps.

Change-Id: I1320c9d44e8c1a2c2125cbd332296de1df28491b
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-10-20 10:25:40 +02:00
b2f8e80555 Update Level Zero Loader to v1.0.16
Change-Id: I35d05d0ca5087861ca2938fe0f21d064b48b557c
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-10-20 09:50:03 +00:00
a21d3b8eac ULT renaming: Gen-specific Slb tests
Related-To: NEO-2236

Change-Id: I209d081b06fba0a12994b233c0443de6e7b3fc80
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-19 19:15:29 +02:00
bdafc249f4 ULT renaming: Gen8 Device Caps tests
Related-To: NEO-2236

Change-Id: I40b4e80348b75dc974788af38dad5da16ffc5f12
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-19 19:04:46 +02:00
f7dcafc295 Pass ClDeviceVector to Program's ctor
Related-To: NEO-5001
Change-Id: Ie0e4395fd3ed9a5df81c7075ef039092a0687b9c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-19 18:47:11 +02:00
10165ec9eb infrastructure update
Change-Id: I369c64f7bc083cbf4870e7cd102b4495831a427b
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-19 17:29:30 +02:00
7f8b0c5b3f Global l3 invaldate for blitter engine
Related-To: NEO-5175

Change-Id: I88b3c9333398c91a7dd799f5e52cfd9182316960
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-19 16:40:03 +02:00
ca5f34133b Move aub and tbx code to shared
Related-To: NEO-3964

Change-Id: Ice978e582721498d7496f989767ce7d6f5f4caf4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-19 16:04:47 +02:00
ccd5abfbfd Add zesDeviceReset ULTs.
This patch adds two ULTs.

Verify that an IN USE error is returned if the device is open by another
process.

Verify that reset succeeds if device is not in use.

Verify that reset with force succeeds if device is in use.

Verify that reset without force succeeds if device is opened during
reset, and process is killed.

Verify that reset with force fails with device in use
if device is opened during reset, and process will not die

Change-Id: I232572c192bc481d8d63ef39c7494976100325ff
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-10-19 15:01:19 +02:00
8c4f3d3953 Add 4-digit zero alignment of device id in device name
Related-To: NEO-4744

Change-Id: Iedca3cb68c015e70bcebbeb2a45fdc2a8563518d
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-19 15:00:32 +02:00
c2c2bc3f82 Reset tag allocators in CSR destructor
Change-Id: I178ece2b5d79c2bd38b8ba5b1c715bd3730b715e
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-19 11:57:25 +02:00