Commit Graph

5937 Commits

Author SHA1 Message Date
Igor Venevtsev
bd9695a19a Get rid of UNRECOVERABLE_IF in MemoryManager constructor
Related-To: NEO-5053

Change-Id: Ibf955c760e61e34c4d38cbb5071ef712bae1c518
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-10-07 11:18:56 +02:00
Zbigniew Zdanowicz
47f5867e8f Move common code to shared directory
Change-Id: I5f604de01e06d35cc1e045fffdd4a26d88ffca8c
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-07 10:55:39 +02:00
Mateusz Hoppe
caa212dcf3 Create top level copy_test_file_per_product target
- new target depends on all product specific
copy_test_files targets

Change-Id: I90adb6598790dc4a25d61e6c22f2b2b58e898717
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-07 10:39:51 +02:00
ocldev
fb994297a7 igc revision update
Change-Id: Ic929a257b0f7b292e526e01fc5d5015ecdd4e478
2020-10-07 09:40:13 +02:00
Adam Cetnerowski
e9359b7c2c Remove OCL2.1 restriction on clCreateProgramWithILKHR
Change-Id: Ie0951465e226fb13b49d4f01f9a81b9c562a13e9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-06 21:13:00 +02:00
Kanhaiya
c4a910d911 cleanup of Sysman code to pass by reference instead of pass by value
Change-Id: Ie4537c7e45730afe98da3886831fd71ff5b96960
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-06 18:36:03 +02:00
Jitendra Sharma
cfb1fec19a Implement sysman power set/get limit APIs
Change-Id: I35232902cf96d20594adbd128064c362cf154711
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-06 17:33:11 +02:00
Filip Hazubski
3f9d95fe46 Add ULT for allocateGlobalsSurface
Verify blitter usage.

Change-Id: Ib0a726479097bb662a571f904ed04a832f426752
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-06 17:25:24 +02:00
Kanhaiya
da3bc90df3 Cleaning the zello_sysman.
Change-Id: If9eef0404b0b3f550ad222e148923fda8367bdbd
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-06 16:57:55 +02:00
Maciej Plewka
4dc3827b8e Prepare object lib for precompiled builtins in bindless mode
Releated-To: NEO-5138

Change-Id: I18e564a9e32041fba5e887bc18d2195a1c4ddda8
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-06 16:57:11 +02:00
Jitendra Sharma
1962a89b05 In Sysman fix C++ programming warnings
Fix warnings related to unused/uninitialized variables etc.

Change-Id: I2e75ede434442d7b99d6e28253e7811aac205323
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-06 16:35:53 +02:00
Andrzej Swierczynski
bdf8c5fc90 Extend UnifiedMemoryProperties constructor to take device bitfield
Related-To: NEO-4722

Change-Id: Ice185f1792635922e9bb89cd7329e6501bc585e0
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-10-06 16:35:08 +02:00
Zbigniew Zdanowicz
820efffdd0 Switch default CPU cache flush to disabled in direct submission
Change-Id: I1a5e5f67d3e6af129aeb611f203c243d892321bb
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-06 15:19:32 +02:00
Zbigniew Zdanowicz
28ef5fa709 Move pipecontrol w/a estimation to dedicated class
Change-Id: I8ceaa2dff94dd7148daf921568fd30f098e5dae4
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-06 15:02:37 +02:00
Konstanty Misiak
ff85c29e5c Do not recompile kernel if intermediate is empty
Related-To: NEO-5020

Change-Id: Ie71e1ac67a74309a90a899adb830a551922c5f35
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-10-06 13:47:25 +02:00
Zbigniew Zdanowicz
ce1b669cda Use single class to program load register command
Change-Id: I90fe084409588cb32f0ac43a3db5082047d7a68b
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-06 13:45:35 +02:00
Maciej Dziuban
138f04bdcd Enable L1 cache for Tigerlake
Change-Id: I33513ed084f9d06ceca11315cac03f1b682db535
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-4832
2020-10-06 13:26:54 +02:00
Konstanty Misiak
ec054a87da Fix builtin compiling with ZEBin
Related-To: NEO-5020

Change-Id: I2698db921e8b6c61ee592a0d6611dc38173a1688
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-10-06 13:04:45 +02:00
Adam Cetnerowski
4e81fddcd7 ULT renaming: Flush Task tests 1/3
Related-To: NEO-2236

