Commit Graph

6091 Commits

Author SHA1 Message Date
b0e055ee3c Debug flag to print blit dispatch details
Change-Id: I1eb033449a49485b459249f634589e546492d99f
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-26 16:00:38 +01:00
225e7f01b4 Add checks for correct engine for concurrent kernels.
Related-To: NEO-5135
Change-Id: Ib1c37ec8d5e468de331521ae4be1cd92902a2330
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-10-26 14:53:52 +01:00
f9a97cbb22 Set CAPTURE flag in fillExecObject
Resolves: NEO-5026

Change-Id: I132d5f1c02edf8e595d31e08029fb32ccbd6d307
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-26 13:09:40 +01:00
e4adb7efbf Change RequirementsStatus from enum to enum class
Related-To: NEO-5167

Change-Id: Iecf6ac74b5f757e90c36ef84a0f65339bf58e3f9
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-10-26 12:56:41 +01:00
495594142c Improve Program::create functions
accept multiple devices in createFromGenBinary
remove redundant arguments
rename functions for creating built in program

Related-To: NEO-5001
Change-Id: Ic894fa3014d6eadce3747a6f7530e9848ae1f948
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-26 12:34:49 +01:00
c50dc43f5b Add new IGC interfaces
Related-To: NEO-4773

Change-Id: Ie6b2e2fa414c909c349b85279c4af9ee4f8433e8
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-26 12:25:00 +01:00
e7bd82c971 ULT renaming: Gen-specific Core Family tests
Related-To: NEO-2236

Change-Id: I6a6a8e96e1d89c89275b4cdf09f6142bd4d3c0a4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-26 11:59:15 +01:00
f53a6acb7f Revert "Use device allocation for events if host visibility not set"
This reverts commit 27e2c32daa.

Change-Id: I8035aad67a1aa1ed37d95a9bcd4354a64d75ac07
2020-10-26 00:21:27 -07:00
27e2c32daa Use device allocation for events if host visibility not set
Change-Id: I244cfd617ae77a88dd2f4e5818d39ac7e658b216
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-10-23 22:28:45 +02:00
bc3e09ca88 Don't delete Sysman handle during destructor of a Subdevice handle.
Change-Id: I6d17805c05ed556e51c908832d1150ffa17c28f0
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
20.43.18277
2020-10-23 17:44:19 +02:00
b039f5cc76 Optimize profiling calls.
- do not call KMD query for submitted timestamp, we only need CPU
timestamp here.

Change-Id: Id60c1e367d9430d893fb3a253ffc058f45fc9609
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-10-23 17:36:14 +02:00
39a930e122 Revert "Enable copy engine in platforms which supports bcs"
This reverts commit b539b5a3ec.

Change-Id: I731b969cb82e4cfa6ec3f435c4b3178fc997c867
2020-10-23 17:11:00 +02:00
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