Commit Graph

5985 Commits

Author SHA1 Message Date
kvladimi
72d3cd50d7 Adding information about -help and reformatting VC options to 80 symbols
Change-Id: Id9498c51d723f5b5583466bd6f1b2f62833f0902
2020-10-13 12:51:29 +02:00
Pawel Wilma
0c3d430f50 W/A for disabling RCC RHWO for compressed media surfaces on gen12lp
Whenever media compressed surface is used, the RCC Read-Hit-Write optimization
disable bit (14) has to be set in Common Slice Chicken1 register (7010h).

Related-To: NEO-4982

Change-Id: I71b91b52692252459da05b737838eb4854575974
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-13 11:52:15 +02:00
Zbigniew Zdanowicz
ca023fa532 Fix L3 and Math programming
Change-Id: I4ffd729beeed95b0806dd284665c72fb424b0ffc
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-13 11:41:38 +02:00
Jitendra Sharma
483447238a Add sysman handle for subdevices
Change-Id: I0f6986e7f5ed424ee2af759a5e70587289e1987b
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-12 20:23:29 +02:00
Mateusz Jablonski
b77f9bf8d1 Remove Program::setDevice
device should be passed to constructor

Related-To: NEO-5001
Change-Id: If4c64ec405bdd3beaccc7c09644e22fc98a02249
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-12 20:22:45 +02:00
Artur Harasimiuk
b95c6ca2cc infrastructure update
Change-Id: If13037ddafd558e382d8e1653d2314466674ac34
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-12 19:24:54 +02:00
Spruit, Neil R
976dad2e17 Updated BaseSurfaceStateAddressAlignment to PageSize to handle Block R/W in L0
- Block R/W in kernels requires a minimum of 16B alignment/OWORD
alignment to properly work without data corruption.
- Level Zero currently writes Base Surface State addresses alignment to
4B vs OpenCL writes Base Surface State addresses aligned to PageSize for
4KB.
- Added a function in encode buffer to verify that at a minimum the size
being encoded has the minumum alignment of 4B which is supported, but
will not support Block R/W

Change-Id: I6486c2cbbb0008834c779bf54918388d79c193bb
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-10-12 19:14:25 +02:00
Bartosz Dunajski
27f9a95af2 Refactor: Common helper for Blit and CPU memory transfers
Change-Id: Icc61f82517e75e3066e441494af3bf9a7ffbbeef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-12 18:29:42 +02:00
Adam Cetnerowski
33ce6910c5 ULT renaming: Scheduler Dispatch tests
Related-To: NEO-2236

Change-Id: I5074cd1b46bbd91a306157579356571a735b6b14
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-12 18:18:38 +02:00
Mateusz Jablonski
3718463722 Update internal
Change-Id: Ie77b29a412d403dedea9d965189e6a97242912ea
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-12 16:35:16 +02:00
ocldev
6d71adf5ff dependencies update
Change-Id: I7d660c337031da6ae120e51dbd8cccff70128a38
2020-10-12 15:59:31 +02:00
Andrzej Swierczynski
980717491e Update infra
Change-Id: Ic7160121ab4abe78cd7628b965f641313dcd5194
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-10-12 14:55:40 +02:00
Vilvaraj, T J Vivek
113a5170b1 Implement zesDeviceGetState() API
Change-Id: I035bdd0ddd7b8bdf6054c743a9f2723ee292a897
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-10-12 14:27:19 +02:00
Mateusz Jablonski
633cb3a243 Restore self-open ze_intel_gpu library on Linux
Change-Id: I3110c9b36d3cca660e87f3eae969d621dd6fe230
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-12 14:20:33 +02:00
Lukasz Jobczyk
99f0d2b1db Add debug flag for BO mmap creation
Change-Id: I1b0dc8b9328bf3aab64ceeaf9f1c5aeb4199eb08
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-12 12:36:28 +02:00
Kamil Diedrich
9e463ab45f Track all ssh in cmdList
Change-Id: Ibffb7b7b406e5e17d4ffb971fd0789557c879367
2020-10-12 12:12:12 +02:00
Maciej Dziuban
38ca6e9862 Disable L1 for Gen12lp
Change-Id: I3b0ec2a6ea9a3bb72507ff66d314bfb1ad7a6a81
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-10-12 11:18:55 +02:00
Adam Cetnerowski
ef76c7bdf6 ULT renaming: Enqueue Execution Model Kernel tests
Related-To: NEO-2236

Change-Id: Ic1077902f488b76a8b98b6d2d3cb09758346e56b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-11 20:28:23 +02:00
Filip Hazubski
2169d8f3aa Add ULT for PrintfHandler::prepareDispatch
Verify blitter usage.

Change-Id: I4ceb9c4cd4affea93751eb518aed5efaa0a6d829
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-09 17:07:45 +02:00
Mateusz Hoppe
0e935b0e10 Add allowCapture flag to BufferObject
Related-To: NEO-5026

Change-Id: I69a9f270272a13fccdd1d8dd8b13ad03ef93cb79
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-09 17:04:43 +02:00
Mateusz Jablonski
e48c056b9f Simplify exporting functions in level zero
Don't self-open library

Change-Id: I94f69498b089746f0902953735321d69fdba563f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-09 16:41:42 +02:00
Kanhaiya
872049978a Fix TDP/REQUEST reading
Change-Id: I7b4f2f176696a4f4636934accebf71ed3285427c
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-09 16:38:48 +02:00
Lukasz Jobczyk
a939c89d91 Create internal BOs with map offset
Resolves: NEO-5097

