514b191bb6
Add support for sysman event ZES_EVENT_TYPE_FLAG_MEM_HEALTH
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-11-19 17:38:02 +01:00
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
4c55491dc1
Update Sysman Memory APIs
...
This change:
- Currently for all subdevices in LinuxMemoryImp::getState function,
free and size values are returned similar values. This change fixes this
issue and now correct value of size and free memory is returned as
per subdevice.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-11-19 08:27:14 +01:00
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
905d59d7e3
Allow disabling statefull optimization in L0
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-18 22:33:05 +01:00
28de4068c9
Read bindless offset from patch token
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-18 17:04:00 +01:00
451f1e7e0d
Fixing residency of global const/var buffers
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2020-11-18 13:15:06 +01:00
a116d454fe
Sysman: Enabling events for Windows
...
Enabling events for Sysman in Windows Os Specific path HAL.
2020-11-17 16:37:19 +01:00
3ee9c509c7
Fix typo in appendQueryKernelTimestamps
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-17 12:17:52 +01:00
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
403ebc843c
Add support for media formats
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2020-11-17 10:36:29 +01:00
12598a82e5
Add support for external memory descriptors in device allocations
...
Add support for reading ze_external_memory_export_desc_t passed
to calls to zeMemAllocDevice. Current driver implementation
only supports handles as dma-buf, so add validation that only
that flag is being used.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-16 23:54:48 +01:00
627febba61
Fix include path
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-16 14:36:20 +01:00
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
dad1dcebc3
Add L0 hw helper
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-15 23:58:12 +01:00
b3700370a6
Remove dead-code functions for cache intermediate/last-level config
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-14 04:23:36 +01:00
682d2f9029
Initial WDDM_LINUX support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-13 12:51:25 +01:00
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
9c1739c095
Update zesFrequencyGetState and zesFrequencyGetRange
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2020-11-13 06:04:50 +01:00
e096e5b0f8
fix CmakeLists for sysman frequency
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2020-11-11 17:32:43 +01:00
3f6d1f5ee9
Correctly pass descriptors to L0 shared alloc function
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-11 07:04:54 +01:00
9473abc86a
Correctly pass descriptors to L0 device and host alloc functions
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-10 21:31:07 +01:00
f7905128ca
Dont inject commands between blits
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-10 16:57:13 +01:00
3f7af19c8f
Pass bindless options to compiler when bindless enabled
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-10 11:30:56 +01:00
f553e1e514
Return "OUT_OF_MEMORY" when gfx alloc on device fails during cmdqueue create
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-11-10 06:26:02 +01:00
4c5ff75371
Add wait events to appendMemoryCopy
...
appendMemoryCopy has wait events since v1.0, so add the corresponding
support. Other copy operations were missing passing this
in the entry points, but already had support internally.
Also, rename some variables for consistency.
Also, remove signal event from appendMemoryCopyBlit since it is not
used.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-09 21:28:26 +01:00
40d5cc71c9
Windows includes cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-09 14:35:38 +01:00
044695f3e4
Stop self-opening ze_intel_gpu library
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-09 14:15:00 +01:00
f4158e10ff
Add support for DEVICE_DETACH and DEVICE_ATTACH sysman events
...
Change-Id: I2da57ec50a0f3e87499660d37fa248a06f9fdb08
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-11-04 03:31:32 +01:00
6ab9e9f1e0
Initial support for getExternalMemoryProperties and getExtensionProperties
...
Change-Id: Ib7c75dcae10bfb34dd2f703e481ecdd768370772
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-03 16:05:25 -08:00
6c21ed1a28
Fix typo in BB test
...
Change-Id: Ib605b3f3e0ea3b9425ff17f6f81930c9993a53e5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-03 14:45:30 +01:00
87fd9b0708
Remove dead-code: OpenCL interop functions from v0.9
...
Change-Id: I4ef6eb3df8991d1ef0b6f07f81655496914cf396
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-03 14:22:24 +01:00
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
3e5f3fe055
Fixed AppendMemoryFill for alignment, multi kernel execution, memory overrun
...
- Fixed Memory Fill to use aligned allocations in Destination and Source
buffer kernel arguments to ensure proper alignment of memory in the
surface state.
- Fixed patternSize == 1 case where simd size is > the size being
written resulting in the inital kernel append with group count of 0 and
the remainder kernel being executed incorrectly.
- Fixed offset calculation in the remainder kernel to be based off of
the aligned allocation offset.
- Fixed memory overrun case where size < patternsize with the minimum
size being used in the kernel.
Change-Id: I39bd83b3a83ceb6df05d374238f85f7fdf0bd09a
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-11-02 16:49:12 -08:00
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
d181a2e5a3
Fixing zeKernelGetProperties
...
Additionally, adding zell_world_jitc_ocloc BB test
Change-Id: If3b8c7e4bd4a789ec1b4f4de55ab21e91c1e7afa
2020-11-02 19:38:39 +01:00
f9e0c04b54
Fix build error in ult
...
Change-Id: I44a66975df4d12e68b967f5dac28cffb8a145004
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2020-11-02 18:48:33 +01:00
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
17b2a29945
Remove incorrect UNRECOVERABLE_IF()
...
Change-Id: I5d56fcff8ca2449404c30b89d54f631b1da3db87
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-30 17:42:57 +01:00
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
17970ad5e7
Add sysman handles for subdevice only after subdevices are created
...
Move location of assigning sysman handles, such that sysman handle
will be assigned to device and then assign that sysman handle
to subdevices of that device.
Change-Id: Ia606954a866c491e45803b903c8419ee09b1a939
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-10-30 09:45:08 +01:00
3e4079574c
Reduce number of devices is multidevice fixture
...
Change-Id: I3269d9938f5842da87d2c2effef9e54286b3c0b5
2020-10-29 21:11:58 +01:00
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
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
2fe425dc22
Improve thread private data destructor to be more robust
...
These changes make the at-exit processing of destructors
less sensitive to the order in which destructors are
called.
Without this change, if the destructor for the
list of thread private data pointers is called first,
then the thread private data destructor will segfault.
Change-Id: I4767de682eacf32bba874555532d043415bbea61
Signed-off-by: davidoli <david.olien@intel.com >
2020-10-29 12:22:14 +01:00
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
e3ef10d57e
Update Level Zero BUILD.md file
...
This to reflect current name for basic sample, zello_world_gpu.
Also, modify this sample to return vendorId in hexadecimal format.
Change-Id: If073648e436b607125a9f4176db640d070f7f7f3
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-29 11:12:13 +01:00
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
4e4affe53b
Modify tdp sysfs path
...
Change-Id: Ie387a96f67b5760d8f1e359eea61c66aec631afd
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com >
2020-10-29 10:33:23 +01:00
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