Jim Snow
37cd49330c
Implement ZE_CACHE_CONFIG_FLAG_LARGE_DATA for zeKernelSetCacheConfig
...
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2020-12-16 07:00:13 +01:00
Slawomir Milczarek
b2cae02f66
Add kernel fixture with stateless indirect access
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-15 13:23:37 +01:00
Pawel Wilma
d94e2bf149
Refactoring of per-DSS backed buffer programming
...
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 22:22:47 +01:00
Artur Harasimiuk
7716988dbb
cmake cleanup: removing unused targets
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-14 19:00:11 +01:00
Pawel Wilma
9bd0c69913
Add ClearColor allocation support for blitter
...
Related-To: NEO-5175
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 18:22:05 +01:00
Filip Hazubski
b0ed0dcc9b
Generate spirv builtins without specifying a device
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-11 16:57:44 +01:00
Mateusz Hoppe
0747cb80f5
Sip programming changes
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-11 15:05:30 +01:00
Mateusz Hoppe
778a4acca3
Initialize debugger structs
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-11 12:40:59 +01:00
Maciej Plewka
830bcd6987
Scratch using bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-11 09:38:44 +01:00
Jaime Arteaga
d46bb59508
Migrate shared-allocations made resident with makeMemoryResident
...
Shared-allocations are currently migrated to GPU by the page-fault
manager when calling executeCommandLists. Allocations to migrate are
taken from the lists container. However, if a shared-allocation
has been made resident with zeContextMakeMemoryResident(), it is not
added to the list container, and hence it is not migrated to device.
So, add a container of resident allocations to the driver and migrate
them along with the other allocations.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-11 03:27:42 +01:00
Jaroslaw Chodor
993ea27e25
Adding platform info for FCL
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-12-10 16:31:46 +01:00
Mateusz Jablonski
c8d1e082dd
Update getKernelInfo method
...
add root device index parameter to return proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-08 09:14:44 +01:00
Filip Hazubski
edbda8e8b2
Pass HwInfo to computeSlmValues function
...
Resolves: NEO-5215, NEO-5216
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 20:23:28 +01:00
Filip Hazubski
23d4967f79
Correct generating extensions list for compiler
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 15:15:49 +01:00
Kamil Diedrich
79d4af28de
Switch to c++17
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2020-12-03 15:15:32 +01:00
Mateusz Hoppe
8198a739c8
Refactor Sip Kernel usage
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-03 10:43:53 +01:00
Young Jin Yoon
da779d067f
Support the AND operation in EncodeMathMMIO
...
Related-to: LOCI-1161
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2020-12-03 01:56:22 +01:00
Maciej Plewka
7a5c9d39b5
Encode dispatch kernel with global bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-02 17:30:15 +01:00
Jaime Arteaga
be90b9ff93
Add support for ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED
...
Add support for device and shared allocations that use the
ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED flag, whether the
kernel using the memory is stateless or statefull.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-02 10:43:45 +01:00
Jobczyk, Lukasz
343fd602fa
Add method to submit kernel on single subdevice
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-12-01 22:15:05 +01:00
Maciej Dziuban
94be510c18
Add initial placement hints for USM in OpenCL
...
Related-To: NEO-5059
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-01 18:30:26 +01:00
Maciej Dziuban
b5c899cd18
Fix disabled unit test
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-01 17:52:34 +01:00
macabral
720ba46548
Register kernel Elf for debugging purpose
...
Signed-off-by: macabral <matias.a.cabral@intel.com>
2020-12-01 17:16:14 +01:00
Slawomir Milczarek
ff069c1171
Enable AUB memory dumps of USM allocations
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-01 11:24:41 +01:00
Kamil Kopryk
0d94f289b4
Add adjustAddressWidthFor Canonize helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-5285
2020-11-30 16:02:23 +01:00
Zbigniew Zdanowicz
4602220e62
Add manager of imported host pointers
...
Related-To: NEO-5126
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-11-30 13:28:25 +01:00
Filip Hazubski
6c4b1f951c
Do not force cl_khr_3d_image_writes extension when compiling kernels
...
Update usage of SUPPORTED_IMAGES flag and do not use images when disabled.
Use SUPPORTED_2_0 only on fully OCL 2.1 conformant platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-27 17:20:46 +01:00
Bartosz Dunajski
93ba4e646b
Improve EncodeDispatchKernel
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-27 16:39:34 +01:00
Krzysztof Gibala
baea633bdd
Correct logic in MultiRootDeviceFixture
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-11-27 16:22:39 +01:00
Lukasz Jobczyk
0829e4484e
Lock exec path if default memory operations handler is used
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-11-27 14:49:03 +01:00
Maciej Plewka
ded70b803d
Use common compile bindless flag
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-27 14:28:55 +01:00
Maciej Plewka
d4c5ee63f2
Dont return value from dispatchBlitCommands
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-27 14:10:32 +01:00
Sebastian Luzynski
ddbaf82f04
Add appendProgramVFEState function
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-11-27 13:35:50 +01:00
Bartosz Dunajski
53b4cee150
Debug flag to force device id.
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-27 09:10:48 +01:00
Bartosz Dunajski
60d0d4d67f
Move remaining SBA files to shared
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-26 17:11:57 +01:00
Slawomir Milczarek
e6a18aac73
Add query system info implementation stub on Linux
...
Related-To: NEO-4998
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-26 16:31:00 +01:00
Bartosz Dunajski
beb04bd2f8
Improve HostMemCapabilities helper method.
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-26 13:54:35 +01:00
Igor Venevtsev
cff80e38b8
Do not program MiFlushDw command as a timestamp operation for blitter
...
Resolves: NEO-4906
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-11-26 13:26:13 +01:00
Bartosz Dunajski
e8178ae493
Add appendExtraMemoryProperties method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-26 09:53:55 +01:00
Bartosz Dunajski
2ee8bad91f
Add appendExtraCacheSettings method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-25 14:08:35 +01:00
Bartosz Dunajski
8a703c082e
Add encodeExtraCacheSettings method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-25 12:27:20 +01:00
Bartosz Dunajski
bf61dcc849
setupTimestampPacket method cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-24 18:53:14 +01:00
Bartosz Dunajski
ae3ad3e8bc
Add method to adjust TimestampPacket
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-24 17:35:22 +01:00
Bartosz Dunajski
c5fb745260
Update PipeControlArgs helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-24 17:06:23 +01:00
Bartosz Dunajski
7ce2f0db38
Program pipe_control->tlb_invalidate under debug flag
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-24 14:29:29 +01:00
Maciej Dziuban
14f92cc7a1
OpenCL Queue Families extension 1/n
...
Basic implementation, some things will be tweaked in future commits
Related-To: NEO-5120
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-11-24 11:48:18 +01:00
Mateusz Jablonski
720326fd6a
Reorganize VS solution tree
...
Move scripts targets to neo scripts folder
Move spirv targets to shared builtins folder
Move compute_runtime_mockable_extra to ze_intel_gpu folder
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-23 19:06:20 +01:00
Mateusz Hoppe
8aacad1854
Create DebuggerL0 only when debugging is supported
...
Related-To: NEO-5239
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-23 18:28:45 +01:00
Bartosz Dunajski
8dfea40242
HwInfoConfig cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-23 15:28:10 +01:00
Adam Cetnerowski
154f7e87be
Framework for adding custom device names
...
- Add new macro to define custom name
- Add handling for custom name
- Remove gen from generic name
Resolves: NEO-5251
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-23 12:24:53 +01:00
Slawomir Milczarek
8a4bf3782a
Code clean-up related to small LMEM BAR configuration
...
Related-To: NEO-4876
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-23 12:10:45 +01:00
Slawomir Milczarek
b4444c7660
Move close shared handle to the upper layer on Linux
...
Related-To: NEO-5274
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-23 11:45:05 +01:00
Mateusz Hoppe
fc9be73491
Fix segfault on debugData access with SourceLevelDebugger
...
- add mock active debugger mode
Related-To: NEO-5290
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-23 10:52:19 +01:00
Maciej Plewka
c80353587f
Patch bindless offset
...
Related-To: NEO-4724
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-20 23:02:36 +01:00
Sebastian Luzynski
556b6cd457
Add concurrent kernel execution type
...
Related-To: NEO-4940
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-11-20 16:12:42 +01:00
Bartosz Dunajski
ba51cf5380
Bring back adjustPlatformForProductFamily() method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-20 15:26:28 +01:00
Mateusz Hoppe
7330f989ef
Refactor bindAvailable
...
Related-To: NEO-5316
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-20 13:35:28 +01:00
Igor Venevtsev
3491a425a3
Fix time stamps completion
...
- ignore globalEnd tag
- check contextEnd tag is not 1
Resolves: NEO-4906
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-11-19 18:50:56 +01:00
Bartosz Dunajski
e08bd20289
Add queryItem flags to drm query ioctl
...
Signed-off-by: Bartosz Dunajski bartosz.dunajski@intel.com
2020-11-19 18:26:12 +01:00
Bartosz Dunajski
949137e068
Remove not used method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-19 17:55:50 +01:00
Mateusz Hoppe
765b6cc2ed
Initialize debugging in Os before creating debugger
...
Related-To: NEO-4516
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-19 16:31:31 +01:00
Mateusz Jablonski
920d873657
Improve VS solution tree
...
Move shared specific targets to neo shared folder
Move opencl specific targets to opencl runtime folder
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-19 13:53:51 +01:00
Vinod Tipparaju
240563099c
Clean up code for nullptr device check during cmdlist create
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-11-19 04:24:34 +01:00
Maciej Plewka
28de4068c9
Read bindless offset from patch token
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-18 17:04:00 +01:00
Bartosz Dunajski
1350f29379
Add support for FtrLocalMemoryAllows4KB flag
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-18 11:45:08 +01:00
Mateusz Hoppe
13c1fe57d9
Enlarge output buffer size used by kernel printf data
...
Related-To: NEO-5208
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-18 11:07:08 +01:00
Kamil Kopryk
b59aa2f928
Rename command_encoder_base.inl file
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4750
2020-11-17 13:22:00 +01:00
Bartosz Dunajski
39e6548ef6
Add mi_arb_check between blit commands
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-17 13:07:50 +01:00
Mateusz Hoppe
b384bda99a
Exclude internally used cmdLists and cmdQs from debugging
...
Related-To: NEO-5241
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-17 12:17:34 +01:00
Kamil Diedrich
403ebc843c
Add support for media formats
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2020-11-17 10:36:29 +01:00
Slawomir Milczarek
4ca1784712
Fixed close fd after calling drm ioctl prime fd to handle
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-16 14:16:33 +01:00
Mateusz Hoppe
0f42ef1ed7
Differentiate between users ISA and internal ISA allocation
...
Related-To: NEO-5240
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-16 13:16:30 +01:00
Maciej Plewka
dad1dcebc3
Add L0 hw helper
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-15 23:58:12 +01:00
Mateusz Hoppe
a2d2bd629a
Fix release build issue with debugPauseStateAddress
...
Restore volatile for debugPauseStateAddress csr member
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-13 15:51:00 +01:00
Bartosz Dunajski
682d2f9029
Initial WDDM_LINUX support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-13 12:51:25 +01:00
Bartosz Dunajski
bc1e772ec2
Set correct device bitfield for L0 command queue allocations
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-13 12:37:16 +01:00
Slawomir Milczarek
8323ddbb3b
Close fd after each drm ioctl prime fd to handle
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-13 08:36:06 +01:00
Mateusz Hoppe
e4c70fb6d3
Fix threading issue with debugPauseState
...
Related-To: NEO-5277
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-12 23:24:33 +01:00
Filip Hazubski
ed04053007
Add hwhelper function allowRenderCompressionForContext
...
Rename and unify compression related functions.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-12 13:16:51 +01:00
Bartosz Dunajski
f7905128ca
Dont inject commands between blits
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-10 16:57:13 +01:00
Bartosz Dunajski
40d5cc71c9
Windows includes cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-09 14:35:38 +01:00
Jaime Arteaga
6f582adf5a
Only add indirect USM allocations to container once
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-06 21:46:52 +01:00
Katarzyna Cencelewska
e060536a32
Add check in allocateGraphicsMemory64kb to not use cpuPtr
...
when isRenderCompressed
Related-To: NEO-4532
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-11-06 17:14:07 +01:00
Bartosz Dunajski
3ed2823d45
Revert "Always reserve 48 bit window on 57 bit CPU"
...
This reverts commit 8f10db0c7ff13a72526141269ad09142a5d74e5f.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-06 14:12:46 +01:00
Kamil Kopryk
60c9bbea22
Disable blitter support for images
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-11-06 13:09:24 +01:00
Kamil Kopryk
77a5443f90
Add isMediaBlockIOSupported helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4848
2020-11-05 15:14:28 +01:00
Krzysztof Gibala
3d9a180c12
Implement local memory path for all devices in buffer
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-11-05 15:01:58 +01:00
Michal Mrozek
ad747a5cbf
Make comment more verbose.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-11-05 13:03:41 +01:00
Maciej Plewka
4745b7d20b
Add globalDsh and ssh for scratch in bindlessHeapHelper
...
Change-Id: Ieab07271425a2898d79854a3d0b3ade25bc37c51
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-04 10:22:50 +01:00
Bartosz Dunajski
7cf5f02433
Update blit parameters
...
Change-Id: Ib1d12d37d1bc43ac0cc377dbafef77331d26fd9a
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-03 14:21:35 +01:00
Vinod Tipparaju
8e6be83fcc
Add cmdContainer ULTs - idOffset & numIdd reset, Gfx alloc failure
...
ULT required to cover IDOffset and numIdd values during reset.
ULT required to cover OUT_OF_MEM retrun during init.
Fix to check for valid gfx allocation inside heap helper & destructor
Change-Id: Ied9049b33dc0605d5f5f51c96114d5e96b26a4f7
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-11-03 13:22:44 +01:00
Slawomir Milczarek
b7d5427f01
CPU access disallowed mode and blitter amendments
...
Related-To: NEO-4876
Change-Id: I7d6de1a0530e9c4f8bcf302824242033d3ca724a
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-03 13:04:28 +01:00
Mateusz Hoppe
4d2750161d
Move OsAgnosticMemoryManager to shared
...
Resolves: NEO-5188
-move MockGraphicsAllocation to shared
Change-Id: I17e90af48183f003151fab075a46e40d7df3f160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-02 21:02:53 +01:00
Lukasz Jobczyk
045632f355
Add new unified shared memory model
...
Related-To: NEO-3312
Change-Id: I640fb8d120729fa8bb2a23ff65c74c41ef27260d
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-11-02 19:23:40 +01:00
Maciej Plewka
44af85b492
Return correct maxFillSize property
...
Related-To: NEO-5205
Change-Id: I62b7fec89451c640f70028b8d3ecb81f7655225d
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-02 16:10:01 +01:00
Jaroslaw Chodor
0e9be40a7c
zebin - fixing missing image metadata
...
Change-Id: Iae49aacb2fb7b38eea987a5fb283f12fc75718bf
2020-11-02 14:10:49 +01:00
Mateusz Hoppe
4df533f63a
Use full path when loading SourceLevelDebugger library
...
Change-Id: I27f7ee2b8944b9890ab4b141c06e9c2f0a8dffb1
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-01 18:18:38 +01:00
Bartosz Dunajski
d35806fdd8
Improve returning global and max alloc memory size
...
Change-Id: I2f22481412184f01652b7e49bc30a57c56e6204b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-30 15:58:42 +01:00
Zbigniew Zdanowicz
c678f3d9b0
Make DeviceBitfield argument constant
...
Related-To: NEO-5225
Change-Id: I14a5a4cc3394cd2b58a74bda183c734a0d17ac25
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-30 13:45:32 +01:00
Jaroslaw Chodor
345e56a151
Zebin improvements
...
* cleaning-up per-thread buffer size calculations
* fixing default slm alignment to 16
* adding scratch space slots
* renaming slm addressing mode
* adding support for zeinfo version
Change-Id: I0450353788b8488a685976d7f1dd26a44360383c
2020-10-29 16:33:21 +01:00
Mateusz Hoppe
d539a7f8e4
Adjust AllocationProperties for SBA tracking buffer
...
Change-Id: I00d9d40c854c45775254b017997c53f17559daa4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-29 15:48:25 +01:00
Mateusz Hoppe
ac3b65ba82
Refactor isDebuggerActive
...
- use it for SourceLevelDebugger only
Change-Id: I130219a13d6baa1f72c5b35295afd6efa4bf37fa
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-29 12:21:18 +01:00
Kamil Kopryk
523887019b
Rename debug flag to EnableBlitterForEnqueueOperations
...
Change-Id: I9ae8dfc1e86a837c600ee9099e936fc4a64c80b1
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-10-29 12:00:09 +01:00
Kamil Kopryk
bc6ba0688e
Limit usage of blitter for images
...
Change-Id: I15223ef4ebdbfef67b05647188bdd92d35a9dcad
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2020-10-29 11:53:21 +01:00
Maciej Plewka
6bb4112d1e
Create heap helper for bindless
...
Related-To: NEO-4724
Change-Id: I62527a3ad06dce5d886b6ecfebd3c9abc46f6741
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-29 10:51:38 +01:00
Zbigniew Zdanowicz
30a67618f8
Add DeviceBitfield argument to CSR constructor
...
Related-To: NEO-5225
Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-28 17:10:31 +01:00
Mateusz Hoppe
65690ccb21
Fix indirect dispatch programming
...
Related-To: NEO-5195
Change-Id: I82975abaa6323d27d3718ce1619748f7d83b55b4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-28 01:06:08 +01:00
Mateusz Hoppe
f3ab44da5a
Remove classNames
...
Related-To: NEO-4964
Change-Id: Ib55626e811046eb66db0d9fe90697f9db7353afe
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-27 17:53:30 +01:00
Lukasz Jobczyk
bec239211b
Disable new residency model
...
Change-Id: I1b31296cfe3fff6b32cf6c6bc3cbcb1a7c1647d5
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-27 16:43:22 +01:00
Mateusz Hoppe
d380f6898c
Add isa cookie registration
...
Related-To: NEO-4552
Change-Id: I0a53deb92d19a2b6f2ce9385c17d82998d2a26d6
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-27 13:51:21 +01:00
Igor Venevtsev
67a31d0975
Check for supported CPU VA size in GfxPartition initialization
...
Resolves: NEO-5220
Change-Id: I081b0c693e9d7a468be81e12d7f816fada5da21d
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-10-27 13:19:56 +01:00
Sebastian Luzynski
5014861783
Minor code fix
...
Change-Id: I1e666b9032deb6aa7287c6d9e247cfef5ea35c7c
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-10-27 10:42:56 +01:00
Bartosz Dunajski
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
Sebastian Luzynski
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
Mateusz Hoppe
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
Andrzej Swierczynski
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
Plewka, Maciej
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
Filip Hazubski
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
Jaime Arteaga
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
Pranav Tendulkar
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
Mateusz Jablonski
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
Jaime Arteaga
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
Bartosz Dunajski
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
Pranav Tendulkar
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
Filip Hazubski
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
Mateusz Hoppe
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
Piotr Zdunowski
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
Lukasz Jobczyk
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
Kamil Kopryk
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
Bartosz Dunajski
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
Maciej Plewka
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
Bartosz Dunajski
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
Michal Mrozek
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
Mateusz Hoppe
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
Zbigniew Zdanowicz
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
Slawomir Milczarek
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
Michal Mrozek
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
Pawel Wilma
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
Filip Hazubski
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
Lukasz Jobczyk
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
Mateusz Jablonski
7c086c9fb4
Use StackVec instead of std::vector in ClDeviceVector
...
Related-To: NEO-5001
Change-Id: Icab72b5be9f32abf10efd93614768b256aa2ac2c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-16 17:51:40 +02:00
Kamil Kopryk
8e44038f9a
Revert "Add blitter support for read/write image OpenCL"
...
This reverts commit cc6d6968dd
.
Change-Id: I2696f05c5d1e3959f60239ca49483b00ad1b36ec
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-10-16 15:59:58 +02:00
Lukasz Jobczyk
3e762b25c0
Split buffer object validation and early pinning
...
Change-Id: If1b136807dc8593179ce743c8e0187ee80c3e95f
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-16 14:13:33 +02:00
Lukasz Jobczyk
6b0e12ed94
Return error code from BufferObject::bind
...
Change-Id: I12df63a651c8b0aa0a0b296ae0c8732ddf789a98
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-16 13:05:52 +02:00
Lukasz Jobczyk
574cd634b9
Refactor bo pinning
...
Change-Id: I451fa5225096829ea7131d159eb59f906817b2cd
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-16 12:55:57 +02:00
Filip Hazubski
d27374b468
Move aub related files to aub directory
...
Additionally remove dependencies on opencl code from aub and tbx code.
Related-To: NEO-3964
Change-Id: Ie81b7d274e2f22b6090df0e07c45123618af5cae
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-16 12:05:58 +02:00
Kamil Kopryk
cc6d6968dd
Add blitter support for read/write image OpenCL
...
Change-Id: I5d8bf0590899751f1f562fd55e44b0ed36ca6110
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2020-10-16 11:59:03 +02:00
Mateusz Hoppe
4623cb3f85
Create module debug area allocation
...
Related-To: NEO-4550
Change-Id: I1aa151134cb51a7d4f578de3b08cdd51aefc58f2
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-16 11:21:39 +02:00
Filip Hazubski
60bfcbd69f
Move populateFactoryTable() to shared
...
Related-To: NEO-3964
Change-Id: I9da0395265dc164deda219d5390dd9540e04f9aa
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-16 11:07:38 +02:00
Filip Hazubski
34176a8ea9
Correct formatting
...
Change-Id: I592986cb67099136a75d12ad3bc9729c7f85738b
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-16 10:46:26 +02:00