Change-Id: I842f3d482420373cc630d5bfc034e229fa2cb30c
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-09 16:38:03 +02:00
Filip Hazubski
da524fa03d Correct Intermediate Language related implementation
Change-Id: Ib2bdd21c255245767df787797bb5cfe05482e489
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-09 16:00:56 +02:00
Filip Hazubski
410e3c0ced Add ULT for Linker::patchDataSegments
Verify blitter usage.

Change-Id: Ic6dc10df967b8b22a86c29dee6a8df0d357ddf65
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-09 15:35:12 +02:00
Maciej Plewka
2ebee73e4b Unify bindless debug flags
Change-Id: I6a9313722eed01b935707e93cad532adddcc78af
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-09 14:49:50 +02:00
Zbigniew Zdanowicz
bf32740f97 Move BTI programming to shared code
Change-Id: Ie9d67c1d883f24cfec13ea1618d834d746c0d5be
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-09 13:56:44 +02:00
Konstanty Misiak
493434c8e9 Use mock environment vars in tests
Related-To: NEO-4922

Change-Id: Ibf357b1db24ab63d2af6171cd66b5de2671b519c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-10-09 11:54:31 +02:00
Bartosz Dunajski
fb0651521d Linker: Fix incremental patching for local memory allocations
Change-Id: Ib85e4a2abc8a62477003853aa0c35f8107444f4e
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-09 09:13:42 +02:00
mraghuwa
2643346b48 Update Sysman RAS Module
Change-Id: I2b99dae4336811ea4b539da48c1434657a9cf62a
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-10-09 08:23:19 +02:00
Mateusz Jablonski
fc090f74c6 Store device binary per root device in program
Related-To: NEO-5001
Change-Id: I9834f6894625031c734c68ebf210e6042c470ec7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-08 19:05:04 +02:00
Adam Cetnerowski
9c1b818598 ULT renaming: Device Queue tests
Related-To: NEO-2236

Change-Id: I524f6475cc8f3156f78c104c2ae12024c0da51b4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-08 18:15:24 +02:00
Adam Cetnerowski
ea1e27953d ULT renaming: Flush Task tests 2/2
Related-To: NEO-2236

Change-Id: Ic7d2075d4c6b48777b24c5acdade63211524978e
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-08 17:46:45 +02:00
Jaroslaw Chodor
91a36bf277 ocloc - preserve input spirv in output elf
Change-Id: I1205a5c655d643e0d6150f9dc7edaae30ad15225
2020-10-08 15:37:57 +02:00
Zbigniew Zdanowicz
4e3679b8ae Move local ids generation code to shared directory
Change-Id: I5b0486ceae8d67d0c1d1be56a756c102226d7e2a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-08 15:02:36 +02:00
Maciej Dziuban
83b0932beb Force even context count for DG1
Change-Id: I3ac7cc9562bf1fcdc1ccf75b6f1852787661b475
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-10-08 12:58:21 +02:00
Maciej Dziuban
8fcd51c2c8 Do not obtain command stream if it will not be needed
Change-Id: Id7fa1c6b78e71a085084f8fcb66a7b8e873ad2bc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-10-08 12:24:03 +02:00
Kamil Diedrich
960860e4cb Fix reservation size
Change-Id: I1cc3d4405b00365908c5915c9d2a1c512d572530
2020-10-08 10:57:08 +02:00
ocldev
a9d0ead3c5 gmmlib revision update
Change-Id: I9e2779a1032e800533580502a1006dc84a71fa29
20.41.18123
2020-10-07 22:15:51 +02:00
Bartosz Dunajski
d07362c992 Use blitter to initialize Global surface if required
Change-Id: I53cc532a5b5edd16a32deaf987f85db4224b9945
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-07 17:11:48 +02:00
Mateusz Hoppe
2b3d45b5ad Update internal
Change-Id: Ib63d3c87483b88cebb74440b3f03af5bfe8449b4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-07 16:56:14 +02:00
Filip Hazubski
7d0f23bfc9 Enable OpenCL 3.0 by default on all devices
Change-Id: Ic5e46177c957896c499b7aa6727af48105b664ac
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-07 16:44:10 +02:00
Bartosz Dunajski
595f374634 Dont use blitter for local memory transfer if not available
Change-Id: I5f43113498b59e3f1b8cb280c9feeccae8ff6140
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-07 15:55:22 +02:00
Harasimiuk, Artur
0848d62592 Revert "igc revision update"
This reverts commit fb994297a7.

Change-Id: I30cb42e4854ad639c1045ef61caee5203a143eaf
2020-10-07 14:40:25 +02:00
Kamil Diedrich
67e2853857 Add missing mockable_virtual in code
Change-Id: Ia8d041b68163a99cf4e9e399e825d39798425544
2020-10-07 14:25:04 +02:00
Adam Cetnerowski
74aea08d15 Add DG1 device
Change-Id: Iaa5a115577e2cf94160164e67bbafb79d0374ff5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-07 12:43:55 +02:00
Mateusz Hoppe
5fd113dcb3 CommandContainer.reset() clears lastSentNumGrfRequired
RelatedTo: NEO-5137

Change-Id: Icaad8224ee24f8c927b75e2efb17585a8b79918a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-07 12:24:04 +02:00
Kamil Diedrich
ce7e293a99 Extend scratch implementation
Change-Id: I1bbc0c9be287b1411276b1e61a7ec1c8db238f3f
2020-10-07 11:39:04 +02:00
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