Change-Id: I43ab38040442400e154526d9ff84860a82d9de77
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-06 12:19:15 +02:00
Andrzej Swierczynski
c6441c776f Fix revision handling in shared tests
Change-Id: I4a975b4b44d0b81a8e57c25f60b07473a5c4d66a
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-10-06 12:10:00 +02:00
Adam Cetnerowski
014760c133 ULT renaming: Builtin tests
Related-To: NEO-2236

Change-Id: I6aa76f637aaf43b9131067677f88567936fc8806
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-06 10:36:20 +02:00
Slawomir Milczarek
5f7b763ce5 Use kernel info to determine if AUX resolves required
This commit decouples the logic for AUX resolves from set kernel arg handlers.

Related-To: NEO-5107

Change-Id: I4c2912dc18633bcaefddb03cc6966e859d95262c
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-06 09:56:49 +02:00
Piotr Fusik
5826d3e105 Enable cl_khr_subgroup_extensions
Related-To: IGC-2680

Change-Id: I296e43dd9ebf037e8da6d6a8b1d6e6967f8fe674
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2020-10-06 09:04:51 +02:00
Jaroslaw Chodor
63fe52b6e0 Reuse old build options only for native binary
Change-Id: I484616a22c85f8a321e51002b7f9d0c990ee7b5a
2020-10-05 21:06:34 +02:00
Filip Hazubski
89be51cd94 Update CL_MEM_FORCE_HOST_MEMORY_INTEL flag
Rename CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL to
CL_MEM_FORCE_HOST_MEMORY_INTEL.
Rename MemoryFlags::forceSharedPhysicalMemory to MemoryFlags::forceHostMemory.

Change-Id: I48c0ae958ff55f2aef71cf99ed274d021a3c1f19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 20:33:35 +02:00
Bill Jordan
909107cab6 Fix zesDeviceReset for Spec version 1.
This patch does the following:
- Fixes a bug in FsAccess::listDirectory that could return
ZE_RESULT_UNKNOWN_ERROR when no error has occurred.
- Fixes a bug in zesDeviceReset that would reset the device
if force was set to false, even if the device was in use.
- Fixes a bug in zesDeviceReset that would reset the device
if force was set to false without closing the file descriptor.
- Added a releaseResources method method to Device object.
This method does the same thing as the DeviceImp
destructor except it does not free the DeviceImp object
and it does not free the SysmanDeviceImp object.
- Added the releaseResources methods to Mock<Device> object.
- Moved the reset of the debugger out of DriverHandleImp
destructor and into DeviceImp releaseResources.
- Added a releaseEngine method to the EngineHandleContext. This
method frees all the Engine handles.
- On reset, I call the Devcie->releaseResources and
EngineHandleContext->releaseEngines before resetting the device.
- Added a -r (--reset) option to zello_sysman so I
could easily test resets.

With these patches, the L0 Sysman CTS for zesDeviceReset
both pass.

Change-Id: I31fad1b27bc5cc6befe31cd6f9319748e2683424
2020-10-05 19:55:14 +02:00
Adam Cetnerowski
a107078925 ULT renaming: Enqueue Thread tests
Related-To: NEO-2236

Change-Id: Ic7dfd027c9be60bb53fe9d0dd6677666ccd66890
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-05 19:25:46 +02:00
ocldev
6340d57b95 igc revision update
Change-Id: I699e6a9fd030bfbbb75ed66cf2f9982a84e2b332
2020-10-05 17:55:24 +02:00
Lukasz Jobczyk
447c3f5800 Add debug flag to disable gem close worker
Change-Id: If2453b2c168aa7086ad387f97ac2255291e08ae1
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-05 14:44:33 +02:00
Zbigniew Zdanowicz
2717fcae54 Unify programming of atomic command
Change-Id: I13afdb44fb83beaa8673eb6456d2a8edcb6ac047
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-05 13:37:52 +02:00
Michal Mrozek
5386f8be86 [L0] Optimize cache flush while waiting on events.
- do it only once

Change-Id: I0822b4f2acd9e281132447da65f563a635967905
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-10-05 13:12:56 +02:00
Filip Hazubski
155578568b Update functions to create buffer and image objects
Functions clCreateBufferWithPropertiesINTEL and
clCreateImageWithPropertiesINTEL now accept a parameter `cl_mem_flags flags`.

