Lukasz Jobczyk
37c79dede8
Fix direct submission start on Linux
...
Related-To: NEO-5007
Change-Id: I60e6443d92ab1345d47c3438633a3bc41bf4ede6
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-15 15:33:55 +02:00
Maciej Dziuban
97ec64d22c
Optimize first access to shared allocations
...
Change-Id: Ia3ce5f1e448128e7c9dfffb9ad49aaee15bdf948
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5059
2020-09-15 12:59:07 +02:00
Jaime Arteaga
57e462d8ee
Remove legacy affinity mask format
...
Change-Id: I17e9ad131c888bdaceb7d14dd7b5aa9b5aec14d7
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-15 11:42:04 +02:00
Jaime Arteaga
c5b214e554
Correct validation of error returned by mmap
...
mmap() on error returns MAP_FAILED, which is (void *)-1,
not nullptr
Change-Id: I7ed13fbf99b4a422e2586791a3a4d76234d7e3a6
Signed-off: Gengbin Zheng <gengbin.zheng@intel.com >
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-15 11:27:24 +02:00
Maciej Dziuban
7c7cfb1099
Delete unneeded memory transfer for USM
...
Change-Id: I7b11a132b621069febd5b851f9e29e7177d8d395
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5059
2020-09-14 16:13:58 +02:00
Pawel Wilma
b54a5a795a
Use appropriate DwordLength in MI_STORE_DATA_IMM command
...
Change-Id: I2d5a07e511f15e28acd6d0dfe7b84fac6dd8e9a3
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2020-09-14 16:10:20 +02:00
Zbigniew Zdanowicz
7d506e3608
Add debug flag to enable compression in L0 USM allocations
...
Related-To: NEO-5069
Change-Id: Icbfeb8d72cd764bb3c90d5c699998455f81dd3ee
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-14 12:47:33 +02:00
Kamil Kopryk
cbf838e5ab
Remove unnecessary code
...
Change-Id: I7a38c1f2f65d650a566996bac1f8ff54c50d7bed
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-09-14 11:24:17 +02:00
Mateusz Hoppe
ada57435b4
Remove platform() dependency from DrmMock
...
Change-Id: I58a21dede469da95593e241528459761322c0730
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-12 18:05:14 +02:00
Mateusz Hoppe
88ee48498b
Use snprintf
...
Change-Id: Iece1320560e0f5a93f47cd67626435266de56ce9
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-10 09:21:01 -07:00
Kamil Diedrich
220ae46b8a
Remove DEBUG_BREAK
...
Change-Id: Ibe1c152854d3c84b6cc0af50205ea730fcf4ad63
2020-09-10 14:57:31 +02:00
Mateusz Hoppe
0e7ec82577
UUIDs generation
...
Related-To: NEO-4964
Change-Id: I0ef5912fb744788f713803f539551c7b0b134208
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-10 13:57:05 +02:00
Lukasz Jobczyk
b2ee148da9
Split residency task count and always resident flag
...
Related-To: NEO-5052
Change-Id: I1ae5f40a0e3ccc6fc269278f986709becccdaca6
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-10 12:28:18 +02:00
Jaime Arteaga
2527015bb8
Validate rootDeviceIndex before retrieving multiGraphicsAllocation
...
Change-Id: I4a5f6e8ae333e8daed13053fb2049fc5757736b5
Signed-off: Gengbin Zheng <gengbin.zheng@intel.com >
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-09 14:06:19 +02:00
Kamil Diedrich
5823450343
Refactor in queryKernelTimestamps
...
Change-Id: Icc0731c973fe797946eea06db29b0737ceef8778
2020-09-09 12:56:32 +02:00
Jim Snow
9f21418c4f
Disable gemCloseWorker for internal DrmCommandStreamReceivers
...
Change-Id: I71abdcb417342110ddc64cc9b1dacecc24c78aac
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-09-09 12:31:24 +02:00
Jaroslaw Chodor
6472d7b5e2
Ocloc lib documentation
...
Change-Id: Ie82861e0ace503c26eb9e04816ef4c7b5c9fdb83
2020-09-09 10:33:41 +02:00
Kacper Nowak
f05f835227
Move test kernel compilation to shared tests
...
Change-Id: I623a94cf9f6baa29fe23b94541f578c8a9680f92
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2020-09-08 16:31:15 +02:00
Kacper Nowak
5358f2cf9c
Create a library with .spv kernels for L0 use
...
Change-Id: Ia319c5621e363f750159d58aaedd81e411d3babb
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2020-09-08 13:06:40 +02:00
Filip Hazubski
f3e9e943a3
Add new feature macros
...
New feature macros are:
__opencl_c_images
__opencl_c_fp64
__opencl_c_int64
Change-Id: Ibe4b01ea9799db1f201dc379a37cb661754795db
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-09-08 12:13:53 +02:00
Jaime Arteaga
9ceff528b5
Add toggle for enabling indirect access
...
Change-Id: I35d3e1580cd51fea5f6b139d524737e400f6e1bc
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-08 00:09:28 -07:00
Kamil Kopryk
145fd87f5d
Revert "Add adjustPlatformCoreFamilyForIgc helper"
...
This reverts commit 8fffdcc111 .
Change-Id: I0415b004ef0a1465bc2658cadc66f21a99302eca
2020-09-08 07:36:26 +02:00
Zbigniew Zdanowicz
e910e28819
Add start override to Direct Submission debug flags
...
Related-To: NEO-5010
Change-Id: I6d690d3f1aef9ad377ad44db0f3be753ad831f63
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-07 21:21:31 +02:00
Jaroslaw Chodor
a4ba92338a
zebin - strip kernel name of quotes
...
Change-Id: If8054c01ea1992c0ba998e22b726b127c652beed
2020-09-07 18:25:36 +02:00
Jaroslaw Chodor
2d4468bb3b
Ignore SHT_ZEBIN_GTPIN_INFO
...
Change-Id: I85c5bd52d96dce6603329bfe997a70dc5a432d3f
2020-09-07 18:04:37 +02:00
Jaroslaw Chodor
6c0da29670
Adding support for R_PER_THREAD_PAYLOAD_OFFSET_32
...
Change-Id: Iacd8d2f84b6f307b37dd09fe794357bf4fa44388
2020-09-07 17:51:42 +02:00
Maciej Dziuban
abacd69def
Optimize appendWriteGlobalTimestamp
...
Change-Id: Ia63a6324c3ce3dbdc18b790b3d9c2fbe4340e88c
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Resolves: NEO-5061
2020-09-07 17:25:59 +02:00
Mateusz Jablonski
48c084ca32
Create platformsImpl when needed
...
Change-Id: Ie89356761fc39910c765066d40cd363c93002692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-07 16:36:40 +02:00
Jaime Arteaga
5c1e60208e
Share USM host pointers among devices (2)
...
Dont pin and instantiate buffer objects associated with a USM
allocation for device >0 at allocation time, but instead, just
do a USERPTR ioctl, as with the allocation associated with
device 0.
Change-Id: Ib37f379df177d14e9d2781a3ed6335cd9550cc87
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-04 12:10:06 +02:00
Spruit, Neil R
3c44c6f942
Fix Windows Adapter Enumeration to ensure Render/Compute support
...
- On Windows, if one uses remote desktop to connect to their windows machine,
then attempts to run compute workloads, a shadow intel graphics device
is created and L0/OpenCL will report 2 devices for a single device.
- This second device is not valid and if used will cause workload failures.
- to ensure that only usable devices are reported by L0/OpenCL, we now check
the Adapter for its Support in D3DKMT_ADAPTERTYPE which for our use must
have RenderSupported. The Shadow devices only support display and not
rendering/compute, so this check will avoid reporting a display only
intel device for compute usage.
Change-Id: Ib619c454aea2deb91135e7958efbca1cee5a05eb
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-04 12:00:47 +02:00
Lukasz Jobczyk
9ea9baf1ad
Prepare to switch to new residency model
...
Related-To: NEO-5007
Change-Id: Ia9b43ca7fea0ef315af5caff5a53a84ffc363937
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-04 11:42:59 +02:00
Pawel Wilma
0e50c3f7bb
WA for integer divide emulation on DG1
...
Resolves: NEO-5003
Change-Id: I2f0d6730cab53335f34ebd8e335a9517030d6441
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2020-09-04 10:44:51 +02:00
Zbigniew Zdanowicz
8ad6a025fc
Group debug keys to types used by keys
...
Change-Id: Idb13d8d6ff9692af8c34bf96bc23d16e0b58e9e2
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-04 10:28:16 +02:00
Mateusz Jablonski
32c0320b1b
Move platforms destructor from static lib to shared library
...
Change-Id: I5ae4aaf816571e2531a5049e63b1dafc35c1e999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-04 09:59:13 +02:00
Lukasz Jobczyk
71f99f4174
Optimize mergeWithResidencyContainer method
...
Related-To: NEO-5007
Change-Id: I7145371c719ceeebf529fdf94a512a8398156591
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-04 09:04:09 +02:00
Kamil Diedrich
57269b97a3
Use global timestamps instead of local
...
Change-Id: Ie39b242915a55aef60fcf7164199647299c91a21
2020-09-03 16:39:36 +02:00
Koska
354720743b
Enabling MTP on Gen12LP
...
Change-Id: I0ca08ea8dba3f34b5404ea598a16541d0128b37a
Signed-off-by: Koska <andrzej.koska@intel.com >
Related-To: NEO-4785
2020-09-03 13:47:34 +02:00
Vinod Tipparaju
083edd1a3e
Thread safety violation fixes - Events & USM
...
Change-Id: I57de59f204d9fd4407be768d0b14bf579dae967d
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-09-03 08:54:34 +02:00
Piotr Zdunowski
a568739061
Only use blitter on dg1 for allocations with no cpu pointer.
...
Change-Id: Id52df50f5630461ffc83097d7e74d402599bed56
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-09-02 17:43:52 +02:00
Mateusz Jablonski
442b6cfc47
Verify GL sharing based on primary display's luid
...
Resolves: NEO-5016
Change-Id: I244536fdd8acacfeb423ae09e13191df66c4f74a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-02 17:14:13 +02:00
Piotr Zdunowski
48e7ca6102
Opensource RKL.
...
Resolves: NEO-5017
Change-Id: I29364aa331f802bd298bd08df440aa1e33dd3c4e
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-09-02 17:06:51 +02:00
Jaime Arteaga
401dcf8c2a
Enable local memory bank in DG1 (2)
...
Add ULT
Change-Id: I58cd200fd8e35b4afde935c7bd46cf4bfcf1bf0c
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-02 00:40:02 -07:00
Mateusz Jablonski
40d487fa90
Add global destructor of platforms
...
Change-Id: I7f0c9a9a13cae5cbf831e0d4e410c78c001a75d1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-01 17:26:17 +02:00
Zbigniew Zdanowicz
1afc985577
Add blitter support to direct submission
...
Related-To: NEO-5010
Change-Id: I084cec54a233e920b2868d2a61c60d1d87d0a91e
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-08-31 20:23:02 +02:00
Slawomir Milczarek
c7e92738c6
AUB allocation dumps on clEnqueueSVMMemcpy only
...
Related-To: NEO-4763
Change-Id: I2efc87ec4c43b2e1d010cc5d9608599b8ab34394
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-08-31 17:34:44 +02:00
Jaroslaw Chodor
36d350c8fc
Zebin per_thread_memory_buffers
...
Change-Id: I66074ac9f1d5b1417dfad5c044149e86ab9aad1d
2020-08-31 15:09:49 +02:00
Konstanty Misiak
86b133207f
Print ocloc cmdline after compilation fail
...
Related-To: NEO-4784
Change-Id: I451d6e0a67fc185d610e5d2dd4ff6a3f6542ca4c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-08-31 15:06:17 +02:00
Krzysztof Gibala
dcf708f2d2
Add proper ULTs to test createMultiGraphicsAllocation function
...
Related-To: NEO-4589
Change-Id: Ic78dee29f7715a6e5eff5b5c28f337452921d5b3
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-08-31 14:49:16 +02:00
Lukasz Jobczyk
067fea96ca
Fix typo
...
Change-Id: I83f38c41f822f62688b618b84eb8221a160d3528
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-08-31 14:44:40 +02:00
Lukasz Jobczyk
847b8506c3
Return status from Drm::queryVmId
...
Change-Id: Iec886c91de2920904bc3bec8e8811afd355b8738
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-08-31 07:11:28 +02:00