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
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
Kamil Diedrich
960860e4cb
Fix reservation size
...
Change-Id: I1cc3d4405b00365908c5915c9d2a1c512d572530
2020-10-08 10:57:08 +02:00
Kamil Diedrich
67e2853857
Add missing mockable_virtual in code
...
Change-Id: Ia8d041b68163a99cf4e9e399e825d39798425544
2020-10-07 14:25:04 +02:00
Kamil Diedrich
ce7e293a99
Extend scratch implementation
...
Change-Id: I1bbc0c9be287b1411276b1e61a7ec1c8db238f3f
2020-10-07 11:39:04 +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
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
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
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
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
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
Jaroslaw Chodor
746cf7fd33
Reuse old build options if new ones are NULL
...
Change-Id: I435e7ec8554b0429dcf4f6f8d9d4fd80e70b68c6
2020-10-04 16:54:02 +02:00
Jaroslaw Chodor
df2e76f526
Fixing residency of extern device functions
...
Change-Id: Icad696cbf6fb3fc0276f0d0d488bf92091525d9b
2020-10-02 12:27:59 +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
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
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
mraghuwa
78feb47d6c
Add subdevice support for standby
...
Change-Id: I4209d11a8305ba524e56cddbee5ad3432b32554f
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com >
2020-09-30 15:03:14 +02:00
Jaime Arteaga
3015b95752
Revert "Link zello samples to ze_loader"
...
This reverts commit d0e1d5cffb .
Change-Id: Id66620e50e770492e4fa99e734eaf2b39729210f
2020-09-29 10:14:36 -07:00
Vinod Tipparaju
deb4cc2444
Reset cmdList - genericMediaStateClear not required during programSBA
...
This resolved regressions on Linux/ Windows for SYCL/L0 applications.
Change-Id: I26bd75a0473a5ceace1321d6b3f9613ce2cc5d9d
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-09-29 17:09:44 +02:00
Jitendra Sharma
77f88f9a96
Add Subdevice support for sysman scheduler API
...
Change-Id: I7b2222645d93346cfd3bfd3b6561dbe21154b61f
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-09-29 16:30:20 +02:00
SaiKishore Konda
e28f937683
Add SubDevice support for Sysman Memory module
...
Change-Id: Iec5918486fc2c00e14de074aca18e6de63ba1600
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com >
2020-09-29 11:36:21 +02:00
Daniel Enriquez
2d27570292
Fix current voltage unit problem, returning Volts now.
...
Change-Id: I257e431f5dbc4d71191ce50750791746d8bba8d9
2020-09-29 01:48:35 -07:00
Maciej Plewka
e34c319ed7
Special address pool at External heap begining
...
Change-Id: I7da6e67010ff7a819aec25abea9213b6e43e348e
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-09-29 07:51:12 +02:00
Aravind Gopalakrishnan
79498dee93
Write global timestamp for copy engine
...
Change-Id: I6953ed787d7e21defcec07549c436c8b280be521
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-09-28 21:45:53 +02:00
Jaime Arteaga
d0e1d5cffb
Link zello samples to ze_loader
...
And make L0 Core samples to be built on Debug, as it is with
zello_sysman
Change-Id: Ie1e6b0a766237006916769e7347fcd2219058e2b
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-28 20:09:35 +02:00
Bartosz Dunajski
55bd544402
Lazy evaluate arguments of printDebugStrings(...) function
...
Change-Id: Ie44e109fd9235c5df32fb90b9e6fc6058e558a99
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-25 18:38:58 +02:00
Sebastian Luzynski
d24850cff3
Alter API with additional kernel exec info.
...
Related-To: NEO-4875
Change-Id: I10a5e3bfc32be520c3554c992dc36591fc1ff599
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2020-09-25 13:00:24 +02:00
Jim Snow
9f858c29a2
Enable internal image creation to return error codes
...
Change-Id: I20f28b57f3cd96245ce2dc1657ef2b40e63c0bc0
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-09-25 12:07:07 +02:00
Spruit, Neil R
7ea864cbd2
Update Kernel Buffer Argument given nullptr value assignment
...
- Given a nullptr Arg Buffer value, the argument value in cross thread
data must be updated to be a nullptr value especially given the argument
could have been set previously to a buffer that may not exist or should
not be used during this call to the kernel
Change-Id: Ie3a03ce25a4bb0b5e186863cc912a55863d0fb69
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-09-25 00:43:00 +02:00
Vinod Tipparaju
8d0df0c8a7
Reset cmdList - Fix to set genericMediaStateClear bit during programSBA
...
This resolves corruptions by flushing ID cache on HW
Change-Id: I56919360ac126cec67c5cbcf6380acfd72e0bcdb
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-09-24 13:42:04 +02:00
Aravind Gopalakrishnan
72c91c2f13
Do not program SBA for copy engine
...
Doing so causes hangs when reusing a copy command list
Change-Id: I1bd069942e9caee01636497f992dd35cbedcde1b
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-09-23 08:31:21 -07:00
Bartosz Dunajski
bb788b4cc4
Copy ISA on CPU if BCS is not supported
...
Change-Id: I18b0bea70a0104dfa3f930ee360b9967f8d615be
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-23 16:47:02 +02:00
Kanhaiya
723e852c09
Moved all the constants used in sysman to the single header file
...
Change-Id: I0bfa02e68c9aba1cc5d3105c37630b30b03e1b54
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com >
2020-09-23 14:35:13 +02:00
Bartosz Dunajski
2a69b1ed78
Select correct heap base address for ISA
...
Change-Id: I400f965faa4615519729756daa78350a46c46ff2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-23 14:21:22 +02:00
Kamil Diedrich
877a781696
Add engine type to commandList
...
Change-Id: I108fc027dd4698ebecb224c20b92f2b741698f3c
2020-09-23 09:46:53 +02:00
Zbigniew Zdanowicz
03c8bbf054
Use non-coherent buffers as kernel args in L0
...
Change-Id: I78f699779d65b694fa8de82c8e19dc07f7c176c3
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-23 07:16:13 +02:00
Bartosz Dunajski
9a29a75600
Use BCS to copy ISA if required - part 2
...
Change-Id: I8a06433640cb3ce6de8f1e1a367501572a6f77de
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-22 10:43:12 +02:00
Aravind Gopalakrishnan
2e912aff52
Add device capability for timestamp valid bits
...
Change-Id: Ib4a0f4ce80f0fc3649f366ceb458e8f506a97e34
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-09-21 18:15:54 +02:00
Mateusz Hoppe
7fdfa870fe
Enhance module unit tests
...
Change-Id: I0952b0c4c3872a719afbc95646fcb79e84eca938
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-21 17:15:36 +02:00
Bartosz Dunajski
5b31b31734
Remove low priority and internal engine index variables
...
Change-Id: I984dbcedd5456cfdee284f4d2eda1371ba77f0d0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-21 16:44:14 +02:00
Mateusz Jablonski
83ed9d9ee4
Minor cleanup around L0 Fence
...
remove duplicated functions
Change-Id: I815221835b87ab05317b2ac4436ea1321ccd7cab
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-20 21:18:35 +02:00
Jitendra Sharma
13b8929832
Retrieve Sysman engine property onSubdevice/subdeviceId field
...
Change-Id: Ifc26cbe1d6398d0c08a0e52c39936c517efca43e
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-09-20 07:00:21 +02:00
Daniel Enriquez
f0907361ff
Adding Frequency Support for Windows in Level 0 Sysman
...
Change-Id: I8dbf67b0a6f88379a3da304e01a8f102e2027dd1
2020-09-19 08:30:13 +02:00
Mateusz Jablonski
69ea73cba0
Remove not used function
...
Change-Id: I4596394736a3d55a9ce449eee151dc84ffe29d72
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-18 13:33:07 +02:00
Lukasz Jobczyk
b81a78d0e9
Evict USM cpu allocation after migration
...
Related-To: NEO-5007
Change-Id: I3c91af3ca22cb6233d530b252cc0c75d8fc2f8b5
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-18 13:01:45 +02:00