Change-Id: I71823457397c00f93aed236afaa0041936c4161d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 11:08:49 +02:00
Filip Hazubski
60430d79ee Update OpenCL C features reporting to the compiler
Pass features also with -cl-ext option.

Change-Id: I1a1c68b655a2108be51c7d57be771591ee0b14e7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 10:27:30 +02:00
Jaroslaw Chodor
746cf7fd33 Reuse old build options if new ones are NULL
Change-Id: I435e7ec8554b0429dcf4f6f8d9d4fd80e70b68c6
2020-10-04 16:54:02 +02:00
Mateusz Hoppe
cd85bcffdb Update infra
- set revision = 9 for gen9

Change-Id: Icd8b73003eee3b1d32dbe3014c93174441e21f6a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-02 18:10:23 +02:00
ocldev
7e31ec37d7 igc revision update
Change-Id: I6d1dafe998ea782a726b6211100c74a9a6883f9d
20.40.18075
2020-10-02 12:59:09 +02:00
Lukasz Jobczyk
1fdd326ba0 Enhance bind log
Change-Id: I202d4f65b71aeda18b20312ef05c910c0c937d19
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-02 12:48:25 +02:00
Jaroslaw Chodor
df2e76f526 Fixing residency of extern device functions
Change-Id: Icad696cbf6fb3fc0276f0d0d488bf92091525d9b
2020-10-02 12:27:59 +02:00
Maciej Dziuban
51dcccad76 Create timestamp packet container for events if command queue created it
Related-To: NEO-5120
Change-Id: I00505647343da1876b25290b95a2009b5e4041d6
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-10-02 12:11:38 +02:00
Jaime Arteaga
9f9bf38d64 Copy user buffers when not accepted by Kernel
When performing copy operations to or from buffers allocated by the
user, it could happen that the buffer address is not accepted by
kernel, even though the buffer is valid. In those ocassions, then
allocate a new graphics allocation and copy the user buffer.

Change-Id: I6b1b6f2ef5fea0acf32c868bc87eafe8746f9a79
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-10-02 10:03:18 +02:00
Artur Harasimiuk
38dc396336 infrastructure update
Change-Id: I976e79fe659344967e8ac67aaea751ef56afa271
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-01 20:43:19 +02:00
Raiyan Latif
921e30802a Add L3_CONTROL cmd format for Gen12LP
Change-Id: Ibae6c3f10a54accb333aa1b21163024aac8cf93c
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-10-01 18:17:29 +02:00
Filip Hazubski
90e858e5bd Update latest conformance version passed
Change-Id: I17b77b84a47a6e383082b0b35487bca8aaec05bf
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-01 17:29:49 +02:00
Adam Cetnerowski
269bb21e2f ULT renaming: ICD Get Platform tests
Related-To: NEO-2236

Change-Id: I481f90cfd78ee76c2d414105399c3520744c013c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-01 16:42:56 +02:00
Zbigniew Zdanowicz
18ccd448f2 Unify programming of semaphore command
Change-Id: Iae9060935554df366d9687e9f16c3b5dce9155ee
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-01 16:26:33 +02:00
Andrzej Swierczynski
5f4d54c4fe Add revision specific tests and test files generation
Related-To: NEO-4838

Change-Id: I43cdd9108046239ec2535a9010762fb767b0c1eb
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-10-01 05:28:54 -07:00
Zbigniew Zdanowicz
9b057cfdac Rename blackbox test to avoid collision with loader sample of the same name
Change-Id: Ia8b8f7bc0a80520f7cbbe4447eb651858c711ce9
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-01 11:42:39 +02:00
Lukasz Jobczyk
d1a9174204 Enable early pin on direct submission
Resolves: NEO-5112

Change-Id: I79398dda9de3584d327e9448dd57e9a3ed37b377
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-01 10:42:13 +02:00
Zbigniew Zdanowicz
a0531c17b4 Remove RMW pattern on gfx memory by using dedicated methods
Change-Id: Iedf7c1d15b3ee5b1aa713b5817005cb801c01956
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-01 09:47:15 +02:00
Lukasz Jobczyk
e7a1b53ec7 Use new residency model if supported
Related-To: NEO-5007

Change-Id: I74ee500c94d2fea0f8d99dd1b912aa10536b6cae
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-01 07:58:29 +02:00